]> git.baikalelectronics.ru Git - kernel.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)
commit297ad1e9271fe58495cd29c290820fac8b8c51ce
tree8206bfdb592714cbfe06e38d49a426ede562b7c6
parentc52d5b97cfc428548ff7ca16c4c6c5f10b516385
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: 91747a7223b2 ("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