Searched refs:gve_rx_ring (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_buffer_mgmt_dqo.c | 16 struct gve_rx_buf_state_dqo *gve_alloc_buf_state(struct gve_rx_ring *rx) in gve_alloc_buf_state() 40 bool gve_buf_state_is_allocated(struct gve_rx_ring *rx, in gve_buf_state_is_allocated() 48 void gve_free_buf_state(struct gve_rx_ring *rx, in gve_free_buf_state() 57 struct gve_rx_buf_state_dqo *gve_dequeue_buf_state(struct gve_rx_ring *rx, in gve_dequeue_buf_state() 80 void gve_enqueue_buf_state(struct gve_rx_ring *rx, struct gve_index_list *list, in gve_enqueue_buf_state() 98 struct gve_rx_buf_state_dqo *gve_get_recycled_buf_state(struct gve_rx_ring *rx) in gve_get_recycled_buf_state() 129 int gve_alloc_qpl_page_dqo(struct gve_rx_ring *rx, in gve_alloc_qpl_page_dqo() 168 void gve_try_recycle_buf(struct gve_priv *priv, struct gve_rx_ring *rx, in gve_try_recycle_buf() 210 void gve_free_to_page_pool(struct gve_rx_ring *rx, in gve_free_to_page_pool() 223 static int gve_alloc_from_page_pool(struct gve_rx_ring *rx, in gve_alloc_from_page_pool() [all …]
|
| H A D | gve.h | 242 struct gve_rx_ring { struct 674 struct gve_rx_ring *rx; /* rx rings on this block */ 738 struct gve_rx_ring *rx; 800 struct gve_rx_ring *rx; /* array of rx_cfg.num_queues */ 1253 void gve_rx_write_doorbell(struct gve_priv *priv, struct gve_rx_ring *rx); 1255 bool gve_rx_work_pending(struct gve_rx_ring *rx); 1258 struct gve_rx_ring *rx, 1260 void gve_rx_free_ring_gqi(struct gve_priv *priv, struct gve_rx_ring *rx, 1278 struct gve_rx_buf_state_dqo *gve_alloc_buf_state(struct gve_rx_ring *rx); 1279 bool gve_buf_state_is_allocated(struct gve_rx_ring *rx, [all …]
|
| H A D | gve_rx_dqo.c | 21 static void gve_rx_free_hdr_bufs(struct gve_priv *priv, struct gve_rx_ring *rx) in gve_rx_free_hdr_bufs() 33 static void gve_rx_init_ring_state_dqo(struct gve_rx_ring *rx, in gve_rx_init_ring_state_dqo() 70 struct gve_rx_ring *rx = &priv->rx[idx]; in gve_rx_reset_ring_dqo() 114 struct gve_rx_ring *rx = &priv->rx[idx]; in gve_rx_stop_ring_dqo() 126 void gve_rx_free_ring_dqo(struct gve_priv *priv, struct gve_rx_ring *rx, in gve_rx_free_ring_dqo() 193 static int gve_rx_alloc_hdr_bufs(struct gve_priv *priv, struct gve_rx_ring *rx, in gve_rx_alloc_hdr_bufs() 216 struct gve_rx_ring *rx, in gve_rx_alloc_ring_dqo() 310 const struct gve_rx_ring *rx = &priv->rx[queue_idx]; in gve_rx_write_doorbell_dqo() 319 struct gve_rx_ring *rx; in gve_rx_alloc_rings_dqo() 323 rx = kvzalloc_objs(struct gve_rx_ring, cfg->qcfg_rx->max_queues); in gve_rx_alloc_rings_dqo() [all …]
|
| H A D | gve_rx.c | 27 struct gve_rx_ring *rx, in gve_rx_unfill_pages() 64 static void gve_rx_init_ring_state_gqi(struct gve_rx_ring *rx) in gve_rx_init_ring_state_gqi() 73 struct gve_rx_ring *rx = &priv->rx[idx]; in gve_rx_reset_ring_gqi() 102 void gve_rx_free_ring_gqi(struct gve_priv *priv, struct gve_rx_ring *rx, in gve_rx_free_ring_gqi() 144 static void gve_setup_rx_buffer(struct gve_rx_ring *rx, in gve_setup_rx_buffer() 162 struct gve_rx_ring *rx) in gve_rx_alloc_buffer() 181 static int gve_rx_prefill_pages(struct gve_rx_ring *rx, in gve_rx_prefill_pages() 275 struct gve_rx_ring *rx, in gve_rx_alloc_ring_gqi() 389 struct gve_rx_ring *rx; in gve_rx_alloc_rings_gqi() 393 rx = kvzalloc_objs(struct gve_rx_ring, cfg->qcfg_rx->max_queues); in gve_rx_alloc_rings_gqi() [all …]
|
| H A D | gve_dqo.h | 52 struct gve_rx_ring *rx, 54 void gve_rx_free_ring_dqo(struct gve_priv *priv, struct gve_rx_ring *rx, 64 void gve_rx_post_buffers_dqo(struct gve_rx_ring *rx);
|
| H A D | gve_main.c | 829 struct gve_rx_ring *rx = &priv->rx[idx]; in gve_rx_get_qpl() 1174 struct gve_rx_ring *rx; in gve_unreg_xsk_pool() 1192 struct gve_rx_ring *rx; in gve_reg_xsk_pool() 1220 struct gve_rx_ring *rx = &priv->rx[i]; in gve_unreg_xdp_info() 1240 struct gve_rx_ring *rx; in gve_reg_xdp_info() 2569 struct gve_rx_ring *gve_per_q_mem; in gve_rx_queue_stop() 2599 gve_per_q_mem = (struct gve_rx_ring *)per_q_mem; in gve_rx_queue_stop() 2609 struct gve_rx_ring *gve_per_q_mem; in gve_rx_queue_mem_free() 2611 gve_per_q_mem = (struct gve_rx_ring *)per_q_mem; in gve_rx_queue_mem_free() 2626 struct gve_rx_ring *gve_per_q_mem; in gve_rx_queue_mem_alloc() [all …]
|
| H A D | gve_utils.c | 61 struct gve_rx_ring *rx = &priv->rx[queue_idx]; in gve_rx_add_to_block()
|
| H A D | gve_ethtool.c | 206 struct gve_rx_ring *rx = &priv->rx[ring]; in gve_get_ethtool_stats() 324 struct gve_rx_ring *rx = &priv->rx[ring]; in gve_get_ethtool_stats()
|
| H A D | gve_tx.c | 976 struct gve_rx_ring *rx = rx_block->rx; in gve_xsk_tx_poll()
|
| H A D | gve_adminq.c | 757 struct gve_rx_ring *rx = &priv->rx[queue_index]; in gve_adminq_get_create_rx_queue_cmd()
|
| H A D | gve_tx_dqo.c | 1499 struct gve_rx_ring *rx = rx_block->rx; in gve_xsk_tx_poll_dqo()
|