Home
last modified time | relevance | path

Searched refs:vf_res_cnt (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/drivers/infiniband/hw/usnic/
H A Dusnic_ib_sysfs.c98 if (us_ibdev->vf_res_cnt[res_type] == 0) in config_show()
102 us_ibdev->vf_res_cnt[res_type], in config_show()
145 qp_per_vf = max(us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_WQ], in qp_per_vf_show()
146 us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_RQ]); in qp_per_vf_show()
159 us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_CQ]); in cq_per_vf_show()
H A Dusnic_ib.h85 unsigned int vf_res_cnt[USNIC_VNIC_RES_TYPE_MAX]; member
H A Dusnic_ib_verbs.c303 qp_per_vf = max(us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_WQ], in usnic_ib_query_device()
304 us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_RQ]); in usnic_ib_query_device()
310 props->max_cq = us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_CQ] * in usnic_ib_query_device()
H A Dusnic_ib_main.c590 pf->vf_res_cnt[res_type] = usnic_vnic_res_cnt(vf->vnic, in usnic_ib_pci_probe()
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
H A Dusnic_ib_sysfs.c107 if (us_ibdev->vf_res_cnt[res_type] == 0) in config_show()
110 us_ibdev->vf_res_cnt[res_type], in config_show()
158 qp_per_vf = max(us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_WQ], in qp_per_vf_show()
159 us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_RQ]); in qp_per_vf_show()
173 us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_CQ]); in cq_per_vf_show()
H A Dusnic_ib.h85 unsigned int vf_res_cnt[USNIC_VNIC_RES_TYPE_MAX]; member
H A Dusnic_ib_verbs.c304 qp_per_vf = max(us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_WQ], in usnic_ib_query_device()
305 us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_RQ]); in usnic_ib_query_device()
310 props->max_cq = us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_CQ] * in usnic_ib_query_device()
H A Dusnic_ib_main.c604 pf->vf_res_cnt[res_type] = usnic_vnic_res_cnt(vf->vnic, in usnic_ib_pci_probe()

Completed in 5 milliseconds