commit | 43920edf3b24b0a3d136019c816e84ffcbef83ab | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Fri Dec 07 19:55:07 2018 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 07 12:59:08 2018 -0800 |
tree | fca00c929de803dcf1e8762ebda6bab60860a4c3 | |
parent | e5ff4b1952893fb75aa75067fce31c8567341ed7 [diff] |
bridge: Add br_fdb_clear_offload() When a driver unoffloads all FDB entries en bloc, it's inefficient to send the switchdev notification one by one. Add a helper that unsets the offload flag on FDB entries on a given bridge port and VLAN. Signed-off-by: Petr Machata <petrm@mellanox.com> Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>