Lines Matching refs:resc
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()
388 bp->acquire_resp.resc.current_mac_addr); in bnx2x_vfpf_acquire()
1258 struct pf_vf_resc *resc = &resp->resc; in bnx2x_vf_mbx_acquire_resp() local
1280 resc->num_rxqs = vf_rxq_count(vf) ? : in bnx2x_vf_mbx_acquire_resp()
1282 resc->num_txqs = vf_txq_count(vf) ? : in bnx2x_vf_mbx_acquire_resp()
1284 resc->num_sbs = vf_sb_count(vf); in bnx2x_vf_mbx_acquire_resp()
1285 resc->num_mac_filters = vf_mac_rules_cnt(vf); in bnx2x_vf_mbx_acquire_resp()
1286 resc->num_vlan_filters = vf_vlan_rules_cnt(vf); in bnx2x_vf_mbx_acquire_resp()
1287 resc->num_mc_filters = 0; in bnx2x_vf_mbx_acquire_resp()
1295 resc->hw_qid[i] = in bnx2x_vf_mbx_acquire_resp()
1299 resc->hw_sbs[i].hw_sb_id = vf_igu_sb(vf, i); in bnx2x_vf_mbx_acquire_resp()
1300 resc->hw_sbs[i].sb_qid = vf_hc_qzone(vf, i); in bnx2x_vf_mbx_acquire_resp()
1305 memcpy(resc->current_mac_addr, bulletin->mac, 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()
1328 DP_CONT(BNX2X_MSG_IOV, "%d ", resc->hw_qid[i]); in bnx2x_vf_mbx_acquire_resp()
1332 resc->hw_sbs[i].hw_sb_id, in bnx2x_vf_mbx_acquire_resp()
1333 resc->hw_sbs[i].sb_qid); in bnx2x_vf_mbx_acquire_resp()