linux-stable/drivers/infiniband/hw/hns
Yixing Liu faa63656fc RDMA/hns: Add new command to support query vf caps
The current resource query for vf caps is driven by the driver,
which is unreasonable.

This patch adds a new command HNS_ROCE_OPC_QUERY_VF_CAPS_NUM
to support obtaining vf caps information from firmware.

Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Link: https://lore.kernel.org/r/20230304091555.2241298-2-xuhaoyue1@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-03-14 11:57:56 +02:00
..
hns_roce_ah.c treewide: use get_random_u32_inclusive() when possible 2022-11-18 02:18:02 +01:00
hns_roce_alloc.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cmd.c RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_cmd.h RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_common.h RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cq.c RDMA/hns: Unified Log Printing Style 2022-09-27 10:15:25 -03:00
hns_roce_db.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_device.h RDMA/hns: Support cqe inline in user space 2023-01-09 10:45:28 -04:00
hns_roce_hem.c RDMA/hns: Unified Log Printing Style 2022-09-27 10:15:25 -03:00
hns_roce_hem.h RDMA/hns: Remove redundant 'phy_addr' in hns_roce_hem_list_find_mtt() 2022-09-27 10:15:25 -03:00
hns_roce_hw_v2.c RDMA/hns: Add new command to support query vf caps 2023-03-14 11:57:56 +02:00
hns_roce_hw_v2.h RDMA/hns: Add new command to support query vf caps 2023-03-14 11:57:56 +02:00
hns_roce_main.c RDMA/hns: Support cqe inline in user space 2023-01-09 10:45:28 -04:00
hns_roce_mr.c RDMA/hns: fix memory leak in hns_roce_alloc_mr() 2022-11-22 16:20:08 +02:00
hns_roce_pd.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_qp.c RDMA/hns: Add compatibility handling for only support userspace rq inline 2023-01-09 10:45:28 -04:00
hns_roce_restrack.c RDMA/hns: Support MR's restrack raw ops for hns driver 2022-08-24 08:47:18 +03:00
hns_roce_srq.c RDMA/hns: Refactor the alloc_srqc() 2022-03-04 17:36:32 -04:00
Kconfig RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
Makefile RDMA/hns: Remove redundant DFX file and DFX ops structure 2022-08-23 11:34:42 +03:00