]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Set PVID during port initialization
authorIdo Schimmel <idosch@mellanox.com>
Thu, 20 Dec 2018 19:42:27 +0000 (19:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Dec 2018 23:48:54 +0000 (15:48 -0800)
commitd61d08e925bb91d6ba38cdd4f770d4336007784e
tree41c6d68571030c360b2bdb30e78c2eb8b4b3745d
parentd419b9ca106d3a7db297e323091d5d576b73dba6
mlxsw: spectrum: Set PVID during port initialization

Currently, the driver does not set the port's PVID when initializing a
new port. This is because the driver is using VID 1 as PVID which is the
firmware default.

Subsequent patches are going to change the PVID the driver is setting
when initializing a new port.

Prepare for that by explicitly setting the port's PVID.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c