diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2016-06-21 00:04:09 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-06-21 12:02:49 +0300 |
| commit | c7e920b5be6b2deaef51ae65a9ce18da3c8fa7da (patch) | |
| tree | c2ebd536d9df6537d0d9692cdd0e36d56148cd06 /tools/perf/scripts/python | |
| parent | 47a0a9e6c38325028d8fa4eb764687fbeaee8ef2 (diff) | |
| download | linux-c7e920b5be6b2deaef51ae65a9ce18da3c8fa7da.tar.xz | |
mlxsw: spectrum: Use only one function to create vFIDs
Simplify the code and use only one function for vFID creation /
destruction.
Unlike before, the function receives a FID index as its argument and not
a vFID index. Instead of passing 0, now one would need to pass 4K, which
is the first vFID.
This is the first step in creating a generic FID struct that will be
used for all three types of FIDs.
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
