Lines Matching refs:cos

172 	int i, cos, old_eth_num = BNX2X_NUM_ETH_QUEUES(bp);  in bnx2x_shrink_eth_fp()  local
177 for (cos = 1; cos < bp->max_cos; cos++) { in bnx2x_shrink_eth_fp()
180 int new_idx = cos * (old_eth_num - delta) + i; in bnx2x_shrink_eth_fp()
182 memcpy(&bp->bnx2x_txq[new_idx], fp->txdata_ptr[cos], in bnx2x_shrink_eth_fp()
184 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()
2462 int cos; in bnx2x_bz_fp() local
2487 for_each_cos_in_tx_queue(fp, cos) in bnx2x_bz_fp()
2488 fp->txdata_ptr[cos] = &bp->bnx2x_txq[cos * in bnx2x_bz_fp()
2963 u8 rc = 0, cos, i; in bnx2x_drain_tx_queues() local
2969 for_each_cos_in_tx_queue(fp, cos) in bnx2x_drain_tx_queues()
2970 rc = bnx2x_clean_tx_queue(bp, fp->txdata_ptr[cos]); in bnx2x_drain_tx_queues()
3222 u8 cos; in bnx2x_poll() local
3230 for_each_cos_in_tx_queue(fp, cos) in bnx2x_poll()
3231 if (bnx2x_tx_queue_has_work(fp->txdata_ptr[cos])) in bnx2x_poll()
3232 bnx2x_tx_int(bp, fp->txdata_ptr[cos]); in bnx2x_poll()
4244 int cos, prio, count, offset; in bnx2x_setup_tc() local
4291 for (cos = 0; cos < bp->max_cos; cos++) { in bnx2x_setup_tc()
4293 offset = cos * BNX2X_NUM_NON_CNIC_QUEUES(bp); in bnx2x_setup_tc()
4294 netdev_set_tc_queue(dev, cos, count, offset); in bnx2x_setup_tc()
4297 cos, offset, count); in bnx2x_setup_tc()
4354 u8 cos; in bnx2x_free_fp_mem_at() local
4400 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_free_fp_mem_at()
4401 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_free_fp_mem_at()
4405 fp_index, cos, txdata->cid); in bnx2x_free_fp_mem_at()
4507 u8 cos; in bnx2x_alloc_fp_mem_at() local
4564 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_alloc_fp_mem_at()
4565 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_alloc_fp_mem_at()
4569 index, cos); in bnx2x_alloc_fp_mem_at()