[PATCH for-rc 0/3] RDMA/hns: Improvements for function resource configuration

From: Junxian Huang
Date: Wed Jul 12 2023 - 02:03:29 EST


Here are 3 patches involving function resource configuration.

1. #1: The first patch supports getting xrcd num from firmware.

2. #2: The second patch removes a redundant configuration in driver,
which is now handled by firmware.

3. #3: The third patch adds validity check for function resource and
adjusts the invalid ones.

Junxian Huang (2):
RDMA/hns: Remove VF extend configuration
RDMA/hns: Add check and adjust for function resource values

Luoyouming (1):
RDMA/hns: support get xrcd num from firmware

drivers/infiniband/hw/hns/hns_roce_device.h | 1 -
drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 195 ++++++++++++--------
drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 50 +++--
3 files changed, 158 insertions(+), 88 deletions(-)

--
2.30.0