| /dpdk/lib/ethdev/ |
| H A D | rte_tm.c | 16 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_tm_ops_get() 65 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_tm_get_number_of_leaf_nodes() 92 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_tm_node_type_get() 102 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_tm_capabilities_get() 113 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_tm_level_capabilities_get() 124 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_tm_node_capabilities_get() 135 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_tm_wred_profile_add() 145 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_tm_wred_profile_delete() 156 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_tm_shared_wred_context_add_update() 166 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_tm_shared_wred_context_delete() [all …]
|
| H A D | rte_mtr.c | 17 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_mtr_ops_get() 66 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_mtr_capabilities_get() 78 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_mtr_meter_profile_add() 89 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_mtr_meter_profile_delete() 100 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_mtr_meter_policy_validate() 112 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_mtr_meter_policy_add() 123 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_mtr_meter_policy_delete() 136 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_mtr_create() 147 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_mtr_destroy() 158 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_mtr_meter_enable() [all …]
|
| H A D | rte_ethdev.c | 519 rte_eth_devices[port_id].data; in rte_eth_dev_owner_delete() 717 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rx_queue_start() 756 dev = &rte_eth_devices[port_id]; in rte_eth_dev_rx_queue_stop() 788 dev = &rte_eth_devices[port_id]; in rte_eth_dev_tx_queue_start() 827 dev = &rte_eth_devices[port_id]; in rte_eth_dev_tx_queue_stop() 1079 dev = &rte_eth_devices[port_id]; in rte_eth_dev_configure() 1456 dev = &rte_eth_devices[port_id]; in rte_eth_dev_start() 1522 dev = &rte_eth_devices[port_id]; in rte_eth_dev_stop() 1549 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_link_up() 1561 dev = &rte_eth_devices[port_id]; in rte_eth_dev_set_link_down() [all …]
|
| H A D | rte_flow.c | 327 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_flow_ops_get() 359 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_flow_validate() 383 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_flow_create() 408 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_flow_destroy() 430 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_flow_flush() 455 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_flow_query() 478 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_flow_isolate() 1100 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_flow_dev_dump() 1121 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_flow_get_aged_flows() 1228 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in rte_flow_tunnel_decap_set() [all …]
|
| H A D | ethdev_driver.c | 36 if (rte_eth_devices[i].data != NULL && in eth_dev_allocated() 37 strcmp(rte_eth_devices[i].data->name, name) == 0) in eth_dev_allocated() 38 return &rte_eth_devices[i]; in eth_dev_allocated() 51 RTE_ASSERT(rte_eth_devices[i].state == in eth_dev_find_free_port() 62 struct rte_eth_dev *eth_dev = &rte_eth_devices[port_id]; in eth_dev_get() 348 return &rte_eth_devices[pid]; in rte_eth_dev_get_by_name() 560 dev = &rte_eth_devices[cur_port]; in rte_eth_hairpin_queue_peer_bind() 575 dev = &rte_eth_devices[cur_port]; in rte_eth_hairpin_queue_peer_unbind() 596 dev = &rte_eth_devices[peer_port]; in rte_eth_hairpin_queue_peer_update()
|
| H A D | ethdev_private.c | 27 return dev - rte_eth_devices; in eth_dev_to_id() 39 (start < &rte_eth_devices[0] || in eth_find_device() 40 start > &rte_eth_devices[RTE_MAX_ETHPORTS])) in eth_find_device() 47 edev = &rte_eth_devices[idx]; in eth_find_device()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | rte_pmd_ixgbe.c | 25 dev = &rte_eth_devices[port]; in rte_pmd_ixgbe_set_vf_mac_addr() 59 dev = &rte_eth_devices[port]; in rte_pmd_ixgbe_ping_vf() 90 dev = &rte_eth_devices[port]; in rte_pmd_ixgbe_set_vf_vlan_anti_spoof() 120 dev = &rte_eth_devices[port]; in rte_pmd_ixgbe_set_vf_mac_anti_spoof() 149 dev = &rte_eth_devices[port]; in rte_pmd_ixgbe_set_vf_vlan_insert() 184 dev = &rte_eth_devices[port]; in rte_pmd_ixgbe_set_tx_loopback() 216 dev = &rte_eth_devices[port]; in rte_pmd_ixgbe_set_all_queues_drop_en() 245 dev = &rte_eth_devices[port]; in rte_pmd_ixgbe_set_vf_split_drop_en() 281 dev = &rte_eth_devices[port]; in rte_pmd_ixgbe_set_vf_vlan_stripq() 329 dev = &rte_eth_devices[port]; in rte_pmd_ixgbe_set_vf_rxmode() [all …]
|
| /dpdk/drivers/net/bonding/ |
| H A D | rte_eth_bond_api.c | 205 bonded_eth_dev = &rte_eth_devices[bonded_port_id]; in slave_vlan_filter_set() 468 bonded_eth_dev = &rte_eth_devices[bonded_port_id]; in __eth_bond_slave_add_lock_free() 474 slave_eth_dev = &rte_eth_devices[slave_port_id]; in __eth_bond_slave_add_lock_free() 629 bonded_eth_dev = &rte_eth_devices[bonded_port_id]; in rte_eth_bond_slave_add() 655 bonded_eth_dev = &rte_eth_devices[bonded_port_id]; in __eth_bond_slave_remove_lock_free() 686 &rte_eth_devices[bonded_port_id].data->port_id); in __eth_bond_slave_remove_lock_free() 707 slave_eth_dev = &rte_eth_devices[slave_port_id]; in __eth_bond_slave_remove_lock_free() 754 bonded_eth_dev = &rte_eth_devices[bonded_port_id]; in rte_eth_bond_slave_remove() 774 bonded_eth_dev = &rte_eth_devices[bonded_port_id]; in rte_eth_bond_mode_set() 890 bonded_eth_dev = &rte_eth_devices[bonded_port_id]; in rte_eth_bond_mac_address_set() [all …]
|
| H A D | rte_eth_bond_args.c | 54 if (rte_eth_devices[i].device == dev) in find_port_id_by_pci_addr() 65 if (rte_eth_devices[i].data == NULL) in find_port_id_by_dev_name() 68 if (strcmp(rte_eth_devices[i].device->name, name) == 0) in find_port_id_by_dev_name()
|
| H A D | rte_eth_bond_8023ad.c | 1417 bond_dev = &rte_eth_devices[port_id]; in rte_eth_bond_8023ad_conf_get() 1433 bond_dev = &rte_eth_devices[port_id]; in rte_eth_bond_8023ad_agg_selection_set() 1455 bond_dev = &rte_eth_devices[port_id]; in rte_eth_bond_8023ad_agg_selection_get() 1504 bond_dev = &rte_eth_devices[port_id]; in rte_eth_bond_8023ad_setup() 1526 bond_dev = &rte_eth_devices[port_id]; in rte_eth_bond_8023ad_slave_info() 1557 bond_dev = &rte_eth_devices[port_id]; in bond_8023ad_ext_validate() 1716 dev = &rte_eth_devices[port]; in rte_eth_bond_8023ad_dedicated_queues_enable() 1742 dev = &rte_eth_devices[port]; in rte_eth_bond_8023ad_dedicated_queues_disable()
|
| /dpdk/drivers/net/atlantic/ |
| H A D | rte_pmd_atlantic.c | 19 dev = &rte_eth_devices[port]; in rte_pmd_atl_macsec_enable() 34 dev = &rte_eth_devices[port]; in rte_pmd_atl_macsec_disable() 49 dev = &rte_eth_devices[port]; in rte_pmd_atl_macsec_config_txsc() 64 dev = &rte_eth_devices[port]; in rte_pmd_atl_macsec_config_rxsc() 80 dev = &rte_eth_devices[port]; in rte_pmd_atl_macsec_select_txsa() 96 dev = &rte_eth_devices[port]; in rte_pmd_atl_macsec_select_rxsa()
|
| /dpdk/app/test/ |
| H A D | virtual_pmd.c | 247 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in virtual_ethdev_start_fn_set_success() 261 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in virtual_ethdev_configure_fn_set_success() 274 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in virtual_ethdev_rx_queue_setup_fn_set_success() 287 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in virtual_ethdev_tx_queue_setup_fn_set_success() 300 struct rte_eth_dev *dev = &rte_eth_devices[port_id]; in virtual_ethdev_link_update_fn_set_success() 323 vrtl_eth_dev = &rte_eth_devices[pq_map->port_id]; in virtual_ethdev_rx_burst_success() 358 vrtl_eth_dev = &rte_eth_devices[tx_q->port_id]; in virtual_ethdev_tx_burst_success() 388 vrtl_eth_dev = &rte_eth_devices[tx_q->port_id]; in virtual_ethdev_tx_burst_fail() 415 struct rte_eth_dev *vrtl_eth_dev = &rte_eth_devices[port_id]; in virtual_ethdev_rx_burst_fn_set_success() 432 struct rte_eth_dev *vrtl_eth_dev = &rte_eth_devices[port_id]; in virtual_ethdev_tx_burst_fn_set_success() [all …]
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | bnxt_tf_pmd_shim.c | 31 dev = &rte_eth_devices[port]; in bnxt_pmd_get_bp() 175 eth_dev = &rte_eth_devices[port_id]; in bnxt_pmd_get_svif() 203 eth_dev = &rte_eth_devices[port]; in bnxt_pmd_get_iface_mac() 220 eth_dev = &rte_eth_devices[port]; in bnxt_pmd_get_parent_vnic_id() 233 eth_dev = &rte_eth_devices[port]; in bnxt_pmd_get_vnic_id() 258 eth_dev = &rte_eth_devices[port]; in bnxt_pmd_get_fw_func_id() 281 eth_dev = &rte_eth_devices[port]; in bnxt_pmd_get_interface_type() 303 eth_dev = &rte_eth_devices[port_id]; in bnxt_pmd_get_phy_port_id() 323 eth_dev = &rte_eth_devices[port_id]; in bnxt_pmd_get_parif()
|
| /dpdk/drivers/net/bnxt/ |
| H A D | rte_pmd_bnxt.c | 53 eth_dev = &rte_eth_devices[port]; in rte_pmd_bnxt_set_tx_loopback() 144 dev = &rte_eth_devices[port]; in rte_pmd_bnxt_set_vf_mac_addr() 244 dev = &rte_eth_devices[port]; in rte_pmd_bnxt_set_vf_mac_anti_spoof() 303 dev = &rte_eth_devices[port]; in rte_pmd_bnxt_set_vf_vlan_anti_spoof() 360 dev = &rte_eth_devices[port]; in rte_pmd_bnxt_set_vf_vlan_stripq() 404 dev = &rte_eth_devices[port]; in rte_pmd_bnxt_set_vf_rxmode() 504 dev = &rte_eth_devices[port]; in rte_pmd_bnxt_set_vf_vlan_filter() 595 dev = &rte_eth_devices[port]; in rte_pmd_bnxt_get_vf_stats() 631 dev = &rte_eth_devices[port]; in rte_pmd_bnxt_reset_vf_stats() 665 dev = &rte_eth_devices[port]; in rte_pmd_bnxt_get_vf_rx_status() [all …]
|
| /dpdk/drivers/net/failsafe/ |
| H A D | failsafe_eal.c | 24 !strncmp(name, rte_eth_devices[pid].device->name, len)) { in fs_ethdev_portid_get() 79 rte_eth_devices[pid].device->devargs; in fs_bus_init() 89 rte_eth_devices[pid].device->name, in fs_bus_init() 104 } else if (strncmp(rte_eth_devices[pid].device->name, in fs_bus_init()
|
| H A D | failsafe_rxtx.c | 150 sdev = TX_SUBDEV(&rte_eth_devices[txq->priv->data->port_id]); in failsafe_tx_burst() 171 sdev = TX_SUBDEV(&rte_eth_devices[txq->priv->data->port_id]); in failsafe_tx_burst_fast()
|
| /dpdk/drivers/net/i40e/ |
| H A D | rte_pmd_i40e.c | 24 dev = &rte_eth_devices[port]; in rte_pmd_i40e_ping_vfs() 53 dev = &rte_eth_devices[port]; in rte_pmd_i40e_set_vf_mac_anti_spoof() 157 dev = &rte_eth_devices[port]; in rte_pmd_i40e_set_vf_vlan_anti_spoof() 417 dev = &rte_eth_devices[port]; in rte_pmd_i40e_set_tx_loopback() 459 dev = &rte_eth_devices[port]; in rte_pmd_i40e_set_vf_unicast_promisc() 500 dev = &rte_eth_devices[port]; in rte_pmd_i40e_set_vf_multicast_promisc() 546 dev = &rte_eth_devices[port]; in rte_pmd_i40e_set_vf_mac_addr() 591 dev = &rte_eth_devices[port]; in rte_pmd_i40e_remove_vf_mac_addr() 630 dev = &rte_eth_devices[port]; in rte_pmd_i40e_set_vf_vlan_stripq() 673 dev = &rte_eth_devices[port]; in rte_pmd_i40e_set_vf_vlan_insert() [all …]
|
| H A D | i40e_vf_representor.c | 23 &rte_eth_devices[representor->adapter->pf.dev_data->port_id]; in i40e_vf_representor_link_update() 107 rte_eth_devices[pf_dev_data->port_id].device->name; in i40e_vf_representor_dev_infos_get() 188 dev = &rte_eth_devices[port]; in rte_pmd_i40e_get_vf_native_stats() 368 pdev = &rte_eth_devices[representor->adapter->pf.dev_data->port_id]; in i40e_vf_representor_vlan_offload_set()
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4.h | 151 ((struct mlx4_proc_priv *)rte_eth_devices[port_id].process_private) 198 #define ETH_DEV(priv) (&rte_eth_devices[PORT_ID(priv)])
|
| H A D | mlx4_mp.c | 70 dev = &rte_eth_devices[param->port_id]; in mp_primary_handle() 125 dev = &rte_eth_devices[param->port_id]; in mp_secondary_handle()
|
| /dpdk/lib/eventdev/ |
| H A D | rte_event_eth_rx_adapter.c | 2306 &rte_eth_devices[i]) : in rxa_ctrl() 2308 &rte_eth_devices[i]); in rxa_ctrl() 2671 &rte_eth_devices[eth_dev_id], in rte_event_eth_rx_adapter_queue_add() 2744 rte_eth_devices[eth_dev_id].data->nb_rx_queues) { in rte_event_eth_rx_adapter_queue_del() 2756 &rte_eth_devices[eth_dev_id], in rte_event_eth_rx_adapter_queue_del() 2868 dev, &rte_eth_devices[eth_port_id], limits); in rte_event_eth_rx_adapter_vector_limits_get() 2955 &rte_eth_devices[i], in rte_event_eth_rx_adapter_stats_get() 3026 &rte_eth_devices[eth_dev_id], in rte_event_eth_rx_adapter_queue_stats_get() 3071 &rte_eth_devices[i]); in rte_event_eth_rx_adapter_stats_reset() 3123 &rte_eth_devices[eth_dev_id], in rte_event_eth_rx_adapter_queue_stats_reset() [all …]
|
| /dpdk/drivers/net/virtio/ |
| H A D | virtio_rxtx_simple.h | 35 rte_eth_devices[rxvq->port_id].data->rx_mbuf_alloc_failed += in virtio_rxq_rearm_vec()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ethdev_telemetry.c | 60 eth_dev = &rte_eth_devices[i]; in ethdev_tel_handle_info()
|
| /dpdk/drivers/net/virtio/virtio_user/ |
| H A D | virtio_user_dev.c | 407 struct rte_eth_dev *eth_dev = &rte_eth_devices[dev->hw.port_id]; in virtio_user_fill_intr_handle() 671 struct rte_eth_dev *eth_dev = &rte_eth_devices[dev->hw.port_id]; in virtio_user_dev_uninit() 970 struct rte_eth_dev *eth_dev = &rte_eth_devices[dev->hw.port_id]; in virtio_user_dev_delayed_disconnect_handler() 1009 struct rte_eth_dev *eth_dev = &rte_eth_devices[dev->hw.port_id]; in virtio_user_dev_delayed_intr_reconfig_handler() 1036 struct rte_eth_dev *eth_dev = &rte_eth_devices[dev->hw.port_id]; in virtio_user_dev_server_reconnect()
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_mp_os.c | 88 dev = &rte_eth_devices[param->port_id]; in mlx5_mp_os_primary_handle() 167 dev = &rte_eth_devices[param->port_id]; in mlx5_mp_os_secondary_handle()
|