diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2016-06-21 00:04:10 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-06-21 12:02:49 +0300 |
| commit | 9c4d442314e0dcc0ba82dfa3850ef938af123a02 (patch) | |
| tree | 2541e3ad99b4336ca7d64701f30d7115f95d3a3f /tools/perf/scripts/python | |
| parent | c7e920b5be6b2deaef51ae65a9ce18da3c8fa7da (diff) | |
| download | linux-9c4d442314e0dcc0ba82dfa3850ef938af123a02.tar.xz | |
mlxsw: spectrum: Create a function to map vPort's FID
A FID used by a vPort (vFID, but also rFID later in the series) is
always mapped using {Port, VID} and not only VID as with the 4K FIDs of
the VLAN-aware bridge.
Instead of specifying all the arguments each time, just wrap this
operation using a dedicated function and simplify the code.
As before, the function takes FID as its argument in preparation for a
generic FID struct.
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
