]> www.infradead.org Git - nvme.git/commit
RDMA/core: Pass port to counter bind/unbind operations
authorPatrisious Haddad <phaddad@nvidia.com>
Thu, 13 Mar 2025 14:18:44 +0000 (16:18 +0200)
committerLeon Romanovsky <leon@kernel.org>
Tue, 18 Mar 2025 10:18:46 +0000 (06:18 -0400)
commit88ae02feda84f0f78ff7243ef437e79624fdcd80
treeeaa4438813dc2d0158d8fb73655a20e339ab9b6a
parentda3711074f5252ee35d6348ca286351013f1d7fe
RDMA/core: Pass port to counter bind/unbind operations

This will be useful for the next patches in the series since port number
is needed for optional counters binding and unbinding.

Note that this change is needed since when the operation is done qp->port
isn't necessarily initialized yet and can't be used.

Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Link: https://patch.msgid.link/b6f6797844acbd517358e8d2a270ea9b3e6ecba1.1741875070.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/counters.c
drivers/infiniband/core/verbs.c
drivers/infiniband/hw/mlx5/counters.c
include/rdma/ib_verbs.h
include/rdma/rdma_counter.h