diff options
author | Tan Hong Hui <hhtan72@yahoo.com> | 2018-01-27 10:14:57 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-02-20 10:33:34 +0100 |
commit | 1263d07b89308dbf0330afe8cf4a33504802b028 (patch) | |
tree | 78da5e1150e2b8b7d8901d9cf9cba55c8aba27d6 /target/linux/generic/files/drivers/net/phy/ar8216.h | |
parent | e16cc7a8c8f32a0ec865d48735ac278845c6d582 (diff) | |
download | upstream-1263d07b89308dbf0330afe8cf4a33504802b028.tar.gz upstream-1263d07b89308dbf0330afe8cf4a33504802b028.tar.bz2 upstream-1263d07b89308dbf0330afe8cf4a33504802b028.zip |
kernel: ar83xx: add support to configure per port VLAN priority
Add support to allow for per switch port VLAN priority (PCP) bits
for the ar8327/8337 chip using the swconfig utility.
Tested on Netgear R7800
Signed-off-by: Tan Hong Hui <hhtan72@yahoo.com>
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/ar8216.h')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ar8216.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.h b/target/linux/generic/files/drivers/net/phy/ar8216.h index d9508b9ff8..ba0e0ddccd 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8216.h +++ b/target/linux/generic/files/drivers/net/phy/ar8216.h @@ -462,6 +462,7 @@ struct ar8xxx_priv { bool mirror_tx; int source_port; int monitor_port; + u8 port_vlan_prio[AR8X16_MAX_PORTS]; }; u32 |