Home
last modified time | relevance | path

Searched refs:resc (Results 1 – 7 of 7) sorted by relevance

/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x_vfpf.c198 struct vf_resc *resc; in bnx2x_loop_obtain_resources() local
224 resc = &sc_resp->resc; in bnx2x_loop_obtain_resources()
227 res_query->num_txqs = min(res_query->num_txqs, resc->num_txqs); in bnx2x_loop_obtain_resources()
228 res_query->num_rxqs = min(res_query->num_rxqs, resc->num_rxqs); in bnx2x_loop_obtain_resources()
229 res_query->num_sbs = min(res_query->num_sbs, resc->num_sbs); in bnx2x_loop_obtain_resources()
294 sc->igu_sb_cnt = sc_resp.resc.num_sbs; in bnx2x_vf_get_resources()
295 sc->igu_base_sb = sc_resp.resc.hw_sbs[0] & 0xFF; in bnx2x_vf_get_resources()
297 sc->max_tx_queues = sc_resp.resc.num_txqs; in bnx2x_vf_get_resources()
298 sc->max_rx_queues = sc_resp.resc.num_rxqs; in bnx2x_vf_get_resources()
308 if (rte_is_valid_assigned_ether_addr(&sc_resp.resc.current_mac_addr)) in bnx2x_vf_get_resources()
[all …]
H A Dbnx2x_vfpf.h134 struct vf_resc resc; member
H A Dbnx2x.c4937 (sc->acquire_resp.resc.hw_qid[fp->index] * in bnx2x_rx_ustorm_prods_offset()
/f-stack/dpdk/drivers/net/qede/base/
H A Decore.h391 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument
392 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument
393 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ argument
394 RESC_NUM(_p_hwfn, resc))
395 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument
H A Decore_vf.c389 &resp->resc); in ecore_vf_pf_acquire()
458 resp->resc.num_cids = resp->resc.num_rxqs + in ecore_vf_pf_acquire()
459 resp->resc.num_txqs; in ecore_vf_pf_acquire()
461 rc = OSAL_VF_UPDATE_ACQUIRE_RESC_RESP(p_hwfn, &resp->resc); in ecore_vf_pf_acquire()
872 u8 hw_qid = p_iov->acquire_resp.resc.hw_qid[rx_qid]; in ecore_vf_pf_rxq_start()
1011 u8 cid = p_iov->acquire_resp.resc.cid[qid]; in ecore_vf_pf_txq_start()
1732 return p_iov->acquire_resp.resc.hw_sbs[sb_id].hw_sb_id; in ecore_vf_get_igu_sb_id()
1850 *num_rxqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_rxqs; in ecore_vf_get_num_rxqs()
1856 *num_txqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_txqs; in ecore_vf_get_num_txqs()
1881 *num_sbs = (u32)p_vf->acquire_resp.resc.num_sbs; in ecore_vf_get_num_sbs()
[all …]
H A Decore_vfpf_if.h232 } resc; member
H A Decore_sriov.c1780 struct pf_vf_resc *resc = &resp->resc; in ecore_iov_vf_mbx_acquire() local
1906 &req->resc_request, resc); in ecore_iov_vf_mbx_acquire()
1932 (unsigned long)resp->pfdev_info.capabilities, resc->num_rxqs, in ecore_iov_vf_mbx_acquire()
1933 resc->num_txqs, resc->num_sbs, resc->num_mac_filters, in ecore_iov_vf_mbx_acquire()
1934 resc->num_vlan_filters); in ecore_iov_vf_mbx_acquire()