Searched refs:port_id (Results 1 - 25 of 172) sorted by relevance

1234567

/deb_dpdk/examples/ethtool/lib/
H A Drte_ethtool.h74 * @param port_id
80 * - (-ENODEV) if *port_id* invalid.
82 int rte_ethtool_get_drvinfo(uint8_t port_id, struct ethtool_drvinfo *drvinfo);
87 * @param port_id
93 * - (-ENODEV) if *port_id* invalid.
96 int rte_ethtool_get_regs_len(uint8_t port_id);
102 * @param port_id
111 * - (-ENODEV) if *port_id* invalid.
114 int rte_ethtool_get_regs(uint8_t port_id, struct ethtool_regs *regs,
120 * @param port_id
[all...]
H A Drte_ethtool.c46 rte_ethtool_get_drvinfo(uint8_t port_id, struct ethtool_drvinfo *drvinfo) argument
55 RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -ENODEV);
58 rte_eth_dev_info_get(port_id, &dev_info);
75 rte_eth_dev_get_reg_info(port_id, &reg_info);
82 n = rte_eth_dev_get_eeprom_length(port_id);
95 rte_ethtool_get_regs_len(uint8_t port_id) argument
102 ret = rte_eth_dev_get_reg_info(port_id, &reg_info);
110 rte_ethtool_get_regs(uint8_t port_id, struct ethtool_regs *regs, void *data) argument
121 status = rte_eth_dev_get_reg_info(port_id, &reg_info);
130 rte_ethtool_get_link(uint8_t port_id) argument
140 rte_ethtool_get_eeprom_len(uint8_t port_id) argument
146 rte_ethtool_get_eeprom(uint8_t port_id, struct ethtool_eeprom *eeprom, void *words) argument
169 rte_ethtool_set_eeprom(uint8_t port_id, struct ethtool_eeprom *eeprom, void *words) argument
192 rte_ethtool_get_pauseparam(uint8_t port_id, struct ethtool_pauseparam *pause_param) argument
227 rte_ethtool_set_pauseparam(uint8_t port_id, struct ethtool_pauseparam *pause_param) argument
270 rte_ethtool_net_open(uint8_t port_id) argument
278 rte_ethtool_net_stop(uint8_t port_id) argument
287 rte_ethtool_net_get_mac_addr(uint8_t port_id, struct ether_addr *addr) argument
298 rte_ethtool_net_set_mac_addr(uint8_t port_id, struct ether_addr *addr) argument
315 rte_ethtool_net_change_mtu(uint8_t port_id, int mtu) argument
323 rte_ethtool_net_get_stats64(uint8_t port_id, struct rte_eth_stats *stats) argument
331 rte_ethtool_net_vlan_rx_add_vid(uint8_t port_id, uint16_t vid) argument
337 rte_ethtool_net_vlan_rx_kill_vid(uint8_t port_id, uint16_t vid) argument
350 rte_ethtool_net_set_rx_mode(uint8_t port_id) argument
373 rte_ethtool_get_ringparam(uint8_t port_id, struct ethtool_ringparam *ring_param) argument
405 rte_ethtool_set_ringparam(uint8_t port_id, struct ethtool_ringparam *ring_param) argument
[all...]
/deb_dpdk/examples/quota_watermark/qw/
H A Dinit.h37 void configure_eth_port(uint8_t port_id);
39 void init_ring(int lcore_id, uint8_t port_id);
H A Dmain.c55 #define SEND_PAUSE_FRAME(port_id, duration) send_pause_frame(port_id, duration)
57 #define SEND_PAUSE_FRAME(port_id, duration) do { } while(0)
77 static void send_pause_frame(uint8_t port_id, uint16_t duration) argument
85 duration, port_id);
96 rte_eth_macaddr_get(port_id, &mac_addr);
110 rte_eth_tx_burst(port_id, 0, &mbuf, 1);
156 uint8_t port_id; local
173 for (port_id = 0; port_id < RTE_MAX_ETHPORT
211 uint8_t port_id; local
268 uint8_t port_id; local
312 uint8_t port_id; local
[all...]
H A Dinit.c76 void configure_eth_port(uint8_t port_id) argument
80 rte_eth_dev_stop(port_id);
82 ret = rte_eth_dev_configure(port_id, 1, 1, &port_conf);
85 (unsigned) port_id, ret);
88 ret = rte_eth_rx_queue_setup(port_id, 0, RX_DESC_PER_QUEUE,
89 rte_eth_dev_socket_id(port_id),
94 "port %u (error %d)\n", (unsigned) port_id, ret);
97 ret = rte_eth_tx_queue_setup(port_id, 0, TX_DESC_PER_QUEUE,
98 rte_eth_dev_socket_id(port_id),
102 "port %u (error %d)\n", (unsigned) port_id, re
127 init_ring(int lcore_id, uint8_t port_id) argument
[all...]
/deb_dpdk/app/test/
H A Dvirtual_pmd.h51 virtual_ethdev_set_link_status(uint8_t port_id, uint8_t link_status);
54 virtual_ethdev_simulate_link_status_interrupt(uint8_t port_id,
58 virtual_ethdev_add_mbufs_to_rx_queue(uint8_t port_id,
62 virtual_ethdev_get_mbufs_from_tx_queue(uint8_t port_id,
69 virtual_ethdev_start_fn_set_success(uint8_t port_id, uint8_t success);
72 virtual_ethdev_stop_fn_set_success(uint8_t port_id, uint8_t success);
75 virtual_ethdev_configure_fn_set_success(uint8_t port_id, uint8_t success);
78 virtual_ethdev_rx_queue_setup_fn_set_success(uint8_t port_id, uint8_t success);
81 virtual_ethdev_tx_queue_setup_fn_set_success(uint8_t port_id, uint8_t success);
84 virtual_ethdev_link_update_fn_set_success(uint8_t port_id, uint8_
[all...]
H A Dtest_link_bonding_rssconf.c79 uint8_t port_id; member in struct:slave_conf
102 [0 ... SLAVE_COUNT - 1] = { .port_id = INVALID_PORT_ID, .is_slave = 0}
163 configure_ethdev(uint8_t port_id, struct rte_eth_conf *eth_conf, uint8_t start) argument
167 TEST_ASSERT(rte_eth_dev_configure(port_id, RXTX_QUEUE_COUNT,
169 port_id); local
172 TEST_ASSERT(rte_eth_rx_queue_setup(port_id, rxq, RXTX_RING_SIZE,
173 rte_eth_dev_socket_id(port_id), NULL,
178 TEST_ASSERT(rte_eth_tx_queue_setup(port_id, txq, RXTX_RING_SIZE,
179 rte_eth_dev_socket_id(port_id), NULL) == 0,
184 TEST_ASSERT(rte_eth_dev_start(port_id)
185 "Failed to start device (%d).", port_id); local
247 reta_set(uint8_t port_id, uint8_t value, int reta_size) argument
533 int port_id; local
[all...]
H A Dtest_kni.c138 kni_change_mtu(uint8_t port_id, unsigned new_mtu) argument
140 printf("Change MTU of port %d to %u\n", port_id, new_mtu);
143 port_id, kni_pkt_mtu);
368 test_kni_processing(uint8_t port_id, struct rte_mempool *mp) argument
384 rte_eth_dev_info_get(port_id, &info);
393 conf.group_id = (uint16_t)port_id;
396 ops.port_id = port_id;
478 uint8_t port_id; local
515 port_id
[all...]
H A Dtest_link_bonding_mode4.c105 uint8_t port_id; member in struct:slave_conf
132 .slave_ports = { [0 ... SLAVE_COUNT - 1] = { .port_id = INVALID_PORT_ID} },
236 configure_ethdev(uint8_t port_id, uint8_t start) argument
238 TEST_ASSERT(rte_eth_dev_configure(port_id, 1, 1, &default_pmd_conf) == 0,
239 "Failed to configure device %u", port_id);
241 TEST_ASSERT(rte_eth_rx_queue_setup(port_id, 0, RX_RING_SIZE,
242 rte_eth_dev_socket_id(port_id), NULL, test_params.mbuf_pool) == 0,
245 TEST_ASSERT(rte_eth_tx_queue_setup(port_id, 0, TX_RING_SIZE,
246 rte_eth_dev_socket_id(port_id), NULL) == 0,
250 TEST_ASSERT(rte_eth_dev_start(port_id)
251 "Failed to start device (%d).", port_id); local
[all...]
/deb_dpdk/lib/librte_port/
H A Drte_port_ethdev.h57 uint8_t port_id; member in struct:rte_port_ethdev_reader_params
69 uint8_t port_id; member in struct:rte_port_ethdev_writer_params
85 uint8_t port_id; member in struct:rte_port_ethdev_writer_nodrop_params
/deb_dpdk/examples/ip_pipeline/pipeline/
H A Dpipeline_common_be.c56 uint32_t port_id; local
63 port_id = p->port_in_id[req->id];
67 port_id,
80 uint32_t port_id; local
87 port_id = p->port_out_id[req->id];
91 port_id,
128 uint32_t port_id; local
131 if (req->port_id >= p->n_ports_in) {
135 port_id = p->port_in_id[req->port_id];
150 uint32_t port_id; local
[all...]
H A Dpipeline_routing.c90 uint32_t *port_id)
96 *port_id = i;
112 uint32_t port_id, netmask; local
124 &port_id);
153 data0.port_id = port_id;
171 data1.port_id = p->rp.port_local_dest;
196 uint32_t port_id; local
198 for (port_id = 0; port_id <
88 app_pipeline_routing_find_link(struct pipeline_routing *p, uint32_t link_id, uint32_t *port_id) argument
636 app_pipeline_routing_add_default_route(struct app_params *app, uint32_t pipeline_id, uint32_t port_id) argument
783 uint32_t port_id = key->key.ipv4.port_id; local
876 uint32_t port_id = key->key.ipv4.port_id; local
924 app_pipeline_routing_add_default_arp_entry(struct app_params *app, uint32_t pipeline_id, uint32_t port_id) argument
1028 uint32_t port_id; local
1132 uint32_t depth, port_id, svlan, cvlan, i; local
1274 uint32_t port_id; local
1443 uint32_t port_id; local
1485 uint32_t port_id; local
1512 uint32_t port_id; local
[all...]
/deb_dpdk/drivers/net/vhost/
H A Drte_eth_vhost.h94 * @param port_id
102 int rte_eth_vhost_get_queue_event(uint8_t port_id,
109 * - On success, the 'vid' associated with 'port_id'.
112 int rte_eth_vhost_get_vid_from_port_id(uint8_t port_id);
/deb_dpdk/examples/kni/
H A Dmain.c114 uint8_t port_id;/* Port ID */ member in struct:kni_port_params
166 static int kni_change_mtu(uint8_t port_id, unsigned new_mtu);
167 static int kni_config_network_interface(uint8_t port_id, uint8_t if_up);
242 uint8_t i, port_id; local
251 port_id = p->port_id;
254 nb_rx = rte_eth_rx_burst(port_id, 0, pkts_burst, PKT_BURST_SZ);
261 kni_stats[port_id].rx_packets += num;
267 kni_stats[port_id].rx_dropped += nb_rx - num;
278 uint8_t i, port_id; local
420 uint8_t port_id, nb_kni_port_params = 0; local
695 kni_change_mtu(uint8_t port_id, unsigned new_mtu) argument
738 kni_config_network_interface(uint8_t port_id, uint8_t if_up) argument
763 kni_alloc(uint8_t port_id) argument
822 kni_free_kni(uint8_t port_id) argument
[all...]
/deb_dpdk/app/test-pmd/
H A Dtestpmd.h276 uint8_t port_id; member in struct:queue_stats_mappings
481 void nic_stats_display(portid_t port_id);
482 void nic_stats_clear(portid_t port_id);
483 void nic_xstats_display(portid_t port_id);
484 void nic_xstats_clear(portid_t port_id);
485 void nic_stats_mapping_display(portid_t port_id);
486 void port_infos_display(portid_t port_id);
498 void port_mtu_set(portid_t port_id, uint16_t mtu);
499 void port_reg_bit_display(portid_t port_id, uint32_t reg_off, uint8_t bit_pos);
500 void port_reg_bit_set(portid_t port_id, uint32_
[all...]
H A Dconfig.c156 nic_stats_display(portid_t port_id) argument
164 struct rte_port *port = &ports[port_id];
169 if (port_id_is_invalid(port_id, ENABLED_WARN)) {
173 rte_eth_stats_get(port_id, &stats);
175 nic_stats_border, port_id, nic_stats_border);
218 diff_cycles = prev_cycles[port_id];
219 prev_cycles[port_id] = rte_rdtsc();
221 diff_cycles = prev_cycles[port_id] - diff_cycles;
223 diff_pkts_rx = (stats.ipackets > prev_pkts_rx[port_id]) ?
224 (stats.ipackets - prev_pkts_rx[port_id])
242 nic_stats_clear(portid_t port_id) argument
253 nic_xstats_display(portid_t port_id) argument
309 nic_xstats_clear(portid_t port_id) argument
315 nic_stats_mapping_display(portid_t port_id) argument
363 rx_queue_infos_display(portid_t port_id, uint16_t queue_id) argument
396 tx_queue_infos_display(portid_t port_id, uint16_t queue_id) argument
426 port_infos_display(portid_t port_id) argument
526 port_id_is_invalid(portid_t port_id, enum print_warning warning) argument
561 port_reg_off_is_invalid(portid_t port_id, uint32_t reg_off) argument
594 display_port_reg_value(portid_t port_id, uint32_t reg_off, uint32_t reg_v) argument
601 port_reg_bit_display(portid_t port_id, uint32_t reg_off, uint8_t bit_x) argument
618 port_reg_bit_field_display(portid_t port_id, uint32_t reg_off, uint8_t bit1_pos, uint8_t bit2_pos) argument
648 port_reg_display(portid_t port_id, uint32_t reg_off) argument
661 port_reg_bit_set(portid_t port_id, uint32_t reg_off, uint8_t bit_pos, uint8_t bit_v) argument
686 port_reg_bit_field_set(portid_t port_id, uint32_t reg_off, uint8_t bit1_pos, uint8_t bit2_pos, uint32_t value) argument
726 port_reg_set(portid_t port_id, uint32_t reg_off, uint32_t reg_v) argument
737 port_mtu_set(portid_t port_id, uint16_t mtu) argument
791 ring_dma_zone_lookup(const char *ring_name, uint8_t port_id, uint16_t q_id) argument
839 ring_rx_descriptor_display(const struct rte_memzone *ring_mz, uint8_t port_id, uint16_t desc_id) argument
900 rx_ring_desc_display(portid_t port_id, queueid_t rxq_id, uint16_t rxd_id) argument
917 tx_ring_desc_display(portid_t port_id, queueid_t txq_id, uint16_t txd_id) argument
976 port_rss_reta_info(portid_t port_id, struct rte_eth_rss_reta_entry64 *reta_conf, uint16_t nb_entries) argument
1007 port_rss_hash_conf_show(portid_t port_id, int show_rss_key) argument
1067 port_rss_hash_key_update(portid_t port_id, char rss_type[], uint8_t *hash_key, uint hash_key_len) argument
1566 portid_t port_id; local
1626 port_is_forwarding(portid_t port_id) argument
1814 vlan_extend_set(portid_t port_id, int on) argument
1836 rx_vlan_strip_set(portid_t port_id, int on) argument
1858 rx_vlan_strip_set_on_queue(portid_t port_id, uint16_t queue_id, int on) argument
1872 rx_vlan_filter_set(portid_t port_id, int on) argument
1894 rx_vft_set(portid_t port_id, uint16_t vlan_id, int on) argument
1912 rx_vlan_all_filter_set(portid_t port_id, int on) argument
1925 vlan_tpid_set(portid_t port_id, enum rte_vlan_type vlan_type, uint16_t tp_id) argument
1942 tx_vlan_set(portid_t port_id, uint16_t vlan_id) argument
1962 tx_qinq_set(portid_t port_id, uint16_t vlan_id, uint16_t vlan_id_outer) argument
1985 tx_vlan_reset(portid_t port_id) argument
1996 tx_vlan_pvid_set(portid_t port_id, uint16_t vlan_id, int on) argument
2005 set_qmap(portid_t port_id, uint8_t is_rx, uint16_t queue_id, uint8_t map_value) argument
2189 fdir_get_infos(portid_t port_id) argument
2265 fdir_set_flex_mask(portid_t port_id, struct rte_eth_fdir_flex_mask *cfg) argument
2295 fdir_set_flex_payload(portid_t port_id, struct rte_eth_flex_payload_cfg *cfg) argument
2326 set_vf_traffic(portid_t port_id, uint8_t is_rx, uint16_t vf, uint8_t on) argument
2348 set_vf_rx_vlan(portid_t port_id, uint16_t vlan_id, uint64_t vf_mask, uint8_t on) argument
2364 set_queue_rate_limit(portid_t port_id, uint16_t queue_idx, uint16_t rate) argument
2386 set_vf_rate_limit(portid_t port_id, uint16_t vf, uint16_t rate, uint64_t q_msk) argument
2483 eth_port_multicast_addr_list_set(uint8_t port_id) argument
2498 mcast_addr_add(uint8_t port_id, struct ether_addr *mc_addr) argument
2526 mcast_addr_remove(uint8_t port_id, struct ether_addr *mc_addr) argument
2553 port_dcb_info_display(uint8_t port_id) argument
[all...]
/deb_dpdk/lib/librte_ether/
H A Drte_ethdev.c194 eth_dev_get(uint8_t port_id) argument
196 struct rte_eth_dev *eth_dev = &rte_eth_devices[port_id];
198 eth_dev->data = &rte_eth_dev_data[port_id];
201 eth_dev_last_created_port = port_id;
210 uint8_t port_id; local
213 port_id = rte_eth_dev_find_free_port();
214 if (port_id == RTE_MAX_ETHPORTS) {
228 eth_dev = eth_dev_get(port_id);
230 eth_dev->data->port_id = port_id;
383 rte_eth_dev_is_valid_port(uint8_t port_id) argument
393 rte_eth_dev_socket_id(uint8_t port_id) argument
406 rte_eth_dev_get_name_by_port(uint8_t port_id, char *name) argument
425 rte_eth_dev_get_port_by_name(const char *name, uint8_t *port_id) argument
452 rte_eth_dev_is_detachable(uint8_t port_id) argument
478 rte_eth_dev_attach(const char *devargs, uint8_t *port_id) argument
524 rte_eth_dev_detach(uint8_t port_id, char *name) argument
597 rte_eth_dev_rx_queue_start(uint8_t port_id, uint16_t rx_queue_id) argument
630 rte_eth_dev_rx_queue_stop(uint8_t port_id, uint16_t rx_queue_id) argument
656 rte_eth_dev_tx_queue_start(uint8_t port_id, uint16_t tx_queue_id) argument
689 rte_eth_dev_tx_queue_stop(uint8_t port_id, uint16_t tx_queue_id) argument
795 rte_eth_dev_configure(uint8_t port_id, uint16_t nb_rx_q, uint16_t nb_tx_q, const struct rte_eth_conf *dev_conf) argument
946 rte_eth_dev_config_restore(uint8_t port_id) argument
995 rte_eth_dev_start(uint8_t port_id) argument
1029 rte_eth_dev_stop(uint8_t port_id) argument
1050 rte_eth_dev_set_link_up(uint8_t port_id) argument
1063 rte_eth_dev_set_link_down(uint8_t port_id) argument
1076 rte_eth_dev_close(uint8_t port_id) argument
1096 rte_eth_rx_queue_setup(uint8_t port_id, uint16_t rx_queue_id, uint16_t nb_rx_desc, unsigned int socket_id, const struct rte_eth_rxconf *rx_conf, struct rte_mempool *mp) argument
1178 rte_eth_tx_queue_setup(uint8_t port_id, uint16_t tx_queue_id, uint16_t nb_tx_desc, unsigned int socket_id, const struct rte_eth_txconf *tx_conf) argument
1273 rte_eth_promiscuous_enable(uint8_t port_id) argument
1286 rte_eth_promiscuous_disable(uint8_t port_id) argument
1299 rte_eth_promiscuous_get(uint8_t port_id) argument
1310 rte_eth_allmulticast_enable(uint8_t port_id) argument
1323 rte_eth_allmulticast_disable(uint8_t port_id) argument
1336 rte_eth_allmulticast_get(uint8_t port_id) argument
1361 rte_eth_link_get(uint8_t port_id, struct rte_eth_link *eth_link) argument
1378 rte_eth_link_get_nowait(uint8_t port_id, struct rte_eth_link *eth_link) argument
1395 rte_eth_stats_get(uint8_t port_id, struct rte_eth_stats *stats) argument
1411 rte_eth_stats_reset(uint8_t port_id) argument
1424 get_xstats_count(uint8_t port_id) argument
1446 rte_eth_xstats_get_names(uint8_t port_id, struct rte_eth_xstat_name *xstats_names, unsigned size) argument
1512 rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstat *xstats, unsigned n) argument
1594 rte_eth_xstats_reset(uint8_t port_id) argument
1612 set_queue_stats_mapping(uint8_t port_id, uint16_t queue_id, uint8_t stat_idx, uint8_t is_rx) argument
1638 rte_eth_dev_set_tx_queue_stats_mapping(uint8_t port_id, uint16_t tx_queue_id, uint8_t stat_idx) argument
1647 rte_eth_dev_set_rx_queue_stats_mapping(uint8_t port_id, uint16_t rx_queue_id, uint8_t stat_idx) argument
1655 rte_eth_dev_info_get(uint8_t port_id, struct rte_eth_dev_info *dev_info) argument
1680 rte_eth_dev_get_supported_ptypes(uint8_t port_id, uint32_t ptype_mask, uint32_t *ptypes, int num) argument
1706 rte_eth_macaddr_get(uint8_t port_id, struct ether_addr *mac_addr) argument
1717 rte_eth_dev_get_mtu(uint8_t port_id, uint16_t *mtu) argument
1729 rte_eth_dev_set_mtu(uint8_t port_id, uint16_t mtu) argument
1746 rte_eth_dev_vlan_filter(uint8_t port_id, uint16_t vlan_id, int on) argument
1768 rte_eth_dev_set_vlan_strip_on_queue(uint8_t port_id, uint16_t rx_queue_id, int on) argument
1786 rte_eth_dev_set_vlan_ether_type(uint8_t port_id, enum rte_vlan_type vlan_type, uint16_t tpid) argument
1800 rte_eth_dev_set_vlan_offload(uint8_t port_id, int offload_mask) argument
1843 rte_eth_dev_get_vlan_offload(uint8_t port_id) argument
1864 rte_eth_dev_set_vlan_pvid(uint8_t port_id, uint16_t pvid, int on) argument
1877 rte_eth_dev_flow_ctrl_get(uint8_t port_id, struct rte_eth_fc_conf *fc_conf) argument
1889 rte_eth_dev_flow_ctrl_set(uint8_t port_id, struct rte_eth_fc_conf *fc_conf) argument
1905 rte_eth_dev_priority_flow_ctrl_set(uint8_t port_id, struct rte_eth_pfc_conf *pfc_conf) argument
1977 rte_eth_dev_rss_reta_update(uint8_t port_id, struct rte_eth_rss_reta_entry64 *reta_conf, uint16_t reta_size) argument
2003 rte_eth_dev_rss_reta_query(uint8_t port_id, struct rte_eth_rss_reta_entry64 *reta_conf, uint16_t reta_size) argument
2023 rte_eth_dev_rss_hash_update(uint8_t port_id, struct rte_eth_rss_conf *rss_conf) argument
2042 rte_eth_dev_rss_hash_conf_get(uint8_t port_id, struct rte_eth_rss_conf *rss_conf) argument
2054 rte_eth_dev_udp_tunnel_port_add(uint8_t port_id, struct rte_eth_udp_tunnel *udp_tunnel) argument
2076 rte_eth_dev_udp_tunnel_port_delete(uint8_t port_id, struct rte_eth_udp_tunnel *udp_tunnel) argument
2099 rte_eth_led_on(uint8_t port_id) argument
2110 rte_eth_led_off(uint8_t port_id) argument
2125 get_mac_addr_index(uint8_t port_id, const struct ether_addr *addr) argument
2143 rte_eth_dev_mac_addr_add(uint8_t port_id, struct ether_addr *addr, uint32_t pool) argument
2193 rte_eth_dev_mac_addr_remove(uint8_t port_id, struct ether_addr *addr) argument
2222 rte_eth_dev_default_mac_addr_set(uint8_t port_id, struct ether_addr *addr) argument
2243 rte_eth_dev_set_vf_rxmode(uint8_t port_id, uint16_t vf, uint16_t rx_mode, uint8_t on) argument
2274 get_hash_mac_addr_index(uint8_t port_id, const struct ether_addr *addr) argument
2293 rte_eth_dev_uc_hash_table_set(uint8_t port_id, struct ether_addr *addr, uint8_t on) argument
2345 rte_eth_dev_uc_all_hash_table_set(uint8_t port_id, uint8_t on) argument
2358 rte_eth_dev_set_vf_rx(uint8_t port_id, uint16_t vf, uint8_t on) argument
2380 rte_eth_dev_set_vf_tx(uint8_t port_id, uint16_t vf, uint8_t on) argument
2402 rte_eth_dev_set_vf_vlan_filter(uint8_t port_id, uint16_t vlan_id, uint64_t vf_mask, uint8_t vlan_on) argument
2427 rte_eth_set_queue_rate_limit(uint8_t port_id, uint16_t queue_idx, uint16_t tx_rate) argument
2457 rte_eth_set_vf_rate_limit(uint8_t port_id, uint16_t vf, uint16_t tx_rate, uint64_t q_msk) argument
2491 rte_eth_mirror_rule_set(uint8_t port_id, struct rte_eth_mirror_conf *mirror_conf, uint8_t rule_id, uint8_t on) argument
2529 rte_eth_mirror_rule_reset(uint8_t port_id, uint8_t rule_id) argument
2542 rte_eth_dev_callback_register(uint8_t port_id, enum rte_eth_event_type event, rte_eth_dev_cb_fn cb_fn, void *cb_arg) argument
2582 rte_eth_dev_callback_unregister(uint8_t port_id, enum rte_eth_event_type event, rte_eth_dev_cb_fn cb_fn, void *cb_arg) argument
2650 rte_eth_dev_rx_intr_ctl(uint8_t port_id, int epfd, int op, void *data) argument
2705 rte_eth_dev_rx_intr_ctl_q(uint8_t port_id, uint16_t queue_id, int epfd, int op, void *data) argument
2740 rte_eth_dev_rx_intr_enable(uint8_t port_id, uint16_t queue_id) argument
2754 rte_eth_dev_rx_intr_disable(uint8_t port_id, uint16_t queue_id) argument
2768 rte_eth_dev_bypass_init(uint8_t port_id) argument
2781 rte_eth_dev_bypass_state_show(uint8_t port_id, uint32_t *state) argument
2794 rte_eth_dev_bypass_state_set(uint8_t port_id, uint32_t *new_state) argument
2807 rte_eth_dev_bypass_event_show(uint8_t port_id, uint32_t event, uint32_t *state) argument
2820 rte_eth_dev_bypass_event_store(uint8_t port_id, uint32_t event, uint32_t state) argument
2834 rte_eth_dev_wd_timeout_store(uint8_t port_id, uint32_t timeout) argument
2848 rte_eth_dev_bypass_ver_show(uint8_t port_id, uint32_t *ver) argument
2862 rte_eth_dev_bypass_wd_timeout_show(uint8_t port_id, uint32_t *wd_timeout) argument
2876 rte_eth_dev_bypass_wd_reset(uint8_t port_id) argument
2891 rte_eth_dev_filter_supported(uint8_t port_id, enum rte_filter_type filter_type) argument
2904 rte_eth_dev_filter_ctrl(uint8_t port_id, enum rte_filter_type filter_type, enum rte_filter_op filter_op, void *arg) argument
2917 rte_eth_add_rx_callback(uint8_t port_id, uint16_t queue_id, rte_rx_callback_fn fn, void *user_param) argument
2959 rte_eth_add_first_rx_callback(uint8_t port_id, uint16_t queue_id, rte_rx_callback_fn fn, void *user_param) argument
2994 rte_eth_add_tx_callback(uint8_t port_id, uint16_t queue_id, rte_tx_callback_fn fn, void *user_param) argument
3037 rte_eth_remove_rx_callback(uint8_t port_id, uint16_t queue_id, struct rte_eth_rxtx_callback *user_cb) argument
3071 rte_eth_remove_tx_callback(uint8_t port_id, uint16_t queue_id, struct rte_eth_rxtx_callback *user_cb) argument
3105 rte_eth_rx_queue_info_get(uint8_t port_id, uint16_t queue_id, struct rte_eth_rxq_info *qinfo) argument
3129 rte_eth_tx_queue_info_get(uint8_t port_id, uint16_t queue_id, struct rte_eth_txq_info *qinfo) argument
3153 rte_eth_dev_set_mc_addr_list(uint8_t port_id, struct ether_addr *mc_addr_set, uint32_t nb_mc_addr) argument
3167 rte_eth_timesync_enable(uint8_t port_id) argument
3179 rte_eth_timesync_disable(uint8_t port_id) argument
3191 rte_eth_timesync_read_rx_timestamp(uint8_t port_id, struct timespec *timestamp, uint32_t flags) argument
3204 rte_eth_timesync_read_tx_timestamp(uint8_t port_id, struct timespec *timestamp) argument
3216 rte_eth_timesync_adjust_time(uint8_t port_id, int64_t delta) argument
3228 rte_eth_timesync_read_time(uint8_t port_id, struct timespec *timestamp) argument
3240 rte_eth_timesync_write_time(uint8_t port_id, const struct timespec *timestamp) argument
3252 rte_eth_dev_get_reg_info(uint8_t port_id, struct rte_dev_reg_info *info) argument
3264 rte_eth_dev_get_eeprom_length(uint8_t port_id) argument
3276 rte_eth_dev_get_eeprom(uint8_t port_id, struct rte_dev_eeprom_info *info) argument
3288 rte_eth_dev_set_eeprom(uint8_t port_id, struct rte_dev_eeprom_info *info) argument
3300 rte_eth_dev_get_dcb_info(uint8_t port_id, struct rte_eth_dcb_info *dcb_info) argument
3335 rte_eth_dev_l2_tunnel_eth_type_conf(uint8_t port_id, struct rte_eth_l2_tunnel_conf *l2_tunnel) argument
3358 rte_eth_dev_l2_tunnel_offload_set(uint8_t port_id, struct rte_eth_l2_tunnel_conf *l2_tunnel, uint32_t mask, uint8_t en) argument
[all...]
H A Drte_ethdev.h1005 #define RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, retval) do { \
1006 if (!rte_eth_dev_is_valid_port(port_id)) { \
1007 RTE_PMD_DEBUG_TRACE("Invalid port_id=%d\n", port_id); \
1012 #define RTE_ETH_VALID_PORTID_OR_RET(port_id) do { \
1013 if (!rte_eth_dev_is_valid_port(port_id)) { \
1014 RTE_PMD_DEBUG_TRACE("Invalid port_id=%d\n", port_id); \
1682 uint8_t port_id; /**< Device [external] port identifier. */ member in struct:rte_eth_dev_data
1768 * @param port_id
2644 rte_eth_rx_burst(uint8_t port_id, uint16_t queue_id, struct rte_mbuf **rx_pkts, const uint16_t nb_pkts) argument
2691 rte_eth_rx_queue_count(uint8_t port_id, uint16_t queue_id) argument
2715 rte_eth_rx_descriptor_done(uint8_t port_id, uint16_t queue_id, uint16_t offset) argument
2784 rte_eth_tx_burst(uint8_t port_id, uint16_t queue_id, struct rte_mbuf **tx_pkts, uint16_t nb_pkts) argument
2875 rte_eth_tx_buffer_flush(uint8_t port_id, uint16_t queue_id, struct rte_eth_dev_tx_buffer *buffer) argument
2928 rte_eth_tx_buffer(uint8_t port_id, uint16_t queue_id, struct rte_eth_dev_tx_buffer *buffer, struct rte_mbuf *tx_pkt) argument
[all...]
/deb_dpdk/drivers/net/bonding/
H A Drte_eth_bond_8023ad.h180 * @param port_id Bonding device id
188 rte_eth_bond_8023ad_conf_get(uint8_t port_id,
191 rte_eth_bond_8023ad_conf_get_v20(uint8_t port_id,
194 rte_eth_bond_8023ad_conf_get_v1607(uint8_t port_id,
202 * @param port_id Bonding device id
209 rte_eth_bond_8023ad_setup(uint8_t port_id,
212 rte_eth_bond_8023ad_setup_v20(uint8_t port_id,
215 rte_eth_bond_8023ad_setup_v1607(uint8_t port_id,
231 rte_eth_bond_8023ad_slave_info(uint8_t port_id, uint8_t slave_id,
241 * @param port_id Bondin
[all...]
H A Drte_eth_bond_args.c99 int port_id; local
103 port_id = find_port_id_by_pci_addr(&dev_addr);
104 if (port_id < 0)
108 port_id = find_port_id_by_dev_name(port_str);
109 if (port_id < 0) {
114 port_id = strtol(port_str, &end, 10);
120 if (port_id < 0 || port_id > RTE_MAX_ETHPORTS) {
125 return port_id;
140 int port_id local
[all...]
/deb_dpdk/drivers/net/virtio/
H A Dvirtio_rxtx.h57 uint8_t port_id; /**< Device port identifier. */ member in struct:virtnet_rx
72 uint8_t port_id; /**< Device port identifier. */ member in struct:virtnet_tx
85 uint8_t port_id; /**< Device port identifier. */ member in struct:virtnet_ctl
/deb_dpdk/examples/packet_ordering/
H A Dmain.c240 unsigned port_id; local
243 for (port_id = 0; port_id < nb_ports; port_id++) {
245 if ((portmask & (1 << port_id)) == 0)
248 rte_free(tx_buffer[port_id]);
257 unsigned port_id; local
261 for (port_id = 0; port_id < nb_ports; port_id
286 configure_eth_port(uint8_t port_id) argument
398 uint8_t port_id; local
628 uint8_t port_id; local
[all...]
/deb_dpdk/app/proc_info/
H A Dmain.c197 nic_stats_display(uint8_t port_id) argument
204 rte_eth_stats_get(port_id, &stats);
206 nic_stats_border, port_id, nic_stats_border);
236 nic_stats_clear(uint8_t port_id) argument
238 printf("\n Clearing NIC stats for port %d\n", port_id);
239 rte_eth_stats_reset(port_id);
240 printf("\n NIC statistics for port %d cleared\n", port_id);
244 nic_xstats_display(uint8_t port_id) argument
251 len = rte_eth_xstats_get_names(port_id, NULL, 0);
269 port_id, xstats_name
297 nic_xstats_clear(uint8_t port_id) argument
[all...]
/deb_dpdk/examples/qos_sched/
H A Dmain.h191 int subport_stat(uint8_t port_id, uint32_t subport_id);
192 int pipe_stat(uint8_t port_id, uint32_t subport_id, uint32_t pipe_id);
193 int qavg_q(uint8_t port_id, uint32_t subport_id, uint32_t pipe_id, uint8_t tc, uint8_t q);
194 int qavg_tcpipe(uint8_t port_id, uint32_t subport_id, uint32_t pipe_id, uint8_t tc);
195 int qavg_pipe(uint8_t port_id, uint32_t subport_id, uint32_t pipe_id);
196 int qavg_tcsubport(uint8_t port_id, uint32_t subport_id, uint8_t tc);
197 int qavg_subport(uint8_t port_id, uint32_t subport_id);
/deb_dpdk/lib/librte_pipeline/
H A Drte_pipeline.h110 /** Offset within packet meta-data to port_id to be used by action
252 uint32_t port_id; member in union:rte_pipeline_table_entry::__anon688
620 * @param port_id
628 uint32_t *port_id);
635 * @param port_id
643 uint32_t port_id,
651 * @param port_id
657 uint32_t port_id);
664 * @param port_id
670 uint32_t port_id);
[all...]

Completed in 39 milliseconds

1234567