diff options
author | 2016-06-20 23:04:16 +0200 | |
---|---|---|
committer | 2016-06-21 05:02:50 -0400 | |
commit | 6381b3a85feba85bba671a2f1299550e43a7abb1 (patch) | |
tree | 79dd8947d37919c052b120b7b6f93148d8618c80 /net/tipc | |
parent | mlxsw: spectrum: Use per-FID struct for the VLAN-aware bridge (diff) | |
download | wireguard-linux-6381b3a85feba85bba671a2f1299550e43a7abb1.tar.xz wireguard-linux-6381b3a85feba85bba671a2f1299550e43a7abb1.zip |
mlxsw: spectrum: Check if port is vPort using its VID
When L3 interfaces will be introduced a vPort won't necessarily have a
FID assigned to it. This can happen if it's not member in a bridge (in
which case it's assigned a vFID) or doesn't have an IP address (in which
case it's assigned an rFID).
Therefore, instead check the VID parameter to test whether a port is a
vPort or not.
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>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions