aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/counters.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-07-23 10:31:17 +0300
committerDoug Ledford <dledford@redhat.com>2019-07-29 11:33:28 -0400
commit3e1f000ff74627c1adb99ee513f29ec2522ee309 (patch)
tree4d2c800a07d8ec9629a425166c44fb799ff31706 /drivers/infiniband/core/counters.c
parentIB/mlx5: Refactor code for counters allocation (diff)
downloadlinux-dev-3e1f000ff74627c1adb99ee513f29ec2522ee309.tar.xz
linux-dev-3e1f000ff74627c1adb99ee513f29ec2522ee309.zip
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 'drivers/infiniband/core/counters.c')
0 files changed, 0 insertions, 0 deletions