Home
last modified time | relevance | path

Searched refs:vf_res_cnt (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/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()