Searched refs:gve_priv (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
D | gve.h | 73 struct gve_priv; 77 struct gve_priv *gve; 165 struct gve_priv *priv; 182 struct gve_priv { struct 282 static inline bool gve_get_do_reset(struct gve_priv *priv) in gve_get_do_reset() argument 287 static inline void gve_set_do_reset(struct gve_priv *priv) in gve_set_do_reset() 292 static inline void gve_clear_do_reset(struct gve_priv *priv) in gve_clear_do_reset() 297 static inline bool gve_get_reset_in_progress(struct gve_priv *priv) in gve_get_reset_in_progress() 303 static inline void gve_set_reset_in_progress(struct gve_priv *priv) in gve_set_reset_in_progress() 308 static inline void gve_clear_reset_in_progress(struct gve_priv *priv) in gve_clear_reset_in_progress() [all …]
|
D | gve_adminq.h | 247 int gve_adminq_alloc(struct device *dev, struct gve_priv *priv); 248 void gve_adminq_free(struct device *dev, struct gve_priv *priv); 249 void gve_adminq_release(struct gve_priv *priv); 250 int gve_adminq_describe_device(struct gve_priv *priv); 251 int gve_adminq_configure_device_resources(struct gve_priv *priv, 256 int gve_adminq_deconfigure_device_resources(struct gve_priv *priv); 257 int gve_adminq_create_tx_queues(struct gve_priv *priv, u32 num_queues); 258 int gve_adminq_destroy_tx_queues(struct gve_priv *priv, u32 queue_id); 259 int gve_adminq_create_rx_queues(struct gve_priv *priv, u32 num_queues); 260 int gve_adminq_destroy_rx_queues(struct gve_priv *priv, u32 queue_id); [all …]
|
D | gve_adminq.c | 17 int gve_adminq_alloc(struct device *dev, struct gve_priv *priv) in gve_adminq_alloc() 49 void gve_adminq_release(struct gve_priv *priv) in gve_adminq_release() 70 void gve_adminq_free(struct device *dev, struct gve_priv *priv) in gve_adminq_free() 79 static void gve_adminq_kick_cmd(struct gve_priv *priv, u32 prod_cnt) in gve_adminq_kick_cmd() 84 static bool gve_adminq_wait_for_cmd(struct gve_priv *priv, u32 prod_cnt) in gve_adminq_wait_for_cmd() 98 static int gve_adminq_parse_err(struct gve_priv *priv, u32 status) in gve_adminq_parse_err() 142 static int gve_adminq_kick_and_wait(struct gve_priv *priv) in gve_adminq_kick_and_wait() 175 static int gve_adminq_issue_cmd(struct gve_priv *priv, in gve_adminq_issue_cmd() 259 static int gve_adminq_execute_cmd(struct gve_priv *priv, union gve_adminq_command *cmd_orig) in gve_adminq_execute_cmd() 285 int gve_adminq_configure_device_resources(struct gve_priv *priv, in gve_adminq_configure_device_resources() [all …]
|
D | gve_main.c | 34 struct gve_priv *priv = netdev_priv(dev); in gve_get_stats() 67 static int gve_alloc_counter_array(struct gve_priv *priv) in gve_alloc_counter_array() 80 static void gve_free_counter_array(struct gve_priv *priv) in gve_free_counter_array() 95 struct gve_priv *priv = container_of(work, struct gve_priv, in gve_stats_report_task() 103 static void gve_stats_report_schedule(struct gve_priv *priv) in gve_stats_report_schedule() 114 struct gve_priv *priv = from_timer(priv, t, stats_report_timer); in gve_stats_report_timer() 122 static int gve_alloc_stats_report(struct gve_priv *priv) in gve_alloc_stats_report() 143 static void gve_free_stats_report(struct gve_priv *priv) in gve_free_stats_report() 156 struct gve_priv *priv = arg; in gve_mgmnt_intr() 165 struct gve_priv *priv = block->priv; in gve_intr() [all …]
|
D | gve_ethtool.c | 14 struct gve_priv *priv = netdev_priv(netdev); in gve_get_drvinfo() 23 struct gve_priv *priv = netdev_priv(netdev); in gve_set_msglevel() 30 struct gve_priv *priv = netdev_priv(netdev); in gve_get_msglevel() 77 struct gve_priv *priv = netdev_priv(netdev); in gve_get_strings() 121 struct gve_priv *priv = netdev_priv(netdev); in gve_get_sset_count() 147 struct gve_priv *priv; in gve_get_ethtool_stats() 364 struct gve_priv *priv = netdev_priv(netdev); in gve_get_channels() 379 struct gve_priv *priv = netdev_priv(netdev); in gve_set_channels() 410 struct gve_priv *priv = netdev_priv(netdev); in gve_get_ringparam() 420 struct gve_priv *priv = netdev_priv(netdev); in gve_user_reset() [all …]
|
D | gve_tx.c | 14 static inline void gve_tx_put_doorbell(struct gve_priv *priv, in gve_tx_put_doorbell() 29 static int gve_tx_fifo_init(struct gve_priv *priv, struct gve_tx_fifo *fifo) in gve_tx_fifo_init() 45 static void gve_tx_fifo_release(struct gve_priv *priv, struct gve_tx_fifo *fifo) in gve_tx_fifo_release() 134 static void gve_tx_remove_from_block(struct gve_priv *priv, int queue_idx) in gve_tx_remove_from_block() 142 static int gve_clean_tx_done(struct gve_priv *priv, struct gve_tx_ring *tx, 145 static void gve_tx_free_ring(struct gve_priv *priv, int idx) in gve_tx_free_ring() 175 static void gve_tx_add_to_block(struct gve_priv *priv, int queue_idx) in gve_tx_add_to_block() 185 static int gve_tx_alloc_ring(struct gve_priv *priv, int idx) in gve_tx_alloc_ring() 245 int gve_tx_alloc_rings(struct gve_priv *priv) in gve_tx_alloc_rings() 269 void gve_tx_free_rings(struct gve_priv *priv) in gve_tx_free_rings() [all …]
|
D | gve_rx.c | 11 static void gve_rx_remove_from_block(struct gve_priv *priv, int queue_idx) in gve_rx_remove_from_block() 19 static void gve_rx_free_ring(struct gve_priv *priv, int idx) in gve_rx_free_ring() 60 struct gve_priv *priv = rx->gve; in gve_prefill_rx_pages() 87 static void gve_rx_add_to_block(struct gve_priv *priv, int queue_idx) in gve_rx_add_to_block() 97 static int gve_rx_alloc_ring(struct gve_priv *priv, int idx) in gve_rx_alloc_ring() 180 int gve_rx_alloc_rings(struct gve_priv *priv) in gve_rx_alloc_rings() 204 void gve_rx_free_rings(struct gve_priv *priv) in gve_rx_free_rings() 212 void gve_rx_write_doorbell(struct gve_priv *priv, struct gve_rx_ring *rx) in gve_rx_write_doorbell() 285 struct gve_priv *priv = rx->gve; in gve_rx() 405 struct gve_priv *priv = rx->gve; in gve_clean_rx_done()
|