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);
353 * specified index.
356 unsigned int index,
363 stop_index = (index + 1) & tx_queue->ptr_mask;
399 unsigned index, type;
403 index = skb_get_queue_mapping(skb);
405 if (index >= efx->n_tx_channels) {
406 index -= efx->n_tx_channels;
409 tx_queue = ef4_get_tx_queue(efx, index, type);
492 void ef4_xmit_done(struct ef4_tx_queue *tx_queue, unsigned int index)
499 EF4_BUG_ON_PARANOID(index > tx_queue->ptr_mask);
501 ef4_dequeue_buffers(tx_queue, index, &pkts_compl, &bytes_compl);