diff options
author | Petr Machata <petrm@mellanox.com> | 2018-05-03 15:43:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-03 20:46:47 +0300 |
commit | 816a3bed9549fcc0c90ba97c9077e64e734f0df6 (patch) | |
tree | eff4b54b648c8b9d7c79d1592a4a18c9a435906f /COPYING | |
parent | 0e913f28ba56d29c65a95ac5d46f25c42f876db0 (diff) | |
download | linux-816a3bed9549fcc0c90ba97c9077e64e734f0df6.tar.xz |
switchdev: Add fdb.added_by_user to switchdev notifications
The following patch enables sending notifications also for events on FDB
entries that weren't added by the user. Give the drivers the information
necessary to distinguish between the two origins of FDB entries.
To maintain the current behavior, have switchdev-implementing drivers
bail out on notifications about non-user-added FDB entries. In case of
mlxsw driver, allow a call to mlxsw_sp_span_respin() so that SPAN over
bridge catches up with the changed FDB.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions