linux-stable/include/linux/mlx5
Mark Bloch 3e358ea861 RDMA/mlx5: Fix flow counter query via DEVX
Commit cited in "fixes" tag added bulk support for flow counters but it
didn't account that's also possible to query a counter using a non-base id
if the counter was allocated as bulk.

When a user performs a query, validate the flow counter id given in the
mailbox is inside the valid range taking bulk value into account.

Fixes: 208d70f562 ("IB/mlx5: Support flow counters offset for bulk counters")
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Link: https://lore.kernel.org/r/79d7fbe291690128e44672418934256254d93115.1681377114.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-04-18 08:47:10 +03:00
..
cq.h
device.h mlx5-next-netdev-deadlock 2023-02-08 21:01:17 -08:00
doorbell.h
driver.h v6.3 RDMA pull request 2023-02-24 15:11:03 -08:00
eq.h
eswitch.h
fs.h Merge branch 'mlx5-next' of https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2023-02-16 11:36:14 -08:00
fs_helpers.h net/mlx5: Remove unused functions 2022-09-27 12:50:27 -07:00
mlx5_ifc.h RDMA/mlx5: Fix flow counter query via DEVX 2023-04-18 08:47:10 +03:00
mlx5_ifc_fpga.h net/mlx5: Remove from FPGA IFC file not-needed definitions 2022-09-27 12:50:27 -07:00
mlx5_ifc_vdpa.h vdpa/mlx5: Implement susupend virtqueue callback 2022-08-11 04:26:08 -04:00
mpfs.h
port.h
qp.h net/mlx5: Change define name for 0x100 lkey value 2023-02-17 16:22:22 -04:00
rsc_dump.h
transobj.h
vport.h net/mlx5: Add generic getters for other functions caps 2022-12-07 20:09:18 -08:00