DPDK API for Configuring and Controlling Devices

Link-Inline™ Software Features

Platform
Napatech SmartNIC
Content Type
Feature Description
Capture Software Version
Link-Inline™ Software 3.2

This shows DPDK API functions related to device configuration and control.

Functions for device configuration and control

This table shows which DPDK API functions to manage and interact with devices that are supported on Napatech SmartNICs running Link-Inline™ Software.

Note: Table legend:
  • X: Supported.
  • –: Not supported.
DPDK API Parameter Support
rte_eth_dev_configure nb_rx_queue
nb_tx_queue
dev_conf.link_speeds
dev_conf.rxmode
dev_conf.txmode
dev_conf.lpbk_mode
dev_conf.rx_adv_conf
dev_conf.tx_adv_conf
dev_conf.dcb_capability_en
dev_conf.intr_conf
rte_eth_dev_start X
rte_eth_dev_stop X
rte_eth_dev_set_link_up X
rte_eth_dev_set_link_down X
rte_eth_dev_close X
rte_eth_dev_reset
rte_eth_link_update?? X
rte_eth_dev_is_removed
rte_eth_promiscuous_enable
rte_eth_promiscuous_disable
rte_eth_allmulticast_enable
rte_eth_allmulticast_disable
rte_eth_dev_mac_addr_remove
rte_eth_dev_mac_addr_add
rte_eth_dev_default_mac_addr_set
rte_eth_dev_set_mc_addr_list
rte_eth_dev_set_mtu X
rte_eth_stats_get X
rte_eth_stats_reset X
rte_eth_xstats_get X
rte_eth_xstats_reset X
rte_eth_xstats_get_names X
rte_eth_dev_set_tx_queue_stats_mapping??  
rte_eth_dev_set_rx_queue_stats_mapping??
rte_eth_dev_info_get driver_name X
if_index X
min_mtu
max_mtu
dev_flags
min_rx_bufsize X
max_rx_pktlen X
max_lro_pkt_size
max_rx_queues X
max_tx_queues X
max_mac_addrs X
max_hash_mac_addrs
max_vfs
max_vmdq_pools
rx_seg_capa
rx_offload_capa
tx_offload_capa
rx_queue_offload_capa
tx_queue_offload_capa
reta_size
hash_key_size
flow_type_rss_offloads X
default_rxconf
default_txconf
vmdq_queue_base
vmdq_queue_num
vmdq_pool_base
rx_desc_lim
tx_desc_lim
speed_capa X
nb_rx_queues
nb_tx_queues
default_rxportconf
default_txportconf
dev_capa
switch_info
rte_eth_rx_queue_info_get
rte_eth_tx_queue_info_get
rte_eth_rx_burst_mode_get
rte_eth_tx_burst_mode_get
rte_eth_dev_fw_version_get X
rte_eth_dev_get_supported_ptypes
rte_eth_dev_set_ptypes
rte_eth_dev_vlan_filter??
rte_eth_vlan_tpid_set??
rte_eth_dev_set_vlan_strip_on_queue??
rte_eth_dev_set_vlan_offload
rte_eth_dev_set_vlan_pvid
rte_eth_dev_rx_queue_start X
rte_eth_dev_rx_queue_stop X
rte_eth_dev_tx_queue_start X
rte_eth_dev_tx_queue_stop X
rte_eth_rx_queue_setup nb_rx_desc
socket_id
rx_conf
rte_eth_dev_rx_queue_release?? X
rte_eth_dev_rx_intr_enable
rte_eth_dev_rx_intr_disable
rte_eth_tx_queue_setup nb_tx_desc
socket_id
tx_conf
rte_eth_tx_queue_release?? X
rte_eth_tx_done_cleanup
rte_eth_led_on
rte_eth_led_off
rte_eth_dev_flow_ctrl_get
rte_eth_dev_flow_ctrl_set
rte_eth_dev_priority_flow_ctrl_set
rte_eth_dev_uc_hash_table_set
rte_eth_dev_uc_all_hash_table_set
rte_eth_dev_udp_tunnel_port_add
rte_eth_dev_udp_tunnel_port_delete
rte_eth_set_queue_rate_limit
rte_eth_rss_hash_update
rte_eth_rss_hash_conf_get
rte_eth_dev_rss_reta_update
rte_eth_dev_rss_reta_query
rte_eth_dev_get_reg_info
rte_eth_dev_get_eeprom_length
rte_eth_dev_get_eeprom
rte_eth_dev_set_eeprom
rte_eth_dev_get_module_info
rte_eth_dev_get_module_eeprom
rte_eth_flow_ops_get?? X
rte_eth_dev_get_dcb_info
rte_eth_timesync_enable
rte_eth_timesync_disable
rte_eth_timesync_read_rx_timestamp
rte_eth_timesync_read_tx_timestamp
rte_eth_timesync_adjust_time
rte_eth_timesync_read_time
rte_eth_timesync_write_time
rte_eth_read_clock
rte_eth_xstats_get_by_id X
rte_eth_xstats_get_names_by_id X
rte_eth_tm_ops_get??
rte_eth_mtr_ops_get?? X
rte_eth_dev_pool_ops_supported
rte_eth_dev_hairpin_capability_get
rte_eth_rx_hairpin_queue_setup
rte_eth_tx_hairpin_queue_setup
rte_eth_fec_get_capability
rte_eth_fec_get
rte_eth_fec_set
rte_eth_hairpin_get_peer_ports
rte_eth_hairpin_bind
rte_eth_hairpin_unbind
rte_eth_hairpin_queue_peer_update
rte_eth_hairpin_queue_peer_bind??
rte_eth_hairpin_queue_peer_unbind??
rte_eth_get_monitor_addr
rte_eth_representor_info_get
rte_eth_rx_metadata_negotiate
Related links: