Re: [PATCH net-next 4/5] bonding: make Kconfig toggle to disable legacy interfaces
From: Stephen Hemminger
Date: Tue Sep 22 2020 - 19:25:10 EST
On Tue, 22 Sep 2020 09:37:30 -0400
Jarod Wilson <jarod@xxxxxxxxxx> wrote:
> By default, enable retaining all user-facing API that includes the use of
> master and slave, but add a Kconfig knob that allows those that wish to
> remove it entirely do so in one shot.
>
> Cc: Jay Vosburgh <j.vosburgh@xxxxxxxxx>
> Cc: Veaceslav Falico <vfalico@xxxxxxxxx>
> Cc: Andy Gospodarek <andy@xxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
> Cc: Thomas Davis <tadavis@xxxxxxx>
> Cc: netdev@xxxxxxxxxxxxxxx
> Signed-off-by: Jarod Wilson <jarod@xxxxxxxxxx>
Why not just have a config option to remove all the /proc and sysfs options
in bonding (and bridging) and only use netlink? New tools should be only able
to use netlink only.
Then you might convince maintainers to update documentation as well.
Last I checked there were still references to ifenslave.