]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Introduce Port-VLAN structure
authorIdo Schimmel <idosch@mellanox.com>
Fri, 26 May 2017 06:37:26 +0000 (08:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 19:18:45 +0000 (15:18 -0400)
commit2265e34bde729edc15a327f29302a1bea13cc4c2
treed6c9568f10472172e083880730ba7725402a2e6d
parenta4f411f6ad2687de20a714cac7fe7f72011ddcc2
mlxsw: spectrum: Introduce Port-VLAN structure

This is the first step in the transition from the vPort model to a
unified Port-VLAN structure. The new structure is defined and created /
destroyed upon invocation of the 8021q ndos, but it's not actually used
throughout the code.

Subsequent patches will initialize it correctly and also create /
destroy it upon switchdev's VLAN object.

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/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h