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

/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.c305 bp->acquire_resp.resc.num_txqs);
308 bp->acquire_resp.resc.num_rxqs);
311 bp->acquire_resp.resc.num_sbs);
314 bp->acquire_resp.resc.num_mac_filters);
317 bp->acquire_resp.resc.num_vlan_filters);
320 bp->acquire_resp.resc.num_mc_filters);
379 bp->igu_sb_cnt = bp->acquire_resp.resc.num_sbs;
380 bp->igu_base_sb = bp->acquire_resp.resc.hw_sbs[0].hw_sb_id;
381 bp->vlan_credit = bp->acquire_resp.resc.num_vlan_filters;
386 if (is_valid_ether_addr(bp->acquire_resp.resc
1261 struct pf_vf_resc *resc = &resp->resc; local
[all...]
H A Dbnx2x_vfpf.h209 } resc; member in struct:pfvf_acquire_resp_tlv
H A Dbnx2x_sriov.c829 struct vf_pf_resc_request *resc = &vf->alloc_resc; local
832 resc->num_rxqs = 0;
833 resc->num_txqs = 0;
835 resc->num_mac_filters = VF_MAC_CREDIT_CNT;
836 resc->num_vlan_filters = VF_VLAN_CREDIT_CNT;
839 resc->num_mc_filters = 0;
842 resc->num_sbs = vf->sb_count;
2008 struct vf_pf_resc_request *resc)
2027 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) {
2046 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) {
2007 bnx2x_vf_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vf_pf_resc_request *resc) argument
[all...]
H A Dbnx2x_sriov.h138 #define VF_FREE 0 /* VF ready to be acquired holds no resc */
429 struct vf_pf_resc_request *resc);
528 bp->acquire_resp.resc.hw_qid[fp->index] *
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed.h290 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc])
291 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc])
292 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \
293 RESC_NUM(_p_hwfn, resc))
296 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc])
H A Dqed_vf.c335 &resp->resc);
390 resp->resc.num_cids = resp->resc.num_rxqs + resp->resc.num_txqs;
752 u8 hw_qid = p_iov->acquire_resp.resc.hw_qid[rx_qid];
882 u8 cid = p_iov->acquire_resp.resc.cid[qid];
956 for (i = 0; i < p_hwfn->vf_iov_info->acquire_resp.resc.num_sbs; i++) {
1452 return p_iov->acquire_resp.resc.hw_sbs[sb_id].hw_sb_id;
1572 *num_rxqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_rxqs;
1577 *num_txqs = p_hwfn->vf_iov_info->acquire_resp.resc
[all...]
H A Dqed_vf.h215 } resc; member in struct:pfvf_acquire_resp_tlv
H A Dqed_sriov.c1544 struct pf_vf_resc *resc = &resp->resc; local
1648 &req->resc_request, resc);
1673 resc->num_rxqs,
1674 resc->num_txqs,
1675 resc->num_sbs,
1676 resc->num_mac_filters,
1677 resc->num_vlan_filters);

Completed in 410 milliseconds