diff options
| author | Nogah Frankel <[email protected]> | 2017-02-09 14:54:48 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-02-10 11:46:41 -0500 |
| commit | 1e5d94327dfb0d3b877bb2a44328c0978734cfc2 (patch) | |
| tree | ef7ecfb3e48491ac1657dc21f913fa366b67b71f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 8ecd4591e7612a7ea5c67589cf1a7f18bd17ba14 (diff) | |
mlxsw: spectrum: Extend port_orig_get for bridge devices
The function mlxsw_sp_port_orig_get returns the vport from the physical
port if needed, based on the original device.
This patch addresses the case where the original device is a bridge.
If it is vlan unaware bridge, it returns the matching vport. If it is vlan
aware bridge, there is no matching vport, and it returns the original port.
Signed-off-by: Nogah Frankel <[email protected]>
Signed-off-by: Yotam Gigi <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions