aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2021-07-18 18:55:45 +0300
committerSaeed Mahameed <[email protected]>2021-08-16 16:17:30 -0700
commita514d17350597dea242c5486ef70a9ec013c1182 (patch)
tree7d8c739457b4ca9b541e16f74895c0fca49d28d9 /tools/perf/scripts/python/bin
parent4de20e9a1225866a9a2ac2e12cddee51455991fa (diff)
net/mlx5: Bridge, obtain core device from eswitch instead of priv
Following patches in series will pass bond device to bridge, which means the code can't assume the device is mlx5 representor. Moreover, the core device can be easily obtained from eswitch instance, so there is no reason for more complex code that obtains struct mlx5_priv from net_device in order to use its mdev. Refactor the code to use esw->dev instead of priv->mdev. 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/bin')
0 files changed, 0 insertions, 0 deletions