]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: reg: Add Switch Port VLAN MAC Learning register definition
authorIdo Schimmel <idosch@mellanox.com>
Fri, 16 Oct 2015 12:01:36 +0000 (14:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Oct 2015 14:15:22 +0000 (07:15 -0700)
commit0ae95ebef748464c55bbc002f4c2651c0a82164d
tree7b8cab853ff12318876dac3ddbd451cea3a24392
parente52cbb8da492b605ca2b3de4fbaa100c57b41afd
mlxsw: reg: Add Switch Port VLAN MAC Learning register definition

Since we currently do not support the offloading of 802.1D bridges, we
need to be able to let the device know it should not learn MAC addresses
on specific {Port, VID} pairs.

Add the SPVMLR register, which controls the learning enablement of
{Port, VID} pairs.

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