Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c305 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 …]
Dbnx2x_sriov.c835 struct vf_pf_resc_request *resc = &vf->alloc_resc; in bnx2x_iov_static_resc() local
838 resc->num_rxqs = 0; in bnx2x_iov_static_resc()
839 resc->num_txqs = 0; in bnx2x_iov_static_resc()
841 resc->num_mac_filters = VF_MAC_CREDIT_CNT; in bnx2x_iov_static_resc()
842 resc->num_vlan_filters = VF_VLAN_CREDIT_CNT; in bnx2x_iov_static_resc()
845 resc->num_mc_filters = 0; in bnx2x_iov_static_resc()
848 resc->num_sbs = vf->sb_count; in bnx2x_iov_static_resc()
2002 struct vf_pf_resc_request *resc) in bnx2x_vf_acquire() argument
2021 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { in bnx2x_vf_acquire()
2040 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { in bnx2x_vf_acquire()
[all …]
Dbnx2x_sriov.h424 struct vf_pf_resc_request *resc);
523 bp->acquire_resp.resc.hw_qid[fp->index] * in bnx2x_vf_ustorm_prods_offset()
Dbnx2x_vfpf.h209 } resc; member
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed.h132 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument
133 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument
134 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument