summaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-01-18 15:58:00 +0000
committerDavid S. Miller <davem@davemloft.net>2019-01-18 15:12:16 -0800
commit710ae72877378e7cde611efd30fe90502a6e5b30 (patch)
tree842b827f48634824c6bbae57d94e85ea20ccef35 /drivers/pwm
parenta11dcd6497915ba79d95ef4fe2541aaac27f6201 (diff)
downloadlinux-710ae72877378e7cde611efd30fe90502a6e5b30.tar.bz2
net: bridge: Mark FDB entries that were added by user as such
Externally learned entries can be added by a user or by a switch driver that is notifying the bridge driver about entries that were learned in hardware. In the first case, the entries are not marked with the 'added_by_user' flag, which causes switch drivers to ignore them and not offload them. The 'added_by_user' flag can be set on externally learned FDB entries based on the 'swdev_notify' parameter in br_fdb_external_learn_add(), which effectively means if the created / updated FDB entry was added by a user or not. Fixes: 816a3bed9549 ("switchdev: Add fdb.added_by_user to switchdev notifications") Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reported-by: Alexander Petrovskiy <alexpe@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Cc: Roopa Prabhu <roopa@cumulusnetworks.com> Cc: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Cc: bridge@lists.linux-foundation.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions