Searched refs:buf_states (Results 1 - 2 of 2) sorted by path

/linux-master/drivers/net/ethernet/google/gve/
H A Dgve.h232 struct gve_rx_buf_state_dqo *buf_states; member in struct:gve_rx_ring::__anon461::__anon463
236 * buf_states, or -1 if empty.
241 * buf_states, or -1 if empty.
243 * This list contains buf_states which are pointing to
253 * buf_states, or -1 if empty.
255 * This list contains buf_states which have buffers
H A Dgve_rx_dqo.c44 buf_state = &rx->dqo.buf_states[buffer_id];
58 s16 buffer_id = buf_state - rx->dqo.buf_states;
66 s16 buffer_id = buf_state - rx->dqo.buf_states;
82 buf_state = &rx->dqo.buf_states[buffer_id];
99 s16 buffer_id = buf_state - rx->dqo.buf_states;
109 rx->dqo.buf_states[tail].next = buffer_id;
236 if (rx->dqo.buf_states) {
238 rx->dqo.buf_states[i].next = i + 1;
239 rx->dqo.buf_states[rx->dqo.num_buf_states - 1].next = -1;
277 if (rx->dqo.buf_states) {
[all...]

Completed in 423 milliseconds