aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/forwarding/vxlan_bridge_1q.sh
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-12-07 19:55:17 +0000
committerDavid S. Miller <davem@davemloft.net>2018-12-07 12:59:08 -0800
commit8a5969d8a83d86f3542355eedcad67d47feafdab (patch)
treea6dc619dbb27695ba78669827ba2120063ee2ea1 /tools/testing/selftests/net/forwarding/vxlan_bridge_1q.sh
parentmlxsw: spectrum: Add mlxsw_sp_fid_ops.fdb_clear_offload (diff)
downloadlinux-dev-8a5969d8a83d86f3542355eedcad67d47feafdab.tar.xz
linux-dev-8a5969d8a83d86f3542355eedcad67d47feafdab.zip
mlxsw: spectrum_nve: Un/offload FDB on nve_fid_disable/enable
Any existing NVE FDB entries need to be offloaded when NVE is enabled for a given FID. Recent patches have added fdb_replay op for this, so just invoke it from mlxsw_sp_nve_fid_enable(). When NVE is disabled on a FID, any existing FDB offloaded marks need to be cleared on NVE device as well as on its bridge master. An op to handle this, fdb_clear_offload, has been added to FID ops and NVE ops in previous patches. Add code to resolve the NVE device, NVE type, and dispatch to both fdb_clear_offload ops. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions