Lines Matching refs:cos

175 	int i, cos, old_eth_num = BNX2X_NUM_ETH_QUEUES(bp);  in bnx2x_shrink_eth_fp()  local
180 for (cos = 1; cos < bp->max_cos; cos++) { in bnx2x_shrink_eth_fp()
183 int new_idx = cos * (old_eth_num - delta) + i; in bnx2x_shrink_eth_fp()
185 memcpy(&bp->bnx2x_txq[new_idx], fp->txdata_ptr[cos], in bnx2x_shrink_eth_fp()
187 fp->txdata_ptr[cos] = &bp->bnx2x_txq[new_idx]; in bnx2x_shrink_eth_fp()
1144 u8 cos; in bnx2x_msix_fp_int() local
1158 for_each_cos_in_tx_queue(fp, cos) in bnx2x_msix_fp_int()
1159 prefetch(fp->txdata_ptr[cos]->tx_cons_sb); in bnx2x_msix_fp_int()
1501 u8 cos; in bnx2x_free_tx_skbs_queue() local
1504 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_free_tx_skbs_queue()
1505 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_free_tx_skbs_queue()
2473 int cos; in bnx2x_bz_fp() local
2498 for_each_cos_in_tx_queue(fp, cos) in bnx2x_bz_fp()
2499 fp->txdata_ptr[cos] = &bp->bnx2x_txq[cos * in bnx2x_bz_fp()
2972 u8 rc = 0, cos, i; in bnx2x_drain_tx_queues() local
2978 for_each_cos_in_tx_queue(fp, cos) in bnx2x_drain_tx_queues()
2979 rc = bnx2x_clean_tx_queue(bp, fp->txdata_ptr[cos]); in bnx2x_drain_tx_queues()
3223 u8 cos; in bnx2x_poll() local
3238 for_each_cos_in_tx_queue(fp, cos) in bnx2x_poll()
3239 if (bnx2x_tx_queue_has_work(fp->txdata_ptr[cos])) in bnx2x_poll()
3240 bnx2x_tx_int(bp, fp->txdata_ptr[cos]); in bnx2x_poll()
4276 int cos, prio, count, offset; in bnx2x_setup_tc() local
4323 for (cos = 0; cos < bp->max_cos; cos++) { in bnx2x_setup_tc()
4325 offset = cos * BNX2X_NUM_NON_CNIC_QUEUES(bp); in bnx2x_setup_tc()
4326 netdev_set_tc_queue(dev, cos, count, offset); in bnx2x_setup_tc()
4329 cos, offset, count); in bnx2x_setup_tc()
4373 u8 cos; in bnx2x_free_fp_mem_at() local
4419 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_free_fp_mem_at()
4420 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_free_fp_mem_at()
4424 fp_index, cos, txdata->cid); in bnx2x_free_fp_mem_at()
4527 u8 cos; in bnx2x_alloc_fp_mem_at() local
4584 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_alloc_fp_mem_at()
4585 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_alloc_fp_mem_at()
4589 index, cos); in bnx2x_alloc_fp_mem_at()