Lines Matching refs:dev

33 typedef int  (*eth_dev_configure_t)(struct rte_eth_dev *dev);
36 typedef int (*eth_dev_start_t)(struct rte_eth_dev *dev);
39 typedef int (*eth_dev_stop_t)(struct rte_eth_dev *dev);
42 typedef int (*eth_dev_set_link_up_t)(struct rte_eth_dev *dev);
45 typedef int (*eth_dev_set_link_down_t)(struct rte_eth_dev *dev);
48 typedef int (*eth_dev_close_t)(struct rte_eth_dev *dev);
51 typedef int (*eth_dev_reset_t)(struct rte_eth_dev *dev);
54 typedef int (*eth_is_removed_t)(struct rte_eth_dev *dev);
80 typedef int (*eth_promiscuous_enable_t)(struct rte_eth_dev *dev);
105 typedef int (*eth_promiscuous_disable_t)(struct rte_eth_dev *dev);
130 typedef int (*eth_allmulticast_enable_t)(struct rte_eth_dev *dev);
155 typedef int (*eth_allmulticast_disable_t)(struct rte_eth_dev *dev);
157 typedef int (*eth_link_update_t)(struct rte_eth_dev *dev,
161 typedef int (*eth_stats_get_t)(struct rte_eth_dev *dev,
184 typedef int (*eth_stats_reset_t)(struct rte_eth_dev *dev);
186 typedef int (*eth_xstats_get_t)(struct rte_eth_dev *dev,
190 typedef int (*eth_xstats_get_by_id_t)(struct rte_eth_dev *dev,
215 typedef int (*eth_xstats_reset_t)(struct rte_eth_dev *dev);
217 typedef int (*eth_xstats_get_names_t)(struct rte_eth_dev *dev,
221 typedef int (*eth_xstats_get_names_by_id_t)(struct rte_eth_dev *dev,
226 typedef int (*eth_queue_stats_mapping_set_t)(struct rte_eth_dev *dev,
232 typedef int (*eth_dev_infos_get_t)(struct rte_eth_dev *dev,
236 typedef const uint32_t *(*eth_dev_supported_ptypes_get_t)(struct rte_eth_dev *dev);
251 typedef int (*eth_dev_ptypes_set_t)(struct rte_eth_dev *dev,
254 typedef int (*eth_queue_start_t)(struct rte_eth_dev *dev,
258 typedef int (*eth_queue_stop_t)(struct rte_eth_dev *dev,
262 typedef int (*eth_rx_queue_setup_t)(struct rte_eth_dev *dev,
270 typedef int (*eth_tx_queue_setup_t)(struct rte_eth_dev *dev,
277 typedef int (*eth_rx_enable_intr_t)(struct rte_eth_dev *dev,
281 typedef int (*eth_rx_disable_intr_t)(struct rte_eth_dev *dev,
288 typedef int (*eth_fw_version_get_t)(struct rte_eth_dev *dev,
295 typedef void (*eth_rxq_info_get_t)(struct rte_eth_dev *dev,
298 typedef void (*eth_txq_info_get_t)(struct rte_eth_dev *dev,
301 typedef int (*eth_burst_mode_get_t)(struct rte_eth_dev *dev,
304 typedef int (*mtu_set_t)(struct rte_eth_dev *dev, uint16_t mtu);
307 typedef int (*vlan_filter_set_t)(struct rte_eth_dev *dev,
312 typedef int (*vlan_tpid_set_t)(struct rte_eth_dev *dev,
316 typedef int (*vlan_offload_set_t)(struct rte_eth_dev *dev, int mask);
319 typedef int (*vlan_pvid_set_t)(struct rte_eth_dev *dev,
324 typedef void (*vlan_strip_queue_set_t)(struct rte_eth_dev *dev,
329 typedef int (*flow_ctrl_get_t)(struct rte_eth_dev *dev,
333 typedef int (*flow_ctrl_set_t)(struct rte_eth_dev *dev,
337 typedef int (*priority_flow_ctrl_set_t)(struct rte_eth_dev *dev,
341 typedef int (*reta_update_t)(struct rte_eth_dev *dev,
346 typedef int (*reta_query_t)(struct rte_eth_dev *dev,
351 typedef int (*rss_hash_update_t)(struct rte_eth_dev *dev,
355 typedef int (*rss_hash_conf_get_t)(struct rte_eth_dev *dev,
359 typedef int (*eth_dev_led_on_t)(struct rte_eth_dev *dev);
362 typedef int (*eth_dev_led_off_t)(struct rte_eth_dev *dev);
365 typedef void (*eth_mac_addr_remove_t)(struct rte_eth_dev *dev, uint32_t index);
368 typedef int (*eth_mac_addr_add_t)(struct rte_eth_dev *dev,
374 typedef int (*eth_mac_addr_set_t)(struct rte_eth_dev *dev,
378 typedef int (*eth_uc_hash_table_set_t)(struct rte_eth_dev *dev,
383 typedef int (*eth_uc_all_hash_table_set_t)(struct rte_eth_dev *dev,
387 typedef int (*eth_set_queue_rate_limit_t)(struct rte_eth_dev *dev,
392 typedef int (*eth_mirror_rule_set_t)(struct rte_eth_dev *dev,
398 typedef int (*eth_mirror_rule_reset_t)(struct rte_eth_dev *dev,
402 typedef int (*eth_udp_tunnel_port_add_t)(struct rte_eth_dev *dev,
406 typedef int (*eth_udp_tunnel_port_del_t)(struct rte_eth_dev *dev,
410 typedef int (*eth_set_mc_addr_list_t)(struct rte_eth_dev *dev,
415 typedef int (*eth_timesync_enable_t)(struct rte_eth_dev *dev);
418 typedef int (*eth_timesync_disable_t)(struct rte_eth_dev *dev);
421 typedef int (*eth_timesync_read_rx_timestamp_t)(struct rte_eth_dev *dev,
426 typedef int (*eth_timesync_read_tx_timestamp_t)(struct rte_eth_dev *dev,
430 typedef int (*eth_timesync_adjust_time)(struct rte_eth_dev *dev, int64_t);
433 typedef int (*eth_timesync_read_time)(struct rte_eth_dev *dev,
437 typedef int (*eth_timesync_write_time)(struct rte_eth_dev *dev,
441 typedef int (*eth_read_clock)(struct rte_eth_dev *dev,
445 typedef int (*eth_get_reg_t)(struct rte_eth_dev *dev,
449 typedef int (*eth_get_eeprom_length_t)(struct rte_eth_dev *dev);
452 typedef int (*eth_get_eeprom_t)(struct rte_eth_dev *dev,
456 typedef int (*eth_set_eeprom_t)(struct rte_eth_dev *dev,
460 typedef int (*eth_get_module_info_t)(struct rte_eth_dev *dev,
464 typedef int (*eth_get_module_eeprom_t)(struct rte_eth_dev *dev,
491 typedef int (*eth_filter_ctrl_t)(struct rte_eth_dev *dev,
497 typedef int (*eth_tm_ops_get_t)(struct rte_eth_dev *dev, void *ops);
500 typedef int (*eth_mtr_ops_get_t)(struct rte_eth_dev *dev, void *ops);
503 typedef int (*eth_get_dcb_info)(struct rte_eth_dev *dev,
507 typedef int (*eth_pool_ops_supported_t)(struct rte_eth_dev *dev,
528 typedef int (*eth_hairpin_cap_get_t)(struct rte_eth_dev *dev,
557 (struct rte_eth_dev *dev, uint16_t rx_queue_id,
587 (struct rte_eth_dev *dev, uint16_t tx_queue_id,
619 typedef int (*eth_fec_get_capability_t)(struct rte_eth_dev *dev,
644 typedef int (*eth_fec_get_t)(struct rte_eth_dev *dev,
670 typedef int (*eth_fec_set_t)(struct rte_eth_dev *dev, uint32_t fec_capa);
699 typedef int (*hairpin_get_peer_ports_t)(struct rte_eth_dev *dev,
724 typedef int (*eth_hairpin_bind_t)(struct rte_eth_dev *dev,
748 typedef int (*eth_hairpin_unbind_t)(struct rte_eth_dev *dev,
752 (struct rte_eth_dev *dev, uint16_t peer_queue,
758 (struct rte_eth_dev *dev, uint16_t cur_queue,
763 (struct rte_eth_dev *dev, uint16_t cur_queue, uint32_t direction);
942 int rte_eth_dev_is_rx_hairpin_queue(struct rte_eth_dev *dev, uint16_t queue_id);
957 int rte_eth_dev_is_tx_hairpin_queue(struct rte_eth_dev *dev, uint16_t queue_id);
1028 void rte_eth_dev_internal_reset(struct rte_eth_dev *dev);
1048 int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
1064 void rte_eth_dev_probing_finish(struct rte_eth_dev *dev);
1124 rte_eth_linkstatus_set(struct rte_eth_dev *dev, in rte_eth_linkstatus_set() argument
1127 uint64_t *dev_link = (uint64_t *)&(dev->data->dev_link); in rte_eth_linkstatus_set()
1151 rte_eth_linkstatus_get(const struct rte_eth_dev *dev, in rte_eth_linkstatus_get() argument
1154 uint64_t *src = (uint64_t *)&(dev->data->dev_link); in rte_eth_linkstatus_get()