diff options
author | Parav Pandit <parav@mellanox.com> | 2019-07-23 10:31:17 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-07-29 11:33:28 -0400 |
commit | 3e1f000ff74627c1adb99ee513f29ec2522ee309 (patch) | |
tree | 4d2c800a07d8ec9629a425166c44fb799ff31706 /include/rdma | |
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 <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Link: https://lore.kernel.org/r/20190723073117.7175-3-leon@kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions