OSDN Git Service

IB/hfi1: Split IB counter allocation
authorDean Luick <dean.luick@cornelisnetworks.com>
Mon, 9 Jan 2023 19:04:24 +0000 (14:04 -0500)
committerLeon Romanovsky <leon@kernel.org>
Tue, 10 Jan 2023 10:52:35 +0000 (12:52 +0200)
commitef90f0a1913e8b60101c374010847615172a77d1
treec6b36d03f66413c8ba50882023acf638e603b65f
parent845127ed8717e0340c022ef1fd646ed4694d9c7b
IB/hfi1: Split IB counter allocation

Split the IB device and port counter allocation.  Remove
the need for a lock.  Clean up pointer usage.

Signed-off-by: Dean Luick <dean.luick@cornelisnetworks.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Link: https://lore.kernel.org/r/167329106431.1472990.12587703493884915680.stgit@awfm-02.cornelisnetworks.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hfi1/verbs.c