Lines Matching refs:dev
197 typedef int (*eth_dev_configure_t)(struct rte_eth_dev *dev);
200 typedef int (*eth_dev_start_t)(struct rte_eth_dev *dev);
203 typedef int (*eth_dev_stop_t)(struct rte_eth_dev *dev);
206 typedef int (*eth_dev_set_link_up_t)(struct rte_eth_dev *dev);
209 typedef int (*eth_dev_set_link_down_t)(struct rte_eth_dev *dev);
212 typedef int (*eth_dev_close_t)(struct rte_eth_dev *dev);
215 typedef int (*eth_dev_reset_t)(struct rte_eth_dev *dev);
218 typedef int (*eth_is_removed_t)(struct rte_eth_dev *dev);
243 typedef int (*eth_promiscuous_enable_t)(struct rte_eth_dev *dev);
268 typedef int (*eth_promiscuous_disable_t)(struct rte_eth_dev *dev);
293 typedef int (*eth_allmulticast_enable_t)(struct rte_eth_dev *dev);
318 typedef int (*eth_allmulticast_disable_t)(struct rte_eth_dev *dev);
324 typedef int (*eth_link_update_t)(struct rte_eth_dev *dev,
328 typedef int (*eth_stats_get_t)(struct rte_eth_dev *dev,
350 typedef int (*eth_stats_reset_t)(struct rte_eth_dev *dev);
353 typedef int (*eth_xstats_get_t)(struct rte_eth_dev *dev,
374 typedef int (*eth_xstats_get_by_id_t)(struct rte_eth_dev *dev,
398 typedef int (*eth_xstats_reset_t)(struct rte_eth_dev *dev);
401 typedef int (*eth_xstats_get_names_t)(struct rte_eth_dev *dev,
422 typedef int (*eth_xstats_get_names_by_id_t)(struct rte_eth_dev *dev,
430 typedef int (*eth_queue_stats_mapping_set_t)(struct rte_eth_dev *dev,
436 typedef int (*eth_dev_infos_get_t)(struct rte_eth_dev *dev,
440 typedef const uint32_t *(*eth_dev_supported_ptypes_get_t)(struct rte_eth_dev *dev);
454 typedef int (*eth_dev_ptypes_set_t)(struct rte_eth_dev *dev,
458 typedef int (*eth_queue_start_t)(struct rte_eth_dev *dev,
462 typedef int (*eth_queue_stop_t)(struct rte_eth_dev *dev,
466 typedef int (*eth_rx_queue_setup_t)(struct rte_eth_dev *dev,
474 typedef int (*eth_tx_queue_setup_t)(struct rte_eth_dev *dev,
481 typedef int (*eth_rx_enable_intr_t)(struct rte_eth_dev *dev,
485 typedef int (*eth_rx_disable_intr_t)(struct rte_eth_dev *dev,
489 typedef void (*eth_queue_release_t)(struct rte_eth_dev *dev,
493 typedef int (*eth_fw_version_get_t)(struct rte_eth_dev *dev,
499 typedef void (*eth_rxq_info_get_t)(struct rte_eth_dev *dev,
502 typedef void (*eth_txq_info_get_t)(struct rte_eth_dev *dev,
505 typedef int (*eth_burst_mode_get_t)(struct rte_eth_dev *dev,
509 typedef int (*mtu_set_t)(struct rte_eth_dev *dev, uint16_t mtu);
512 typedef int (*vlan_filter_set_t)(struct rte_eth_dev *dev,
517 typedef int (*vlan_tpid_set_t)(struct rte_eth_dev *dev,
521 typedef int (*vlan_offload_set_t)(struct rte_eth_dev *dev, int mask);
524 typedef int (*vlan_pvid_set_t)(struct rte_eth_dev *dev,
529 typedef void (*vlan_strip_queue_set_t)(struct rte_eth_dev *dev,
534 typedef int (*flow_ctrl_get_t)(struct rte_eth_dev *dev,
538 typedef int (*flow_ctrl_set_t)(struct rte_eth_dev *dev,
542 typedef int (*priority_flow_ctrl_set_t)(struct rte_eth_dev *dev,
546 typedef int (*priority_flow_ctrl_queue_info_get_t)(struct rte_eth_dev *dev,
549 typedef int (*priority_flow_ctrl_queue_config_t)(struct rte_eth_dev *dev,
553 typedef int (*reta_update_t)(struct rte_eth_dev *dev,
558 typedef int (*reta_query_t)(struct rte_eth_dev *dev,
563 typedef int (*rss_hash_update_t)(struct rte_eth_dev *dev,
567 typedef int (*rss_hash_conf_get_t)(struct rte_eth_dev *dev,
571 typedef int (*eth_dev_led_on_t)(struct rte_eth_dev *dev);
574 typedef int (*eth_dev_led_off_t)(struct rte_eth_dev *dev);
577 typedef void (*eth_mac_addr_remove_t)(struct rte_eth_dev *dev, uint32_t index);
580 typedef int (*eth_mac_addr_add_t)(struct rte_eth_dev *dev,
586 typedef int (*eth_mac_addr_set_t)(struct rte_eth_dev *dev,
590 typedef int (*eth_uc_hash_table_set_t)(struct rte_eth_dev *dev,
595 typedef int (*eth_uc_all_hash_table_set_t)(struct rte_eth_dev *dev,
599 typedef int (*eth_set_queue_rate_limit_t)(struct rte_eth_dev *dev,
604 typedef int (*eth_udp_tunnel_port_add_t)(struct rte_eth_dev *dev,
608 typedef int (*eth_udp_tunnel_port_del_t)(struct rte_eth_dev *dev,
612 typedef int (*eth_set_mc_addr_list_t)(struct rte_eth_dev *dev,
617 typedef int (*eth_timesync_enable_t)(struct rte_eth_dev *dev);
620 typedef int (*eth_timesync_disable_t)(struct rte_eth_dev *dev);
623 typedef int (*eth_timesync_read_rx_timestamp_t)(struct rte_eth_dev *dev,
628 typedef int (*eth_timesync_read_tx_timestamp_t)(struct rte_eth_dev *dev,
632 typedef int (*eth_timesync_adjust_time)(struct rte_eth_dev *dev, int64_t);
635 typedef int (*eth_timesync_read_time)(struct rte_eth_dev *dev,
639 typedef int (*eth_timesync_write_time)(struct rte_eth_dev *dev,
643 typedef int (*eth_read_clock)(struct rte_eth_dev *dev,
647 typedef int (*eth_get_reg_t)(struct rte_eth_dev *dev,
651 typedef int (*eth_get_eeprom_length_t)(struct rte_eth_dev *dev);
654 typedef int (*eth_get_eeprom_t)(struct rte_eth_dev *dev,
658 typedef int (*eth_set_eeprom_t)(struct rte_eth_dev *dev,
662 typedef int (*eth_get_module_info_t)(struct rte_eth_dev *dev,
666 typedef int (*eth_get_module_eeprom_t)(struct rte_eth_dev *dev,
677 typedef int (*eth_flow_ops_get_t)(struct rte_eth_dev *dev,
681 typedef int (*eth_tm_ops_get_t)(struct rte_eth_dev *dev, void *ops);
684 typedef int (*eth_mtr_ops_get_t)(struct rte_eth_dev *dev, void *ops);
687 typedef int (*eth_get_dcb_info)(struct rte_eth_dev *dev,
691 typedef int (*eth_pool_ops_supported_t)(struct rte_eth_dev *dev,
711 typedef int (*eth_hairpin_cap_get_t)(struct rte_eth_dev *dev,
740 (struct rte_eth_dev *dev, uint16_t rx_queue_id,
770 (struct rte_eth_dev *dev, uint16_t tx_queue_id,
802 typedef int (*eth_fec_get_capability_t)(struct rte_eth_dev *dev,
827 typedef int (*eth_fec_get_t)(struct rte_eth_dev *dev,
853 typedef int (*eth_fec_set_t)(struct rte_eth_dev *dev, uint32_t fec_capa);
882 typedef int (*hairpin_get_peer_ports_t)(struct rte_eth_dev *dev,
907 typedef int (*eth_hairpin_bind_t)(struct rte_eth_dev *dev,
931 typedef int (*eth_hairpin_unbind_t)(struct rte_eth_dev *dev,
936 (struct rte_eth_dev *dev, uint16_t peer_queue,
942 (struct rte_eth_dev *dev, uint16_t cur_queue,
947 (struct rte_eth_dev *dev, uint16_t cur_queue, uint32_t direction);
990 typedef int (*eth_representor_info_get_t)(struct rte_eth_dev *dev,
1006 typedef int (*eth_rx_metadata_negotiate_t)(struct rte_eth_dev *dev,
1022 typedef int (*eth_ip_reassembly_capability_get_t)(struct rte_eth_dev *dev,
1038 typedef int (*eth_ip_reassembly_conf_get_t)(struct rte_eth_dev *dev,
1054 typedef int (*eth_ip_reassembly_conf_set_t)(struct rte_eth_dev *dev,
1074 typedef int (*eth_dev_priv_dump_t)(struct rte_eth_dev *dev, FILE *file);
1301 int rte_eth_dev_is_rx_hairpin_queue(struct rte_eth_dev *dev, uint16_t queue_id);
1316 int rte_eth_dev_is_tx_hairpin_queue(struct rte_eth_dev *dev, uint16_t queue_id);
1387 void rte_eth_dev_internal_reset(struct rte_eth_dev *dev);
1407 int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
1423 void rte_eth_dev_probing_finish(struct rte_eth_dev *dev);
1483 rte_eth_linkstatus_set(struct rte_eth_dev *dev, in rte_eth_linkstatus_set() argument
1486 uint64_t *dev_link = (uint64_t *)&(dev->data->dev_link); in rte_eth_linkstatus_set()
1510 rte_eth_linkstatus_get(const struct rte_eth_dev *dev, in rte_eth_linkstatus_get() argument
1513 uint64_t *src = (uint64_t *)&(dev->data->dev_link); in rte_eth_linkstatus_get()