summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-06-20 23:04:17 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-21 05:02:50 -0400
commit41b996cc94c7e7f8567585d05ea1d52a3a181146 (patch)
tree738ee0580c06efb58778a6995cf8405294889135 /samples
parent6381b3a85feba85bba671a2f1299550e43a7abb1 (diff)
downloadlinux-41b996cc94c7e7f8567585d05ea1d52a3a181146.tar.bz2
mlxsw: spectrum: Add FID get / set functions
As previously explained, not all vPorts will be assigned FIDs, so instead of returning the FID index of a vPort, return a pointer to its FID struct. This will allow us to know whether it's legal to access the vPort's FID parameters such as index and device. 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 'samples')
0 files changed, 0 insertions, 0 deletions