Lines Matching defs:index
28 unsigned int index = ef4_tx_queue_get_insert_index(tx_queue);
30 &tx_queue->cb_page[index >> (PAGE_SHIFT - EF4_TX_CB_ORDER)];
32 ((index << EF4_TX_CB_ORDER) + NET_IP_ALIGN) & (PAGE_SIZE - 1);
352 * specified index.
355 unsigned int index,
362 stop_index = (index + 1) & tx_queue->ptr_mask;
398 unsigned index, type;
402 index = skb_get_queue_mapping(skb);
404 if (index >= efx->n_tx_channels) {
405 index -= efx->n_tx_channels;
408 tx_queue = ef4_get_tx_queue(efx, index, type);
491 void ef4_xmit_done(struct ef4_tx_queue *tx_queue, unsigned int index)
498 EF4_BUG_ON_PARANOID(index > tx_queue->ptr_mask);
500 ef4_dequeue_buffers(tx_queue, index, &pkts_compl, &bytes_compl);