OpenCloudOS-Kernel/drivers/infiniband/hw
Ilpo Järvinen 69319be69f RDMA/hfi1: Use FIELD_GET() to extract Link Width
[ Upstream commit 8bf7187d978610b9e327a3d92728c8864a575ebd ]

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>
2023-11-28 17:19:42 +00:00
..
bnxt_re RDMA/bnxt_re: Decrement resource stats correctly 2023-09-21 11:56:23 +03:00
cxgb4 RDMA/cxgb4: Check skb value for failure to allocate 2023-09-11 14:55:53 +03:00
efa RDMA/efa: Fix wrong resources deallocation order 2023-08-22 17:21:53 +03:00
erdma RDMA/erdma: Fix NULL pointer access in regmr_cmd 2023-09-18 10:42:19 +03:00
hfi1 RDMA/hfi1: Use FIELD_GET() to extract Link Width 2023-11-28 17:19:42 +00:00
hns RDMA/hns: Fix init failure of RoCE VF and HIP08 2023-11-20 11:59:21 +01:00
irdma v6.6 merge window RDMA pull request 2023-09-01 16:49:33 -07:00
mana RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescing 2023-06-01 12:52:01 -03:00
mlx4 IB/mlx4: Fix the size of a buffer in add_port_entries() 2023-09-23 21:53:24 +03:00
mlx5 IB/mlx5: Fix init stage error handling to avoid double free of same QP and UAF 2023-11-20 11:59:23 +01:00
mthca v6.6 merge window RDMA pull request 2023-09-01 16:49:33 -07:00
ocrdma RDMA: Remove unnecessary ternary operators 2023-07-31 15:16:12 +03:00
qedr RDMA: Remove unnecessary ternary operators 2023-07-31 15:16:12 +03:00
qib v6.6 merge window RDMA pull request 2023-09-01 16:49:33 -07:00
usnic mm/gup: remove vmas parameter from pin_user_pages() 2023-06-09 16:25:26 -07:00
vmw_pvrdma RDMA/vmw_pvrdma: Remove unnecessary check on wr->opcode 2023-06-09 14:11:53 -03:00
Makefile RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter 2022-11-11 11:40:09 +02:00