[Bridge] [PATCH net-next 6/7] net: bridge: Notify about bridge VLANs

Nikolay Aleksandrov nikolay at cumulusnetworks.com
Fri May 25 12:08:49 UTC 2018


On 24/05/18 18:10, Petr Machata wrote:
> A driver might need to react to changes in settings of brentry VLANs.
> Therefore send switchdev port notifications for these as well. Reuse
> SWITCHDEV_OBJ_ID_PORT_VLAN for this purpose. Listeners should use
> netif_is_bridge_master() on orig_dev to determine whether the
> notification is about a bridge port or a bridge.
> 
> Signed-off-by: Petr Machata <petrm at mellanox.com>
> ---
>  net/bridge/br_vlan.c | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 

Reviewed-by: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>




More information about the Bridge mailing list