acrn-kernel/drivers/infiniband/hw
Dean Luick 2ec4d5ef08 IB/hfi1: Update RMT size calculation
[ Upstream commit 892ede5a77 ]

Fix possible RMT overflow:  Use the correct netdev size.
Don't allow adjusted user contexts to go negative.

Fix QOS calculation: Send kernel context count as an argument since
dd->n_krcv_queues is not yet set up in earliest call.  Do not include
the control context in the QOS calculation.  Use the same sized
variable to find the max of krcvq[] entries.

Update the RMT count explanation to make more sense.

Signed-off-by: Dean Luick <dean.luick@cornelisnetworks.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Link: https://lore.kernel.org/r/167329106946.1472990.18385495251650939054.stgit@awfm-02.cornelisnetworks.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 13:55:32 +01:00
..
bnxt_re
cxgb4 iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry() 2023-03-10 09:33:39 +01:00
efa
erdma RDMA/erdma: Fix refcount leak in erdma_mmap 2023-03-10 09:33:28 +01:00
hfi1 IB/hfi1: Update RMT size calculation 2023-03-11 13:55:32 +01:00
hns RDMA/hns: Fix refcount leak in hns_roce_mmap 2023-03-10 09:33:29 +01:00
irdma RDMA/irdma: Cap MSIX used to online CPUs + 1 2023-03-10 09:33:36 +01:00
mlx4
mlx5
mthca
ocrdma
qedr
qib
usnic RDMA/usnic: use iommu_map_atomic() under spin_lock() 2023-02-14 19:11:43 +01:00
vmw_pvrdma
Makefile