Home
last modified time | relevance | path

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

/dpdk/drivers/net/bnx2x/
H A Decore_sp.h1936 uint8_t func_num);
1939 uint8_t func_num);
1969 #define PF_MAC_CREDIT_E2(sc, func_num) \ argument
1971 (func_num) + GET_NUM_VFS_PER_PF(sc) * VF_MAC_CREDIT_CNT)
1973 #define PF_VLAN_CREDIT_E2(sc, func_num) \ argument
1975 (func_num) + GET_NUM_VFS_PER_PF(sc) * VF_VLAN_CREDIT_CNT)
H A Decore_sp.c3402 uint8_t func_id, uint8_t func_num) in ecore_init_mac_credit_pool() argument
3413 if (func_num > 0) { in ecore_init_mac_credit_pool()
3415 cam_sz = (MAX_MAC_CREDIT_E1H / (2 * func_num)); in ecore_init_mac_credit_pool()
3430 if (func_num > 0) { in ecore_init_mac_credit_pool()
3432 cam_sz = (MAX_MAC_CREDIT_E2 / func_num); in ecore_init_mac_credit_pool()
3449 uint8_t func_id, uint8_t func_num) in ecore_init_vlan_credit_pool() argument
3460 if (func_num > 0) { in ecore_init_vlan_credit_pool()
3461 int credit = MAX_VLAN_CREDIT_E2 / func_num; in ecore_init_vlan_credit_pool()
/dpdk/drivers/net/hns3/
H A Dhns3_ethdev.h776 uint16_t func_num; /* num functions of this pf, include pf and vfs */ member
H A Dhns3_ethdev.c2483 pf->func_num = rte_le_to_cpu_16(req->pf_own_fun_number); in hns3_query_pf_resource()
3855 for (func_id = HNS3_1ST_VF_FUNC_ID; func_id < pf->func_num; func_id++) { in hns3_promisc_init()