]> asedeno.scripts.mit.edu Git - linux.git/commit
mlxsw: spectrum: Store pointer to default port VLAN in port struct
authorIdo Schimmel <idosch@mellanox.com>
Thu, 20 Dec 2018 19:42:30 +0000 (19:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Dec 2018 23:48:54 +0000 (15:48 -0800)
commit346fca3b58cbe0505f4328276e46e22ffc9a11d8
treeea1a75af03e5958e12ef2618a5a2a1362e167e58
parentab6c3b79ec7b1d10cec411015eb5a7599e2b7e52
mlxsw: spectrum: Store pointer to default port VLAN in port struct

Subsequent patches will need to access the default port VLAN. Since this
VLAN will exist throughout the lifetime of the port, simply store it in
the port's struct.

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