Home
last modified time | relevance | path

Searched refs:gve_priv (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/google/gve/
A Dgve.h86 struct gve_priv;
168 struct gve_priv *gve;
462 struct gve_priv *priv;
508 struct gve_priv { struct
852 static inline bool gve_is_gqi(struct gve_priv *priv) in gve_is_gqi()
867 int gve_tx_alloc_rings(struct gve_priv *priv);
868 void gve_tx_free_rings_gqi(struct gve_priv *priv);
876 int gve_rx_alloc_rings(struct gve_priv *priv);
877 void gve_rx_free_rings_gqi(struct gve_priv *priv);
879 void gve_schedule_reset(struct gve_priv *priv);
[all …]
A Dgve_dqo.h38 int gve_tx_alloc_rings_dqo(struct gve_priv *priv);
39 void gve_tx_free_rings_dqo(struct gve_priv *priv);
40 int gve_rx_alloc_rings_dqo(struct gve_priv *priv);
41 void gve_rx_free_rings_dqo(struct gve_priv *priv);
42 int gve_clean_tx_done_dqo(struct gve_priv *priv, struct gve_tx_ring *tx,
45 void gve_rx_write_doorbell_dqo(const struct gve_priv *priv, int queue_idx);
48 gve_tx_put_doorbell_dqo(const struct gve_priv *priv, in gve_tx_put_doorbell_dqo()
74 gve_write_irq_doorbell_dqo(const struct gve_priv *priv, in gve_write_irq_doorbell_dqo()
86 gve_set_itr_coalesce_usecs_dqo(struct gve_priv *priv, in gve_set_itr_coalesce_usecs_dqo()
A Dgve_adminq.h403 int gve_adminq_alloc(struct device *dev, struct gve_priv *priv);
404 void gve_adminq_free(struct device *dev, struct gve_priv *priv);
405 void gve_adminq_release(struct gve_priv *priv);
406 int gve_adminq_describe_device(struct gve_priv *priv);
407 int gve_adminq_configure_device_resources(struct gve_priv *priv,
412 int gve_adminq_deconfigure_device_resources(struct gve_priv *priv);
417 int gve_adminq_register_page_list(struct gve_priv *priv,
420 int gve_adminq_set_mtu(struct gve_priv *priv, u64 mtu);
423 int gve_adminq_verify_driver_compatibility(struct gve_priv *priv,
426 int gve_adminq_report_link_speed(struct gve_priv *priv);
[all …]
A Dgve_main.c80 struct gve_priv *priv = netdev_priv(dev); in gve_start_xmit()
90 struct gve_priv *priv = netdev_priv(dev); in gve_get_stats()
151 struct gve_priv *priv = container_of(work, struct gve_priv, in gve_stats_report_task()
212 struct gve_priv *priv = arg; in gve_mgmnt_intr()
221 struct gve_priv *priv = block->priv; in gve_intr()
242 struct gve_priv *priv; in gve_napi_poll()
283 struct gve_priv *priv = block->priv; in gve_napi_poll_dqo()
974 struct gve_priv *priv = netdev_priv(dev); in gve_open()
1181 struct gve_priv *priv; in gve_tx_timeout()
1392 struct gve_priv *priv = container_of(work, struct gve_priv, in gve_service_task()
[all …]
A Dgve_adminq.c36 void gve_parse_device_option(struct gve_priv *priv, in gve_parse_device_option()
144 gve_process_device_options(struct gve_priv *priv, in gve_process_device_options()
209 void gve_adminq_release(struct gve_priv *priv) in gve_adminq_release()
335 static int gve_adminq_issue_cmd(struct gve_priv *priv, in gve_adminq_issue_cmd()
425 static int gve_adminq_execute_cmd(struct gve_priv *priv, in gve_adminq_execute_cmd()
653 static int gve_set_desc_cnt(struct gve_priv *priv, in gve_set_desc_cnt()
673 gve_set_desc_cnt_dqo(struct gve_priv *priv, in gve_set_desc_cnt_dqo()
704 int gve_adminq_describe_device(struct gve_priv *priv) in gve_adminq_describe_device()
854 int gve_adminq_set_mtu(struct gve_priv *priv, u64 mtu) in gve_adminq_set_mtu()
900 int gve_adminq_report_link_speed(struct gve_priv *priv) in gve_adminq_report_link_speed()
[all …]
A Dgve_utils.h14 void gve_tx_remove_from_block(struct gve_priv *priv, int queue_idx);
15 void gve_tx_add_to_block(struct gve_priv *priv, int queue_idx);
17 void gve_rx_remove_from_block(struct gve_priv *priv, int queue_idx);
18 void gve_rx_add_to_block(struct gve_priv *priv, int queue_idx);
A Dgve_ethtool.c16 struct gve_priv *priv = netdev_priv(netdev); in gve_get_drvinfo()
25 struct gve_priv *priv = netdev_priv(netdev); in gve_set_msglevel()
32 struct gve_priv *priv = netdev_priv(netdev); in gve_get_msglevel()
82 struct gve_priv *priv = netdev_priv(netdev); in gve_get_strings()
126 struct gve_priv *priv = netdev_priv(netdev); in gve_get_sset_count()
153 struct gve_priv *priv; in gve_get_ethtool_stats()
384 struct gve_priv *priv = netdev_priv(netdev); in gve_get_channels()
399 struct gve_priv *priv = netdev_priv(netdev); in gve_set_channels()
432 struct gve_priv *priv = netdev_priv(netdev); in gve_get_ringparam()
442 struct gve_priv *priv = netdev_priv(netdev); in gve_user_reset()
[all …]
A Dgve_utils.c11 void gve_tx_remove_from_block(struct gve_priv *priv, int queue_idx) in gve_tx_remove_from_block()
19 void gve_tx_add_to_block(struct gve_priv *priv, int queue_idx) in gve_tx_add_to_block()
33 void gve_rx_remove_from_block(struct gve_priv *priv, int queue_idx) in gve_rx_remove_from_block()
41 void gve_rx_add_to_block(struct gve_priv *priv, int queue_idx) in gve_rx_add_to_block()
A Dgve_tx.c15 static inline void gve_tx_put_doorbell(struct gve_priv *priv, in gve_tx_put_doorbell()
30 static int gve_tx_fifo_init(struct gve_priv *priv, struct gve_tx_fifo *fifo) in gve_tx_fifo_init()
135 static int gve_clean_tx_done(struct gve_priv *priv, struct gve_tx_ring *tx,
138 static void gve_tx_free_ring(struct gve_priv *priv, int idx) in gve_tx_free_ring()
170 static int gve_tx_alloc_ring(struct gve_priv *priv, int idx) in gve_tx_alloc_ring()
236 int gve_tx_alloc_rings(struct gve_priv *priv) in gve_tx_alloc_rings()
260 void gve_tx_free_rings_gqi(struct gve_priv *priv) in gve_tx_free_rings_gqi()
611 struct gve_priv *priv = netdev_priv(dev); in gve_tx()
714 u32 gve_tx_load_event_counter(struct gve_priv *priv, in gve_tx_load_event_counter()
725 struct gve_priv *priv = block->priv; in gve_tx_poll()
[all …]
A Dgve_rx_dqo.c24 static void gve_free_page_dqo(struct gve_priv *priv, in gve_free_page_dqo()
154 static int gve_alloc_page_dqo(struct gve_priv *priv, in gve_alloc_page_dqo()
176 static void gve_rx_free_ring_dqo(struct gve_priv *priv, int idx) in gve_rx_free_ring_dqo()
224 static int gve_rx_alloc_ring_dqo(struct gve_priv *priv, int idx) in gve_rx_alloc_ring_dqo()
292 void gve_rx_write_doorbell_dqo(const struct gve_priv *priv, int queue_idx) in gve_rx_write_doorbell_dqo()
300 int gve_rx_alloc_rings_dqo(struct gve_priv *priv) in gve_rx_alloc_rings_dqo()
324 void gve_rx_free_rings_dqo(struct gve_priv *priv) in gve_rx_free_rings_dqo()
336 struct gve_priv *priv = rx->gve; in gve_rx_post_buffers_dqo()
379 static void gve_try_recycle_buf(struct gve_priv *priv, struct gve_rx_ring *rx, in gve_try_recycle_buf()
484 struct gve_priv *priv) in gve_rx_append_frags()
[all …]
A Dgve_rx.c23 static void gve_rx_unfill_pages(struct gve_priv *priv, struct gve_rx_ring *rx) in gve_rx_unfill_pages()
49 static void gve_rx_free_ring(struct gve_priv *priv, int idx) in gve_rx_free_ring()
91 static int gve_rx_alloc_buffer(struct gve_priv *priv, struct device *dev, in gve_rx_alloc_buffer()
110 struct gve_priv *priv = rx->gve; in gve_prefill_rx_pages()
193 static int gve_rx_alloc_ring(struct gve_priv *priv, int idx) in gve_rx_alloc_ring()
298 int gve_rx_alloc_rings(struct gve_priv *priv) in gve_rx_alloc_rings()
322 void gve_rx_free_rings_gqi(struct gve_priv *priv) in gve_rx_free_rings_gqi()
330 void gve_rx_write_doorbell(struct gve_priv *priv, struct gve_rx_ring *rx) in gve_rx_write_doorbell()
548 static struct sk_buff *gve_rx_skb(struct gve_priv *priv, struct gve_rx_ring *rx, in gve_rx_skb()
604 struct gve_priv *priv = rx->gve; in gve_rx()
[all …]
A Dgve_tx_dqo.c107 static void gve_tx_free_ring_dqo(struct gve_priv *priv, int idx) in gve_tx_free_ring_dqo()
141 static int gve_tx_alloc_ring_dqo(struct gve_priv *priv, int idx) in gve_tx_alloc_ring_dqo()
222 int gve_tx_alloc_rings_dqo(struct gve_priv *priv) in gve_tx_alloc_rings_dqo()
246 void gve_tx_free_rings_dqo(struct gve_priv *priv) in gve_tx_free_rings_dqo()
632 static int gve_try_tx_skb(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_try_tx_skb()
684 struct gve_priv *priv = netdev_priv(dev); in gve_tx_dqo()
765 static void gve_handle_packet_completion(struct gve_priv *priv, in gve_handle_packet_completion()
825 static void gve_handle_miss_completion(struct gve_priv *priv, in gve_handle_miss_completion()
858 static void remove_miss_completions(struct gve_priv *priv, in remove_miss_completions()
901 static void remove_timed_out_completions(struct gve_priv *priv, in remove_timed_out_completions()
[all …]

Completed in 27 milliseconds