]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dsa: bcm_sf2: Support specifying VLAN tag egress rule
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 30 Mar 2020 21:38:54 +0000 (14:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2020 02:55:42 +0000 (19:55 -0700)
commit8b3abe304c5f1057b7bac70fd5576dfa67e3e2b3
tree13af15cfc561b76a863e585f732fba756c29c236
parent7555020c44db75a0d934dffc0aa6c678b52b2a13
net: dsa: bcm_sf2: Support specifying VLAN tag egress rule

The port to which the ASP is connected on 7278 is not capable of
processing VLAN tags as part of the Ethernet frame, so allow an user to
configure the egress VLAN policy they want to see applied by purposing
the h_ext.data[1] field. Bit 0 is used to indicate that 0=tagged,
1=untagged.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2_cfp.c