summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/pci.h
diff options
context:
space:
mode:
authorPetr Machata2019-01-17 00:06:54 +0100
committerDavid S. Miller2019-01-18 00:18:47 +0100
commit4c59b7d16096e5e2cfbc7f8cba972eb72f6b96c0 (patch)
treed0e1636f85caf6ce26ef457665f621bf9a88b818 /drivers/net/ethernet/mellanox/mlxsw/pci.h
parentmlxsw: Add extack to mlxsw_sp_nve_ops.fdb_replay (diff)
downloadkernel-qcow2-linux-4c59b7d16096e5e2cfbc7f8cba972eb72f6b96c0.tar.gz
kernel-qcow2-linux-4c59b7d16096e5e2cfbc7f8cba972eb72f6b96c0.tar.xz
kernel-qcow2-linux-4c59b7d16096e5e2cfbc7f8cba972eb72f6b96c0.zip
vxlan: Add extack to switchdev operations
There are four sources of VXLAN switchdev notifier calls: - the changelink() link operation, which already supports extack, - ndo_fdb_add() which got extack support in a previous patch, - FDB updates due to packet forwarding, - and vxlan_fdb_replay(). Extend vxlan_fdb_switchdev_call_notifiers() to include extack in the switchdev message that it sends, and propagate the argument upwards to the callers. For the first two cases, pass in the extack gotten through the operation. For case #3, pass in NULL. To cover the last case, extend vxlan_fdb_replay() to take extack argument, which might come from whatever operation necessitated the FDB replay. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/pci.h')
0 files changed, 0 insertions, 0 deletions