resc 837 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c struct vf_pf_resc_request *resc = &vf->alloc_resc; resc 840 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c resc->num_rxqs = 0; resc 841 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c resc->num_txqs = 0; resc 843 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c resc->num_mac_filters = VF_MAC_CREDIT_CNT; resc 844 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c resc->num_vlan_filters = VF_VLAN_CREDIT_CNT; resc 847 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c resc->num_mc_filters = 0; resc 850 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c resc->num_sbs = vf->sb_count; resc 2021 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c struct vf_pf_resc_request *resc) resc 2040 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { resc 2059 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { resc 2067 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vf_sb_count(vf) = resc->num_sbs; resc 2068 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vf_rxq_count(vf) = resc->num_rxqs ? : bnx2x_vf_max_queue_cnt(bp, vf); resc 2069 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vf_txq_count(vf) = resc->num_txqs ? : bnx2x_vf_max_queue_cnt(bp, vf); resc 429 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h struct vf_pf_resc_request *resc); resc 528 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h bp->acquire_resp.resc.hw_qid[fp->index] * resc 305 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bp->acquire_resp.resc.num_txqs); resc 308 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bp->acquire_resp.resc.num_rxqs); resc 311 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bp->acquire_resp.resc.num_sbs); resc 314 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bp->acquire_resp.resc.num_mac_filters); resc 317 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bp->acquire_resp.resc.num_vlan_filters); resc 320 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bp->acquire_resp.resc.num_mc_filters); resc 379 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bp->igu_sb_cnt = bp->acquire_resp.resc.num_sbs; resc 380 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bp->igu_base_sb = bp->acquire_resp.resc.hw_sbs[0].hw_sb_id; resc 381 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bp->vlan_credit = bp->acquire_resp.resc.num_vlan_filters; resc 386 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c if (is_valid_ether_addr(bp->acquire_resp.resc.current_mac_addr)) resc 388 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bp->acquire_resp.resc.current_mac_addr, resc 1259 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c struct pf_vf_resc *resc = &resp->resc; resc 1281 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_rxqs = vf_rxq_count(vf) ? : resc 1283 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_txqs = vf_txq_count(vf) ? : resc 1285 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_sbs = vf_sb_count(vf); resc 1286 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_mac_filters = vf_mac_rules_cnt(vf); resc 1287 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_vlan_filters = vf_vlan_rules_cnt(vf); resc 1288 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_mc_filters = 0; resc 1296 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->hw_qid[i] = resc 1300 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->hw_sbs[i].hw_sb_id = vf_igu_sb(vf, i); resc 1301 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->hw_sbs[i].sb_qid = vf_hc_qzone(vf, i); resc 1306 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c memcpy(resc->current_mac_addr, bulletin->mac, resc 1319 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_rxqs, resc 1320 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_txqs, resc 1321 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_sbs, resc 1322 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_mac_filters, resc 1323 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_vlan_filters, resc 1324 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->num_mc_filters, resc 1329 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c DP_CONT(BNX2X_MSG_IOV, "%d ", resc->hw_qid[i]); resc 1333 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->hw_sbs[i].hw_sb_id, resc 1334 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c resc->hw_sbs[i].sb_qid); resc 209 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.h } resc; resc 332 drivers/net/ethernet/qlogic/qed/qed.h #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) resc 333 drivers/net/ethernet/qlogic/qed/qed.h #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) resc 334 drivers/net/ethernet/qlogic/qed/qed.h #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ resc 335 drivers/net/ethernet/qlogic/qed/qed.h RESC_NUM(_p_hwfn, resc)) resc 336 drivers/net/ethernet/qlogic/qed/qed.h #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) resc 1562 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct pf_vf_resc *resc = &resp->resc; resc 1666 drivers/net/ethernet/qlogic/qed/qed_sriov.c &req->resc_request, resc); resc 1691 drivers/net/ethernet/qlogic/qed/qed_sriov.c resc->num_rxqs, resc 1692 drivers/net/ethernet/qlogic/qed/qed_sriov.c resc->num_txqs, resc 1693 drivers/net/ethernet/qlogic/qed/qed_sriov.c resc->num_sbs, resc 1694 drivers/net/ethernet/qlogic/qed/qed_sriov.c resc->num_mac_filters, resc 1695 drivers/net/ethernet/qlogic/qed/qed_sriov.c resc->num_vlan_filters); resc 351 drivers/net/ethernet/qlogic/qed/qed_vf.c &resp->resc); resc 406 drivers/net/ethernet/qlogic/qed/qed_vf.c resp->resc.num_cids = resp->resc.num_rxqs + resp->resc.num_txqs; resc 760 drivers/net/ethernet/qlogic/qed/qed_vf.c u8 hw_qid = p_iov->acquire_resp.resc.hw_qid[rx_qid]; resc 890 drivers/net/ethernet/qlogic/qed/qed_vf.c u8 cid = p_iov->acquire_resp.resc.cid[qid]; resc 964 drivers/net/ethernet/qlogic/qed/qed_vf.c for (i = 0; i < p_hwfn->vf_iov_info->acquire_resp.resc.num_sbs; i++) { resc 1468 drivers/net/ethernet/qlogic/qed/qed_vf.c return p_iov->acquire_resp.resc.hw_sbs[sb_id].hw_sb_id; resc 1588 drivers/net/ethernet/qlogic/qed/qed_vf.c *num_rxqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_rxqs; resc 1593 drivers/net/ethernet/qlogic/qed/qed_vf.c *num_txqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_txqs; resc 1598 drivers/net/ethernet/qlogic/qed/qed_vf.c *num_cids = p_hwfn->vf_iov_info->acquire_resp.resc.num_cids; resc 1612 drivers/net/ethernet/qlogic/qed/qed_vf.c *num_vlan_filters = p_vf->acquire_resp.resc.num_vlan_filters; resc 1619 drivers/net/ethernet/qlogic/qed/qed_vf.c *num_mac_filters = p_vf->acquire_resp.resc.num_mac_filters; resc 242 drivers/net/ethernet/qlogic/qed/qed_vf.h } resc;