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;
800 unsigned index = i & rx_queue->ptr_mask;
801 rx_buf = ef4_rx_buffer(rx_queue, index);
910 bool (*expire_one)(struct ef4_nic *efx, u32 flow_id, unsigned int index);
911 unsigned int channel_idx, index, size;
919 index = efx->rps_expire_index;
923 flow_id = channel->rps_flow_id[index];
926 expire_one(efx, flow_id, index)) {
929 index, channel_idx, flow_id);
930 channel->rps_flow_id[index] = RPS_FLOW_ID_INVALID;
932 if (++index == size) {
935 index = 0;
939 efx->rps_expire_index = index;