net: ndo_bridge_setlink: Add extack
authorPetr Machata <petrm@mellanox.com>
Wed, 12 Dec 2018 17:02:48 +0000 (17:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Dec 2018 00:34:21 +0000 (16:34 -0800)
commit2fd527b72bb6f95dfe8a1902e998cb76390c431e
tree94b0ba7d645c645a20f3310444d85977e13633d2
parent351cbde969230a072cabca9969c68ab04e58e6b3
net: ndo_bridge_setlink: Add extack

Drivers may not be able to implement a VLAN addition or reconfiguration.
In those cases it's desirable to explain to the user that it was
rejected (and why).

To that end, add extack argument to ndo_bridge_setlink. Adapt all users
to that change.

Following patches will use the new argument in the bridge driver.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/emulex/benet/be_main.c
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/ice/ice_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
include/linux/netdevice.h
net/bridge/br_netlink.c
net/bridge/br_private.h
net/core/rtnetlink.c