linux/drivers/infiniband/hw
Ilpo Järvinen f1521fe0b4 RDMA/hfi1: Use FIELD_GET() to extract Link Width
[ Upstream commit 8bf7187d97 ]

Use FIELD_GET() to extract PCIe Negotiated Link Width field instead of
custom masking and shifting, and remove extract_width() which only
wraps that FIELD_GET().

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230919125648.1920-2-ilpo.jarvinen@linux.intel.com
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dean Luick <dean.luick@cornelisnetworks.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-11-28 17:06:59 +00:00
..
bnxt_re RDMA/bnxt_re: Prevent handling any completions after qp destroy 2023-08-03 10:24:04 +02:00
cxgb4 RDMA/cxgb4: Check skb value for failure to allocate 2023-10-19 23:08:49 +02:00
efa RDMA/efa: Fix wrong resources deallocation order 2023-09-13 09:42:57 +02:00
erdma RDMA/erdma: Use fixed hardware page size 2023-05-11 23:03:33 +09:00
hfi1 RDMA/hfi1: Use FIELD_GET() to extract Link Width 2023-11-28 17:06:59 +00:00
hns RDMA/hns: The UD mode can only be configured with DCQCN 2023-11-20 11:52:06 +01:00
irdma RDMA/irdma: Prevent zero-length STAG registration 2023-09-13 09:42:56 +02:00
mlx4 IB/mlx4: Fix the size of a buffer in add_port_entries() 2023-10-10 22:00:44 +02:00
mlx5 IB/mlx5: Fix init stage error handling to avoid double free of same QP and UAF 2023-11-20 11:52:08 +01:00
mthca RDMA/mthca: Fix crash when polling CQ for shared QPs 2023-08-03 10:24:03 +02:00
ocrdma IB: move from strlcpy with unused retval to strscpy 2022-08-21 14:18:02 +03:00
qedr RDMA/qedr: clean up work queue on failure in qedr_alloc_resources() 2022-10-28 12:59:40 -03:00
qib RDMA/qib: fix repeated words in comments 2022-09-20 14:11:14 +03:00
usnic RDMA/usnic: use iommu_map_atomic() under spin_lock() 2023-02-14 19:11:43 +01:00
vmw_pvrdma RDMA/pvrdma: Remove useless DMA-32 fallback configuration 2022-01-28 10:49:04 -04:00
Makefile RDMA/erdma: Add driver to kernel build environment 2022-07-27 16:04:05 -03:00