]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mlxsw: reg: Add the Switch Port Acceptable Frame Types register
authorIdo Schimmel <idosch@mellanox.com>
Thu, 18 Feb 2016 10:30:01 +0000 (11:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 15:44:26 +0000 (10:44 -0500)
commit148f472da5db4d78fcfe61807c18f020eb5bd7fc
tree8206bfdb592714cbfe06e38d49a426ede562b7c6
parent562a9f91a0300ecaaf28722f57bcdd9cd5f38f0e
mlxsw: reg: Add the Switch Port Acceptable Frame Types register

When VLAN filtering is enabled on a bridge and PVID is deleted from a
bridge port, then untagged frames are not allowed to ingress into the
bridge from this port.

Add the Switch Port Acceptable Frame Types (SPAFT) register, which
configures the frame admittance of the port.

Fixes: 56ade8fe3fe1 ("mlxsw: spectrum: Add initial support for Spectrum ASIC")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h