Lines Matching refs:cos

171 	int i, cos, old_eth_num = BNX2X_NUM_ETH_QUEUES(bp);  in bnx2x_shrink_eth_fp()  local
176 for (cos = 1; cos < bp->max_cos; cos++) { in bnx2x_shrink_eth_fp()
179 int new_idx = cos * (old_eth_num - delta) + i; in bnx2x_shrink_eth_fp()
181 memcpy(&bp->bnx2x_txq[new_idx], fp->txdata_ptr[cos], in bnx2x_shrink_eth_fp()
183 fp->txdata_ptr[cos] = &bp->bnx2x_txq[new_idx]; in bnx2x_shrink_eth_fp()
1131 u8 cos; in bnx2x_msix_fp_int() local
1145 for_each_cos_in_tx_queue(fp, cos) in bnx2x_msix_fp_int()
1146 prefetch(fp->txdata_ptr[cos]->tx_cons_sb); in bnx2x_msix_fp_int()
1493 u8 cos; in bnx2x_free_tx_skbs_queue() local
1496 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_free_tx_skbs_queue()
1497 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_free_tx_skbs_queue()
2466 int cos; in bnx2x_bz_fp() local
2491 for_each_cos_in_tx_queue(fp, cos) in bnx2x_bz_fp()
2492 fp->txdata_ptr[cos] = &bp->bnx2x_txq[cos * in bnx2x_bz_fp()
2967 u8 rc = 0, cos, i; in bnx2x_drain_tx_queues() local
2973 for_each_cos_in_tx_queue(fp, cos) in bnx2x_drain_tx_queues()
2974 rc = bnx2x_clean_tx_queue(bp, fp->txdata_ptr[cos]); in bnx2x_drain_tx_queues()
3226 u8 cos; in bnx2x_poll() local
3234 for_each_cos_in_tx_queue(fp, cos) in bnx2x_poll()
3235 if (bnx2x_tx_queue_has_work(fp->txdata_ptr[cos])) in bnx2x_poll()
3236 bnx2x_tx_int(bp, fp->txdata_ptr[cos]); in bnx2x_poll()
4243 int cos, prio, count, offset; in bnx2x_setup_tc() local
4290 for (cos = 0; cos < bp->max_cos; cos++) { in bnx2x_setup_tc()
4292 offset = cos * BNX2X_NUM_NON_CNIC_QUEUES(bp); in bnx2x_setup_tc()
4293 netdev_set_tc_queue(dev, cos, count, offset); in bnx2x_setup_tc()
4296 cos, offset, count); in bnx2x_setup_tc()
4353 u8 cos; in bnx2x_free_fp_mem_at() local
4399 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_free_fp_mem_at()
4400 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_free_fp_mem_at()
4404 fp_index, cos, txdata->cid); in bnx2x_free_fp_mem_at()
4506 u8 cos; in bnx2x_alloc_fp_mem_at() local
4563 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_alloc_fp_mem_at()
4564 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_alloc_fp_mem_at()
4568 index, cos); in bnx2x_alloc_fp_mem_at()