diff options
author | Petr Machata <petrm@mellanox.com> | 2018-12-07 19:55:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-07 12:59:08 -0800 |
commit | 8a5969d8a83d86f3542355eedcad67d47feafdab (patch) | |
tree | a6dc619dbb27695ba78669827ba2120063ee2ea1 /tools/testing/selftests/tc-testing/plugin-lib/valgrindPlugin.py | |
parent | 83de78831b99582c0de13d7d2a5849b6bab962c8 (diff) | |
download | linux-8a5969d8a83d86f3542355eedcad67d47feafdab.tar.gz linux-8a5969d8a83d86f3542355eedcad67d47feafdab.tar.bz2 linux-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 'tools/testing/selftests/tc-testing/plugin-lib/valgrindPlugin.py')
0 files changed, 0 insertions, 0 deletions