]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_switchdev: Process learned VxLAN FDB entries
authorIdo Schimmel <idosch@mellanox.com>
Wed, 21 Nov 2018 08:02:47 +0000 (08:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Nov 2018 01:10:31 +0000 (17:10 -0800)
commitde74f02999045100860ddf3ec36650f5a3ced754
tree498c343e1265943f1d6dd827360790133f2c79f1
parenteb55e2fb41059db6ee60fd3fbde16442f793337e
mlxsw: spectrum_switchdev: Process learned VxLAN FDB entries

Start processing two new entry types in addition to current ones:
* Learned unicast tunnel entry
* Aged-out unicast tunnel entry

In both cases the device reports on a new {MAC, FID, IP address} tuple
that was learned / aged-out. Based on this notification, the driver
instructs the device to add / delete the entry to / from its database.

The driver also makes sure to notify the bridge and VxLAN drivers about
the new entry.

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/spectrum_switchdev.c