aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorParav Pandit <[email protected]>2019-04-21 20:34:45 -0500
committerSaeed Mahameed <[email protected]>2019-05-01 14:39:17 -0700
commitee813f314b2486549cd06e9e2c4d56ccab005609 (patch)
tree4226f95f72f4068bfeef2d8c9625600bbd206a6a /scripts/gdb/linux/tasks.py
parent786ef904b43b9ddb675f55ef05afad5f07fb49d0 (diff)
net/mlx5: Use available mlx5_vport struct
Several functions need to access mlx5_vport and vport_num. When these functions are called, caller already has mlx5_vport* available. Hence pass such mlx5_vport pointer. This is preparation patch to add error checks to mlx5_eswitch_get_vport() and to return error status. By doing so, reduce places where error check of mlx5_eswitch_get_vport() can be avoided. While doing such change, mlx5_eswitch_query_vport_drop_stats() gets corrected to work on vport, instead of vport_idx. Signed-off-by: Parav Pandit <[email protected]> Reviewed-by: Bodong Wang <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions