Lines Matching refs:index
111 unsigned index;
115 index = rx_queue->page_remove & rx_queue->page_ptr_mask;
116 page = rx_queue->page_ring[index];
120 rx_queue->page_ring[index] = NULL;
160 unsigned index, count;
191 index = rx_queue->added_count & rx_queue->ptr_mask;
192 rx_buf = ef4_rx_buffer(rx_queue, index);
250 unsigned index;
256 index = rx_queue->page_add & rx_queue->page_ptr_mask;
257 if (rx_queue->page_ring[index] == NULL) {
265 if (read_index == index)
267 rx_queue->page_ring[index] = page;
530 void ef4_rx_packet(struct ef4_rx_queue *rx_queue, unsigned int index,
539 rx_buf = ef4_rx_buffer(rx_queue, index);
559 ef4_rx_queue_index(rx_queue), index,
560 (index + n_frags - 1) & rx_queue->ptr_mask, len,
606 rx_buf = ef4_rx_buffer(rx_queue, index);
614 channel->rx_pkt_index = index;
798 unsigned index = i & rx_queue->ptr_mask;
799 rx_buf = ef4_rx_buffer(rx_queue, index);
908 bool (*expire_one)(struct ef4_nic *efx, u32 flow_id, unsigned int index);
909 unsigned int channel_idx, index, size;
917 index = efx->rps_expire_index;
921 flow_id = channel->rps_flow_id[index];
924 expire_one(efx, flow_id, index)) {
927 index, channel_idx, flow_id);
928 channel->rps_flow_id[index] = RPS_FLOW_ID_INVALID;
930 if (++index == size) {
933 index = 0;
937 efx->rps_expire_index = index;