Searched refs:resc (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
| D | bnx2x_vfpf.c | 305 bp->acquire_resp.resc.num_txqs); in bnx2x_vfpf_acquire() 308 bp->acquire_resp.resc.num_rxqs); in bnx2x_vfpf_acquire() 311 bp->acquire_resp.resc.num_sbs); in bnx2x_vfpf_acquire() 314 bp->acquire_resp.resc.num_mac_filters); in bnx2x_vfpf_acquire() 317 bp->acquire_resp.resc.num_vlan_filters); in bnx2x_vfpf_acquire() 320 bp->acquire_resp.resc.num_mc_filters); in bnx2x_vfpf_acquire() 379 bp->igu_sb_cnt = bp->acquire_resp.resc.num_sbs; in bnx2x_vfpf_acquire() 380 bp->igu_base_sb = bp->acquire_resp.resc.hw_sbs[0].hw_sb_id; in bnx2x_vfpf_acquire() 381 bp->vlan_credit = bp->acquire_resp.resc.num_vlan_filters; in bnx2x_vfpf_acquire() 386 if (is_valid_ether_addr(bp->acquire_resp.resc.current_mac_addr)) in bnx2x_vfpf_acquire() [all …]
|
| D | bnx2x_sriov.c | 837 struct vf_pf_resc_request *resc = &vf->alloc_resc; in bnx2x_iov_static_resc() local 840 resc->num_rxqs = 0; in bnx2x_iov_static_resc() 841 resc->num_txqs = 0; in bnx2x_iov_static_resc() 843 resc->num_mac_filters = VF_MAC_CREDIT_CNT; in bnx2x_iov_static_resc() 844 resc->num_vlan_filters = VF_VLAN_CREDIT_CNT; in bnx2x_iov_static_resc() 847 resc->num_mc_filters = 0; in bnx2x_iov_static_resc() 850 resc->num_sbs = vf->sb_count; in bnx2x_iov_static_resc() 2021 struct vf_pf_resc_request *resc) in bnx2x_vf_acquire() argument 2040 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { in bnx2x_vf_acquire() 2059 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { in bnx2x_vf_acquire() [all …]
|
| D | bnx2x_sriov.h | 428 struct vf_pf_resc_request *resc); 527 bp->acquire_resp.resc.hw_qid[fp->index] * in bnx2x_vf_ustorm_prods_offset()
|
| D | bnx2x_vfpf.h | 209 } resc; member
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
| D | qed.h | 332 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument 333 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument 334 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ argument 335 RESC_NUM(_p_hwfn, resc)) 336 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument
|
| D | qed_vf.c | 351 &resp->resc); in qed_vf_pf_acquire() 406 resp->resc.num_cids = resp->resc.num_rxqs + resp->resc.num_txqs; in qed_vf_pf_acquire() 760 u8 hw_qid = p_iov->acquire_resp.resc.hw_qid[rx_qid]; in qed_vf_pf_rxq_start() 890 u8 cid = p_iov->acquire_resp.resc.cid[qid]; in qed_vf_pf_txq_start() 964 for (i = 0; i < p_hwfn->vf_iov_info->acquire_resp.resc.num_sbs; i++) { in qed_vf_pf_vport_start() 1468 return p_iov->acquire_resp.resc.hw_sbs[sb_id].hw_sb_id; in qed_vf_get_igu_sb_id() 1588 *num_rxqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_rxqs; in qed_vf_get_num_rxqs() 1593 *num_txqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_txqs; in qed_vf_get_num_txqs() 1598 *num_cids = p_hwfn->vf_iov_info->acquire_resp.resc.num_cids; in qed_vf_get_num_cids() 1612 *num_vlan_filters = p_vf->acquire_resp.resc.num_vlan_filters; in qed_vf_get_num_vlan_filters() [all …]
|
| D | qed_sriov.c | 1562 struct pf_vf_resc *resc = &resp->resc; in qed_iov_vf_mbx_acquire() local 1666 &req->resc_request, resc); in qed_iov_vf_mbx_acquire() 1691 resc->num_rxqs, in qed_iov_vf_mbx_acquire() 1692 resc->num_txqs, in qed_iov_vf_mbx_acquire() 1693 resc->num_sbs, in qed_iov_vf_mbx_acquire() 1694 resc->num_mac_filters, in qed_iov_vf_mbx_acquire() 1695 resc->num_vlan_filters); in qed_iov_vf_mbx_acquire()
|
| D | qed_vf.h | 242 } resc; member
|