commit | 41b996cc94c7e7f8567585d05ea1d52a3a181146 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Mon Jun 20 23:04:17 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 21 05:02:50 2016 -0400 |
tree | 738ee0580c06efb58778a6995cf8405294889135 | |
parent | 6381b3a85feba85bba671a2f1299550e43a7abb1 [diff] |
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>