diff options
author | Petr Machata <petrm@mellanox.com> | 2018-12-12 18:02:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-13 01:34:21 +0100 |
commit | 2fd527b72bb6f95dfe8a1902e998cb76390c431e (patch) | |
tree | 94b0ba7d645c645a20f3310444d85977e13633d2 /drivers/net/ethernet/emulex | |
parent | bnxt: remove printing of hwrm message (diff) | |
download | linux-2fd527b72bb6f95dfe8a1902e998cb76390c431e.tar.xz linux-2fd527b72bb6f95dfe8a1902e998cb76390c431e.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 245abf0d19c0..852f5bfe5f6d 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -4955,7 +4955,7 @@ fw_exit: } static int be_ndo_bridge_setlink(struct net_device *dev, struct nlmsghdr *nlh, - u16 flags) + u16 flags, struct netlink_ext_ack *extack) { struct be_adapter *adapter = netdev_priv(dev); struct nlattr *attr, *br_spec; |