]> git.baikalelectronics.ru Git - kernel.git/commit
rocker: install untagged VLAN (vid=0) support for each port
authorScott Feldman <sfeldma@gmail.com>
Mon, 1 Jun 2015 18:39:04 +0000 (11:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2015 00:00:09 +0000 (17:00 -0700)
commit12596855bf62b1c8261442efb7d44a93f9063550
tree7ad4a3c30f5c8c6107ae519dc1c823a00351bfa5
parenta5623505201f06bbbd69f970b9b7468ec8bc16aa
rocker: install untagged VLAN (vid=0) support for each port

On port probe, install by default untagged VLAN support.  This is
equivalent to running the command:

bridge vlan add vid 0 dev DEV self

A user could, if they wanted, manaully removing untagged support from the
port by running the command:

bridge vlan del vid 0 dev DEV self

But installing it by default on port initialization gives the normal
expected behavior.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c