diff options
author | Ido Schimmel <idosch@mellanox.com> | 2016-06-20 23:04:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-21 05:02:50 -0400 |
commit | 6381b3a85feba85bba671a2f1299550e43a7abb1 (patch) | |
tree | 79dd8947d37919c052b120b7b6f93148d8618c80 /fs/ioctl.c | |
parent | 14d39461b3f4f0f827db64a2f1fc7bc44c452684 (diff) | |
download | linux-6381b3a85feba85bba671a2f1299550e43a7abb1.tar.bz2 |
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 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions