]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit597f3f4eae998c6e62dbea1443e356a280179ce3
tree1b0f82f9a9114b3aefec9ec97f9cc8b7e2a81b82
parent260001e3800b5fdc91f706ba751bc616e0231ab1
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