Lines Matching refs:grp_idx

2330 			ring->grp_idx = i;  in bnxt_alloc_rx_rings()
2404 ring->grp_idx = txr->bnapi->index; in bnxt_alloc_tx_rings()
4105 unsigned int ring = 0, grp_idx; in bnxt_hwrm_vnic_cfg() local
4143 grp_idx = bp->rx_ring[ring].bnapi->index; in bnxt_hwrm_vnic_cfg()
4145 req.dflt_ring_grp = cpu_to_le16(bp->grp_info[grp_idx].fw_grp_id); in bnxt_hwrm_vnic_cfg()
4195 unsigned int i, j, grp_idx, end_idx = start_rx_ring_idx + nr_rings; in bnxt_hwrm_vnic_alloc() local
4201 grp_idx = bp->rx_ring[i].bnapi->index; in bnxt_hwrm_vnic_alloc()
4202 if (bp->grp_info[grp_idx].fw_grp_id == INVALID_HW_RING_ID) { in bnxt_hwrm_vnic_alloc()
4208 bp->grp_info[grp_idx].fw_grp_id; in bnxt_hwrm_vnic_alloc()
4261 unsigned int grp_idx = bp->rx_ring[i].bnapi->index; in bnxt_hwrm_ring_grp_alloc() local
4265 req.cr = cpu_to_le16(bp->grp_info[grp_idx].cp_fw_ring_id); in bnxt_hwrm_ring_grp_alloc()
4266 req.rr = cpu_to_le16(bp->grp_info[grp_idx].rx_fw_ring_id); in bnxt_hwrm_ring_grp_alloc()
4267 req.ar = cpu_to_le16(bp->grp_info[grp_idx].agg_fw_ring_id); in bnxt_hwrm_ring_grp_alloc()
4268 req.sc = cpu_to_le16(bp->grp_info[grp_idx].fw_stats_ctx); in bnxt_hwrm_ring_grp_alloc()
4275 bp->grp_info[grp_idx].fw_grp_id = in bnxt_hwrm_ring_grp_alloc()
4339 grp_info = &bp->grp_info[ring->grp_idx]; in hwrm_ring_alloc_send_msg()
4460 u32 grp_idx = ring->grp_idx; in bnxt_hwrm_ring_alloc() local
4461 u32 map_idx = grp_idx + bp->rx_nr_rings; in bnxt_hwrm_ring_alloc()
4472 bp->grp_info[grp_idx].agg_fw_ring_id = ring->fw_ring_id; in bnxt_hwrm_ring_alloc()
4515 u32 grp_idx = txr->bnapi->index; in bnxt_hwrm_ring_free() local
4516 u32 cmpl_ring_id = bp->grp_info[grp_idx].cp_fw_ring_id; in bnxt_hwrm_ring_free()
4530 u32 grp_idx = rxr->bnapi->index; in bnxt_hwrm_ring_free() local
4531 u32 cmpl_ring_id = bp->grp_info[grp_idx].cp_fw_ring_id; in bnxt_hwrm_ring_free()
4539 bp->grp_info[grp_idx].rx_fw_ring_id = in bnxt_hwrm_ring_free()
4547 u32 grp_idx = rxr->bnapi->index; in bnxt_hwrm_ring_free() local
4548 u32 cmpl_ring_id = bp->grp_info[grp_idx].cp_fw_ring_id; in bnxt_hwrm_ring_free()
4556 bp->grp_info[grp_idx].agg_fw_ring_id = in bnxt_hwrm_ring_free()
4965 unsigned int grp_idx; in bnxt_hwrm_set_ring_coal() local
4983 grp_idx = bnapi->index; in bnxt_hwrm_set_ring_coal()
4984 req_rx.ring_id = cpu_to_le16(bp->grp_info[grp_idx].cp_fw_ring_id); in bnxt_hwrm_set_ring_coal()