diff options
author | Ido Schimmel <idosch@mellanox.com> | 2016-06-20 23:04:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-21 05:02:50 -0400 |
commit | 41b996cc94c7e7f8567585d05ea1d52a3a181146 (patch) | |
tree | 738ee0580c06efb58778a6995cf8405294889135 /samples | |
parent | 6381b3a85feba85bba671a2f1299550e43a7abb1 (diff) | |
download | linux-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