diff options
author | Ido Schimmel <[email protected]> | 2016-06-20 23:04:10 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-06-21 05:02:49 -0400 |
commit | 9c4d442314e0dcc0ba82dfa3850ef938af123a02 (patch) | |
tree | 2541e3ad99b4336ca7d64701f30d7115f95d3a3f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c7e920b5be6b2deaef51ae65a9ce18da3c8fa7da (diff) |
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 <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions