]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_nve: Add mlxsw_sp_nve_ops.fdb_replay
authorPetr Machata <petrm@mellanox.com>
Fri, 7 Dec 2018 19:55:12 +0000 (19:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2018 20:59:08 +0000 (12:59 -0800)
commit4b0f307ffa7025c1b6cbd9c460583b017c267c75
tree91a981c8aad536a74b2121913d4b1247f0aceba9
parent18e3386101cb2850b01c8febe99574e088e695b7
mlxsw: spectrum_nve: Add mlxsw_sp_nve_ops.fdb_replay

A replay of FDB needs to be performed so that the FDB entries existing
at the NVE device are offloaded. How the replay is done depends on NVE
device type, and therefore add a per-NVE-type operation.

Implement the operation for the sole NVE device type currently supported
by mlxsw, VXLAN.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c