OSDN Git Service

mlxsw: reg: Extend FDB flush types for NVE
authorIdo Schimmel <idosch@mellanox.com>
Thu, 11 Oct 2018 07:47:56 +0000 (07:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 17:08:22 +0000 (10:08 -0700)
commita682a3024fe1d21653876fe2f0b231d011f6a72d
tree1b0f82f9a9114b3aefec9ec97f9cc8b7e2a81b82
parent90ea0bb551155dccb93158637edea4db5feffabd
mlxsw: reg: Extend FDB flush types for NVE

The device has the ability to flush all the FDB records that perform NVE
encapsulation or only a subset of these with a specific filtering
identifier (FID).

Expose these types so that they could be used by subsequent patches
where we need to flush the FDB records when an NVE device is unlinked
from a bridge (FID).

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h