aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2021-06-17 15:32:56 +0300
committerSaeed Mahameed <[email protected]>2021-08-16 16:17:30 -0700
commit4de20e9a1225866a9a2ac2e12cddee51455991fa (patch)
tree9bcf4546df4fc4a075dc666c150584fd9457aeca /tools/perf/scripts/python
parentec60c4581bd952296c1f81115eabd0a570042458 (diff)
net/mlx5: Bridge, release bridge in same function where it is taken
Refactor mlx5_esw_bridge_vport_link() to release the bridge instance if mlx5_esw_bridge_vport_init() returned an error instead of relying on it to release the bridge. This improves the design because object instance is taken and released in same layer and simplifies following patches that add more logic to mlx5_esw_bridge_vport_link(). Signed-off-by: Vlad Buslov <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions