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. V2 removes 'inline' before function names in the third patch. 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 | 194 ++++++++++++-------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 50 +++-- 3 files changed, 157 insertions(+), 88 deletions(-) -- 2.30.0