diff options
| author | Parav Pandit <[email protected]> | 2019-07-23 10:31:17 +0300 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2019-07-29 11:33:28 -0400 |
| commit | 3e1f000ff74627c1adb99ee513f29ec2522ee309 (patch) | |
| tree | 4d2c800a07d8ec9629a425166c44fb799ff31706 /tools/perf/scripts/python | |
| parent | 5dcecbc96755793e9417a9135b290d16639ec6aa (diff) | |
IB/mlx5: Support per device q counters in switchdev mode
When parent mlx5_core_dev is in switchdev mode, q_counters are not
applicable to multiple non uplink vports.
Hence, have make them limited to device level.
While at it, correct __mlx5_ib_qp_set_counter() and
__mlx5_ib_modify_qp() to use u16 set_id as defined by the device.
Signed-off-by: Parav Pandit <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions