Searched refs:resc (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_vfpf.c | 1258 struct pf_vf_resc *resc = &resp->resc; in bnx2x_vf_mbx_acquire_resp() local 1287 resc->num_mc_filters = 0; in bnx2x_vf_mbx_acquire_resp() 1295 resc->hw_qid[i] = in bnx2x_vf_mbx_acquire_resp() 1318 resc->num_rxqs, in bnx2x_vf_mbx_acquire_resp() 1319 resc->num_txqs, in bnx2x_vf_mbx_acquire_resp() 1320 resc->num_sbs, in bnx2x_vf_mbx_acquire_resp() 1321 resc->num_mac_filters, in bnx2x_vf_mbx_acquire_resp() 1322 resc->num_vlan_filters, in bnx2x_vf_mbx_acquire_resp() 1323 resc->num_mc_filters, in bnx2x_vf_mbx_acquire_resp() 1332 resc->hw_sbs[i].hw_sb_id, in bnx2x_vf_mbx_acquire_resp() [all …]
|
A D | bnx2x_sriov.c | 816 struct vf_pf_resc_request *resc = &vf->alloc_resc; in bnx2x_iov_static_resc() local 819 resc->num_rxqs = 0; in bnx2x_iov_static_resc() 820 resc->num_txqs = 0; in bnx2x_iov_static_resc() 822 resc->num_mac_filters = VF_MAC_CREDIT_CNT; in bnx2x_iov_static_resc() 823 resc->num_vlan_filters = VF_VLAN_CREDIT_CNT; in bnx2x_iov_static_resc() 826 resc->num_mc_filters = 0; in bnx2x_iov_static_resc() 829 resc->num_sbs = vf->sb_count; in bnx2x_iov_static_resc() 1995 struct vf_pf_resc_request *resc) in bnx2x_vf_acquire() argument 2014 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { in bnx2x_vf_acquire() 2033 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { in bnx2x_vf_acquire() [all …]
|
A D | bnx2x_sriov.h | 429 struct vf_pf_resc_request *resc); 528 bp->acquire_resp.resc.hw_qid[fp->index] * in bnx2x_vf_ustorm_prods_offset()
|
A D | bnx2x_vfpf.h | 209 } resc; member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed.h | 290 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument 291 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument 292 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ argument 293 RESC_NUM(_p_hwfn, resc)) 296 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument
|
A D | qed_vf.c | 338 &resp->resc); in qed_vf_pf_acquire() 393 resp->resc.num_cids = resp->resc.num_rxqs + resp->resc.num_txqs; in qed_vf_pf_acquire() 748 u8 hw_qid = p_iov->acquire_resp.resc.hw_qid[rx_qid]; in qed_vf_pf_rxq_start() 878 u8 cid = p_iov->acquire_resp.resc.cid[qid]; in qed_vf_pf_txq_start() 952 for (i = 0; i < p_hwfn->vf_iov_info->acquire_resp.resc.num_sbs; i++) { in qed_vf_pf_vport_start() 1456 return p_iov->acquire_resp.resc.hw_sbs[sb_id].hw_sb_id; in qed_vf_get_igu_sb_id() 1576 *num_rxqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_rxqs; in qed_vf_get_num_rxqs() 1581 *num_txqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_txqs; in qed_vf_get_num_txqs() 1586 *num_cids = p_hwfn->vf_iov_info->acquire_resp.resc.num_cids; in qed_vf_get_num_cids() 1600 *num_vlan_filters = p_vf->acquire_resp.resc.num_vlan_filters; in qed_vf_get_num_vlan_filters() [all …]
|
A D | qed_sriov.c | 1544 struct pf_vf_resc *resc = &resp->resc; in qed_iov_vf_mbx_acquire() local 1648 &req->resc_request, resc); in qed_iov_vf_mbx_acquire() 1673 resc->num_rxqs, in qed_iov_vf_mbx_acquire() 1674 resc->num_txqs, in qed_iov_vf_mbx_acquire() 1675 resc->num_sbs, in qed_iov_vf_mbx_acquire() 1676 resc->num_mac_filters, in qed_iov_vf_mbx_acquire() 1677 resc->num_vlan_filters); in qed_iov_vf_mbx_acquire()
|
A D | qed_vf.h | 215 } resc; member
|
Completed in 58 milliseconds