mlxsw: reg: Add Switch Virtual-Port Enabling register definition
authorIdo Schimmel <idosch@mellanox.com>
Fri, 16 Oct 2015 12:01:34 +0000 (14:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Oct 2015 14:15:20 +0000 (07:15 -0700)
commit1f65da742d15462786533cf3ea58335aa32e3daa
treef67b32a9d30de74c9f9b9f9e2cabc2e761225a1a
parent647902397663468c2feefa9cd8097e194802a0b3
mlxsw: reg: Add Switch Virtual-Port Enabling register definition

In order for a port to support {Port, VID} to FID mapping it needs to be
configured to a virtual port mode (as opposed to VLAN mode).

Add the SVPE register, which enables port virtualization.

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