Lines Matching refs:rte_eth_devices

49 struct rte_eth_dev rte_eth_devices[RTE_MAX_ETHPORTS];  variable
336 rte_eth_devices[port_id].state == RTE_ETH_DEV_UNUSED) in rte_eth_find_next()
359 rte_eth_devices[port_id].device != parent) in rte_eth_find_next_of()
370 rte_eth_devices[ref_port_id].device); in rte_eth_find_next_sibling()
419 if (rte_eth_devices[i].data != NULL && in eth_dev_allocated()
420 strcmp(rte_eth_devices[i].data->name, name) == 0) in eth_dev_allocated()
421 return &rte_eth_devices[i]; in eth_dev_allocated()
450 RTE_ASSERT(rte_eth_devices[i].state == in eth_dev_find_free_port()
461 struct rte_eth_dev *eth_dev = &rte_eth_devices[port_id]; in eth_dev_get()
596 (rte_eth_devices[port_id].state == RTE_ETH_DEV_UNUSED)) in rte_eth_dev_is_valid_port()
616 rte_eth_devices[port_id].data->owner.id != owner_id) in rte_eth_find_next_owned_by()
639 struct rte_eth_dev *ethdev = &rte_eth_devices[port_id]; in eth_dev_owner_set()
656 port_owner = &rte_eth_devices[port_id].data->owner; in eth_dev_owner_set()
720 if (rte_eth_devices[port_id].data->owner.id == owner_id) in rte_eth_dev_owner_delete()
721 memset(&rte_eth_devices[port_id].data->owner, 0, in rte_eth_dev_owner_delete()
742 struct rte_eth_dev *ethdev = &rte_eth_devices[port_id]; in rte_eth_dev_owner_get()
764 return rte_eth_devices[port_id].data->numa_node; in rte_eth_dev_socket_id()
771 return rte_eth_devices[port_id].security_ctx; in rte_eth_dev_get_sec_ctx()
953 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rx_queue_start()
994 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rx_queue_stop()
1028 dev = &rte_eth_devices[port_id]; in rte_eth_dev_tx_queue_start()
1067 dev = &rte_eth_devices[port_id]; in rte_eth_dev_tx_queue_stop()
1300 dev = &rte_eth_devices[port_id]; in rte_eth_dev_configure()
1686 dev = &rte_eth_devices[port_id]; in rte_eth_dev_start()
1742 dev = &rte_eth_devices[port_id]; in rte_eth_dev_stop()
1767 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_link_up()
1780 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_link_down()
1794 dev = &rte_eth_devices[port_id]; in rte_eth_dev_close()
1814 dev = &rte_eth_devices[port_id]; in rte_eth_dev_reset()
1837 dev = &rte_eth_devices[port_id]; in rte_eth_dev_is_removed()
1938 dev = &rte_eth_devices[port_id]; in rte_eth_rx_queue_setup()
2123 dev = &rte_eth_devices[port_id]; in rte_eth_rx_hairpin_queue_setup()
2194 dev = &rte_eth_devices[port_id]; in rte_eth_tx_queue_setup()
2294 dev = &rte_eth_devices[port_id]; in rte_eth_tx_hairpin_queue_setup()
2359 dev = &rte_eth_devices[tx_port]; in rte_eth_hairpin_bind()
2382 dev = &rte_eth_devices[tx_port]; in rte_eth_hairpin_unbind()
2409 dev = &rte_eth_devices[port_id]; in rte_eth_hairpin_get_peer_ports()
2468 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_eth_tx_done_cleanup()
2488 dev = &rte_eth_devices[port_id]; in rte_eth_promiscuous_enable()
2508 dev = &rte_eth_devices[port_id]; in rte_eth_promiscuous_disable()
2530 dev = &rte_eth_devices[port_id]; in rte_eth_promiscuous_get()
2541 dev = &rte_eth_devices[port_id]; in rte_eth_allmulticast_enable()
2560 dev = &rte_eth_devices[port_id]; in rte_eth_allmulticast_disable()
2581 dev = &rte_eth_devices[port_id]; in rte_eth_allmulticast_get()
2591 dev = &rte_eth_devices[port_id]; in rte_eth_link_get()
2611 dev = &rte_eth_devices[port_id]; in rte_eth_link_get_nowait()
2669 dev = &rte_eth_devices[port_id]; in rte_eth_stats_get()
2684 dev = &rte_eth_devices[port_id]; in rte_eth_stats_reset()
2721 dev = &rte_eth_devices[port_id]; in eth_dev_get_xstats_count()
2844 dev = &rte_eth_devices[port_id]; in rte_eth_xstats_get_names_by_id()
2953 dev = &rte_eth_devices[port_id]; in rte_eth_xstats_get_names()
2988 dev = &rte_eth_devices[port_id]; in eth_basic_stats_get()
3048 dev = &rte_eth_devices[port_id]; in rte_eth_xstats_get_by_id()
3133 dev = &rte_eth_devices[port_id]; in rte_eth_xstats_get()
3181 dev = &rte_eth_devices[port_id]; in rte_eth_xstats_reset()
3199 dev = &rte_eth_devices[port_id]; in eth_dev_set_queue_stats_mapping()
3242 dev = &rte_eth_devices[port_id]; in rte_eth_dev_fw_version_get()
3270 dev = &rte_eth_devices[port_id]; in rte_eth_dev_info_get()
3310 dev = &rte_eth_devices[port_id]; in rte_eth_dev_get_supported_ptypes()
3347 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_ptypes()
3419 dev = &rte_eth_devices[port_id]; in rte_eth_macaddr_get()
3432 dev = &rte_eth_devices[port_id]; in rte_eth_dev_get_mtu()
3445 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_mtu()
3477 dev = &rte_eth_devices[port_id]; in rte_eth_dev_vlan_filter()
3518 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_vlan_strip_on_queue()
3538 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_vlan_ether_type()
3558 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_vlan_offload()
3644 dev = &rte_eth_devices[port_id]; in rte_eth_dev_get_vlan_offload()
3668 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_vlan_pvid()
3680 dev = &rte_eth_devices[port_id]; in rte_eth_dev_flow_ctrl_get()
3697 dev = &rte_eth_devices[port_id]; in rte_eth_dev_flow_ctrl_set()
3714 dev = &rte_eth_devices[port_id]; in rte_eth_dev_priority_flow_ctrl_set()
3785 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rss_reta_update()
3813 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rss_reta_query()
3835 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rss_hash_update()
3856 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rss_hash_conf_get()
3879 dev = &rte_eth_devices[port_id]; in rte_eth_dev_udp_tunnel_port_add()
3892 dev = &rte_eth_devices[port_id]; in rte_eth_dev_udp_tunnel_port_delete()
3915 dev = &rte_eth_devices[port_id]; in rte_eth_led_on()
3926 dev = &rte_eth_devices[port_id]; in rte_eth_led_off()
3943 dev = &rte_eth_devices[port_id]; in rte_eth_fec_get_capability()
3959 dev = &rte_eth_devices[port_id]; in rte_eth_fec_get()
3970 dev = &rte_eth_devices[port_id]; in rte_eth_fec_set()
3983 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in eth_dev_get_mac_addr_index()
4011 dev = &rte_eth_devices[port_id]; in rte_eth_dev_mac_addr_add()
4061 dev = &rte_eth_devices[port_id]; in rte_eth_dev_mac_addr_remove()
4096 dev = &rte_eth_devices[port_id]; in rte_eth_dev_default_mac_addr_set()
4119 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in eth_dev_get_hash_mac_addr_index()
4148 dev = &rte_eth_devices[port_id]; in rte_eth_dev_uc_hash_table_set()
4198 dev = &rte_eth_devices[port_id]; in rte_eth_dev_uc_all_hash_table_set()
4219 dev = &rte_eth_devices[port_id]; in rte_eth_set_queue_rate_limit()
4275 dev = &rte_eth_devices[port_id]; in rte_eth_mirror_rule_set()
4289 dev = &rte_eth_devices[port_id]; in rte_eth_mirror_rule_reset()
4301 TAILQ_INIT(&rte_eth_devices[i].link_intr_cbs); in RTE_INIT()
4332 dev = &rte_eth_devices[next_port]; in rte_eth_dev_callback_register()
4395 dev = &rte_eth_devices[next_port]; in rte_eth_dev_callback_unregister()
4472 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rx_intr_ctl()
4509 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rx_intr_ctl_q_get_fd()
4696 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rx_intr_ctl_q()
4734 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rx_intr_enable()
4754 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rx_intr_disable()
4778 queue_id >= rte_eth_devices[port_id].data->nb_rx_queues) { in rte_eth_add_rx_callback()
4782 dev = &rte_eth_devices[port_id]; in rte_eth_add_rx_callback()
4800 rte_eth_devices[port_id].post_rx_burst_cbs[queue_id]; in rte_eth_add_rx_callback()
4807 &rte_eth_devices[port_id].post_rx_burst_cbs[queue_id], in rte_eth_add_rx_callback()
4833 queue_id >= rte_eth_devices[port_id].data->nb_rx_queues) { in rte_eth_add_first_rx_callback()
4850 cb->next = rte_eth_devices[port_id].post_rx_burst_cbs[queue_id]; in rte_eth_add_first_rx_callback()
4855 &rte_eth_devices[port_id].post_rx_burst_cbs[queue_id], in rte_eth_add_first_rx_callback()
4874 queue_id >= rte_eth_devices[port_id].data->nb_tx_queues) { in rte_eth_add_tx_callback()
4879 dev = &rte_eth_devices[port_id]; in rte_eth_add_tx_callback()
4898 rte_eth_devices[port_id].pre_tx_burst_cbs[queue_id]; in rte_eth_add_tx_callback()
4905 &rte_eth_devices[port_id].pre_tx_burst_cbs[queue_id], in rte_eth_add_tx_callback()
4931 queue_id >= rte_eth_devices[port_id].data->nb_rx_queues) in rte_eth_remove_rx_callback()
4934 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_eth_remove_rx_callback()
4965 queue_id >= rte_eth_devices[port_id].data->nb_tx_queues) in rte_eth_remove_tx_callback()
4968 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_eth_remove_tx_callback()
5000 dev = &rte_eth_devices[port_id]; in rte_eth_rx_queue_info_get()
5040 dev = &rte_eth_devices[port_id]; in rte_eth_tx_queue_info_get()
5081 dev = &rte_eth_devices[port_id]; in rte_eth_rx_burst_mode_get()
5105 dev = &rte_eth_devices[port_id]; in rte_eth_tx_burst_mode_get()
5127 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_mc_addr_list()
5139 dev = &rte_eth_devices[port_id]; in rte_eth_timesync_enable()
5151 dev = &rte_eth_devices[port_id]; in rte_eth_timesync_disable()
5164 dev = &rte_eth_devices[port_id]; in rte_eth_timesync_read_rx_timestamp()
5178 dev = &rte_eth_devices[port_id]; in rte_eth_timesync_read_tx_timestamp()
5191 dev = &rte_eth_devices[port_id]; in rte_eth_timesync_adjust_time()
5204 dev = &rte_eth_devices[port_id]; in rte_eth_timesync_read_time()
5217 dev = &rte_eth_devices[port_id]; in rte_eth_timesync_write_time()
5230 dev = &rte_eth_devices[port_id]; in rte_eth_read_clock()
5243 dev = &rte_eth_devices[port_id]; in rte_eth_dev_get_reg_info()
5255 dev = &rte_eth_devices[port_id]; in rte_eth_dev_get_eeprom_length()
5267 dev = &rte_eth_devices[port_id]; in rte_eth_dev_get_eeprom()
5279 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_eeprom()
5292 dev = &rte_eth_devices[port_id]; in rte_eth_dev_get_module_info()
5305 dev = &rte_eth_devices[port_id]; in rte_eth_dev_get_module_eeprom()
5318 dev = &rte_eth_devices[port_id]; in rte_eth_dev_get_dcb_info()
5369 dev = &rte_eth_devices[port_id]; in rte_eth_dev_hairpin_capability_get()
5403 dev = &rte_eth_devices[port_id]; in rte_eth_dev_pool_ops_supported()
5725 dev = &rte_eth_devices[peer_port]; in rte_eth_hairpin_queue_peer_update()
5744 dev = &rte_eth_devices[cur_port]; in rte_eth_hairpin_queue_peer_bind()
5759 dev = &rte_eth_devices[cur_port]; in rte_eth_hairpin_queue_peer_unbind()