OSDN Git Service

mlxsw: spectrum_switchdev: Ignore bridge VLAN events
authorPetr Machata <petrm@mellanox.com>
Wed, 30 May 2018 00:57:46 +0000 (02:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 May 2018 18:13:43 +0000 (14:13 -0400)
commitea4721751977e14bf2ba5bf6c764afb4c21354dd
tree9a68d3e24d7b340a3d784bbb7898d7fe3dc3ee2c
parentdbd6dc752c8a6de428eacad47d4fd37e52f98183
mlxsw: spectrum_switchdev: Ignore bridge VLAN events

A follow-up patch enables emitting VLAN notifications for the bridge CPU
port in addition to the existing slave port notifications. These
notifications have orig_dev set to the bridge in question.

Because there's no specific support for these VLANs, just ignore the
notifications to maintain the current behavior.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c