2021-01-28 17:08:59 +00:00
|
|
|
API
|
2017-04-21 10:43:26 +00:00
|
|
|
===
|
|
|
|
|
|
|
|
<!--
|
2019-06-25 11:12:58 +00:00
|
|
|
SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
Copyright(c) 2013-2017 6WIND S.A.
|
2017-04-21 10:43:26 +00:00
|
|
|
-->
|
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
The public API headers are grouped by topics:
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
- **device**:
|
|
|
|
[dev] (@ref rte_dev.h),
|
|
|
|
[ethdev] (@ref rte_ethdev.h),
|
|
|
|
[ethctrl] (@ref rte_eth_ctrl.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[rte_flow] (@ref rte_flow.h),
|
|
|
|
[rte_tm] (@ref rte_tm.h),
|
|
|
|
[rte_mtr] (@ref rte_mtr.h),
|
2019-06-25 11:12:58 +00:00
|
|
|
[bbdev] (@ref rte_bbdev.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[cryptodev] (@ref rte_cryptodev.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[security] (@ref rte_security.h),
|
2019-06-25 11:12:58 +00:00
|
|
|
[compressdev] (@ref rte_compressdev.h),
|
|
|
|
[compress] (@ref rte_comp.h),
|
2021-02-05 08:48:47 +00:00
|
|
|
[regexdev] (@ref rte_regexdev.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[eventdev] (@ref rte_eventdev.h),
|
|
|
|
[event_eth_rx_adapter] (@ref rte_event_eth_rx_adapter.h),
|
2019-06-25 11:12:58 +00:00
|
|
|
[event_eth_tx_adapter] (@ref rte_event_eth_tx_adapter.h),
|
|
|
|
[event_timer_adapter] (@ref rte_event_timer_adapter.h),
|
|
|
|
[event_crypto_adapter] (@ref rte_event_crypto_adapter.h),
|
|
|
|
[rawdev] (@ref rte_rawdev.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[metrics] (@ref rte_metrics.h),
|
|
|
|
[bitrate] (@ref rte_bitrate.h),
|
|
|
|
[latency] (@ref rte_latencystats.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[devargs] (@ref rte_devargs.h),
|
2019-06-25 11:12:58 +00:00
|
|
|
[PCI] (@ref rte_pci.h),
|
2020-06-18 16:55:50 +00:00
|
|
|
[vdev] (@ref rte_bus_vdev.h),
|
2019-06-25 11:12:58 +00:00
|
|
|
[vfio] (@ref rte_vfio.h)
|
2018-05-15 09:49:22 +00:00
|
|
|
|
|
|
|
- **device specific**:
|
|
|
|
[softnic] (@ref rte_eth_softnic.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[bond] (@ref rte_eth_bond.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[vhost] (@ref rte_vhost.h),
|
2019-06-25 11:12:58 +00:00
|
|
|
[vdpa] (@ref rte_vdpa.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[KNI] (@ref rte_kni.h),
|
2021-02-05 08:48:47 +00:00
|
|
|
[ark] (@ref rte_pmd_ark.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[ixgbe] (@ref rte_pmd_ixgbe.h),
|
|
|
|
[i40e] (@ref rte_pmd_i40e.h),
|
2020-06-18 16:55:50 +00:00
|
|
|
[ice] (@ref rte_pmd_ice.h),
|
2021-02-05 08:48:47 +00:00
|
|
|
[iavf] (@ref rte_pmd_iavf.h),
|
|
|
|
[ioat] (@ref rte_ioat_rawdev.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[bnxt] (@ref rte_pmd_bnxt.h),
|
2019-06-25 11:12:58 +00:00
|
|
|
[dpaa] (@ref rte_pmd_dpaa.h),
|
2020-06-18 16:55:50 +00:00
|
|
|
[dpaa2] (@ref rte_pmd_dpaa2.h),
|
2021-02-05 08:48:47 +00:00
|
|
|
[mlx5] (@ref rte_pmd_mlx5.h),
|
2019-06-25 11:12:58 +00:00
|
|
|
[dpaa2_mempool] (@ref rte_dpaa2_mempool.h),
|
|
|
|
[dpaa2_cmdif] (@ref rte_pmd_dpaa2_cmdif.h),
|
|
|
|
[dpaa2_qdma] (@ref rte_pmd_dpaa2_qdma.h),
|
2021-02-05 08:48:47 +00:00
|
|
|
[crypto_scheduler] (@ref rte_cryptodev_scheduler.h),
|
|
|
|
[dlb] (@ref rte_pmd_dlb.h),
|
|
|
|
[dlb2] (@ref rte_pmd_dlb2.h)
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
- **memory**:
|
|
|
|
[memseg] (@ref rte_memory.h),
|
|
|
|
[memzone] (@ref rte_memzone.h),
|
|
|
|
[mempool] (@ref rte_mempool.h),
|
|
|
|
[malloc] (@ref rte_malloc.h),
|
|
|
|
[memcpy] (@ref rte_memcpy.h)
|
|
|
|
|
|
|
|
- **timers**:
|
|
|
|
[cycles] (@ref rte_cycles.h),
|
|
|
|
[timer] (@ref rte_timer.h),
|
|
|
|
[alarm] (@ref rte_alarm.h)
|
|
|
|
|
|
|
|
- **locks**:
|
|
|
|
[atomic] (@ref rte_atomic.h),
|
2020-06-18 16:55:50 +00:00
|
|
|
[mcslock] (@ref rte_mcslock.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[rwlock] (@ref rte_rwlock.h),
|
2020-06-18 16:55:50 +00:00
|
|
|
[spinlock] (@ref rte_spinlock.h),
|
|
|
|
[ticketlock] (@ref rte_ticketlock.h),
|
|
|
|
[RCU] (@ref rte_rcu_qsbr.h)
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
- **CPU arch**:
|
|
|
|
[branch prediction] (@ref rte_branch_prediction.h),
|
|
|
|
[cache prefetch] (@ref rte_prefetch.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[SIMD] (@ref rte_vect.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[byte order] (@ref rte_byteorder.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[CPU flags] (@ref rte_cpuflags.h),
|
|
|
|
[CPU pause] (@ref rte_pause.h),
|
|
|
|
[I/O access] (@ref rte_io.h)
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
- **CPU multicore**:
|
|
|
|
[interrupts] (@ref rte_interrupts.h),
|
|
|
|
[launch] (@ref rte_launch.h),
|
|
|
|
[lcore] (@ref rte_lcore.h),
|
|
|
|
[per-lcore] (@ref rte_per_lcore.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[service cores] (@ref rte_service.h),
|
|
|
|
[keepalive] (@ref rte_keepalive.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[power/freq] (@ref rte_power.h)
|
|
|
|
|
|
|
|
- **layers**:
|
|
|
|
[ethernet] (@ref rte_ether.h),
|
|
|
|
[ARP] (@ref rte_arp.h),
|
2020-06-18 16:55:50 +00:00
|
|
|
[HIGIG] (@ref rte_higig.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[ICMP] (@ref rte_icmp.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[ESP] (@ref rte_esp.h),
|
2020-06-18 16:55:50 +00:00
|
|
|
[IPsec] (@ref rte_ipsec.h),
|
|
|
|
[IPsec group] (@ref rte_ipsec_group.h),
|
|
|
|
[IPsec SA] (@ref rte_ipsec_sa.h),
|
|
|
|
[IPsec SAD] (@ref rte_ipsec_sad.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[IP] (@ref rte_ip.h),
|
2021-02-05 08:48:47 +00:00
|
|
|
[frag/reass] (@ref rte_ip_frag.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[SCTP] (@ref rte_sctp.h),
|
|
|
|
[TCP] (@ref rte_tcp.h),
|
|
|
|
[UDP] (@ref rte_udp.h),
|
2020-06-18 16:55:50 +00:00
|
|
|
[GTP] (@ref rte_gtp.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[GRO] (@ref rte_gro.h),
|
|
|
|
[GSO] (@ref rte_gso.h),
|
2021-02-05 08:48:47 +00:00
|
|
|
[GRE] (@ref rte_gre.h),
|
|
|
|
[MPLS] (@ref rte_mpls.h),
|
|
|
|
[VXLAN] (@ref rte_vxlan.h),
|
|
|
|
[Geneve] (@ref rte_geneve.h),
|
|
|
|
[eCPRI] (@ref rte_ecpri.h)
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
- **QoS**:
|
|
|
|
[metering] (@ref rte_meter.h),
|
|
|
|
[scheduler] (@ref rte_sched.h),
|
|
|
|
[RED congestion] (@ref rte_red.h)
|
|
|
|
|
2021-01-28 17:08:59 +00:00
|
|
|
- **routing**:
|
|
|
|
[LPM IPv4 route] (@ref rte_lpm.h),
|
|
|
|
[LPM IPv6 route] (@ref rte_lpm6.h),
|
|
|
|
[RIB IPv4] (@ref rte_rib.h),
|
|
|
|
[RIB IPv6] (@ref rte_rib6.h),
|
|
|
|
[FIB IPv4] (@ref rte_fib.h),
|
|
|
|
[FIB IPv6] (@ref rte_fib6.h)
|
|
|
|
|
2017-04-21 10:43:26 +00:00
|
|
|
- **hashes**:
|
|
|
|
[hash] (@ref rte_hash.h),
|
|
|
|
[jhash] (@ref rte_jhash.h),
|
|
|
|
[thash] (@ref rte_thash.h),
|
|
|
|
[FBK hash] (@ref rte_fbk_hash.h),
|
|
|
|
[CRC hash] (@ref rte_hash_crc.h)
|
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
- **classification**
|
|
|
|
[reorder] (@ref rte_reorder.h),
|
|
|
|
[distributor] (@ref rte_distributor.h),
|
|
|
|
[EFD] (@ref rte_efd.h),
|
|
|
|
[ACL] (@ref rte_acl.h),
|
|
|
|
[member] (@ref rte_member.h),
|
2019-06-25 11:12:58 +00:00
|
|
|
[flow classify] (@ref rte_flow_classify.h),
|
|
|
|
[BPF] (@ref rte_bpf.h)
|
2018-05-15 09:49:22 +00:00
|
|
|
|
2017-04-21 10:43:26 +00:00
|
|
|
- **containers**:
|
|
|
|
[mbuf] (@ref rte_mbuf.h),
|
2019-06-25 11:12:58 +00:00
|
|
|
[mbuf pool ops] (@ref rte_mbuf_pool_ops.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[ring] (@ref rte_ring.h),
|
2020-06-18 16:55:50 +00:00
|
|
|
[stack] (@ref rte_stack.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[tailq] (@ref rte_tailq.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[bitmap] (@ref rte_bitmap.h)
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
- **packet framework**:
|
|
|
|
* [port] (@ref rte_port.h):
|
|
|
|
[ethdev] (@ref rte_port_ethdev.h),
|
|
|
|
[ring] (@ref rte_port_ring.h),
|
|
|
|
[frag] (@ref rte_port_frag.h),
|
|
|
|
[reass] (@ref rte_port_ras.h),
|
|
|
|
[sched] (@ref rte_port_sched.h),
|
|
|
|
[kni] (@ref rte_port_kni.h),
|
|
|
|
[src/sink] (@ref rte_port_source_sink.h)
|
|
|
|
* [table] (@ref rte_table.h):
|
|
|
|
[lpm IPv4] (@ref rte_table_lpm.h),
|
|
|
|
[lpm IPv6] (@ref rte_table_lpm_ipv6.h),
|
|
|
|
[ACL] (@ref rte_table_acl.h),
|
|
|
|
[hash] (@ref rte_table_hash.h),
|
|
|
|
[array] (@ref rte_table_array.h),
|
|
|
|
[stub] (@ref rte_table_stub.h)
|
|
|
|
* [pipeline] (@ref rte_pipeline.h)
|
2019-06-25 11:12:58 +00:00
|
|
|
[port_in_action] (@ref rte_port_in_action.h)
|
|
|
|
[table_action] (@ref rte_table_action.h)
|
2021-02-05 08:48:47 +00:00
|
|
|
* SWX pipeline:
|
|
|
|
[control] (@ref rte_swx_ctl.h),
|
|
|
|
[extern] (@ref rte_swx_extern.h),
|
|
|
|
[pipeline] (@ref rte_swx_pipeline.h)
|
|
|
|
* SWX port:
|
|
|
|
[port] (@ref rte_swx_port.h),
|
|
|
|
[ethdev] (@ref rte_swx_port_ethdev.h),
|
|
|
|
[src/sink] (@ref rte_swx_port_source_sink.h)
|
|
|
|
* SWX table:
|
|
|
|
[table] (@ref rte_swx_table.h),
|
|
|
|
[table_em] (@ref rte_swx_table_em.h)
|
|
|
|
* [graph] (@ref rte_graph.h):
|
|
|
|
[graph_worker] (@ref rte_graph_worker.h)
|
|
|
|
* graph_nodes:
|
|
|
|
[eth_node] (@ref rte_node_eth_api.h),
|
|
|
|
[ip4_node] (@ref rte_node_ip4_api.h)
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
- **basic**:
|
2021-02-05 08:48:47 +00:00
|
|
|
[bitops] (@ref rte_bitops.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[approx fraction] (@ref rte_approx.h),
|
|
|
|
[random] (@ref rte_random.h),
|
|
|
|
[config file] (@ref rte_cfgfile.h),
|
|
|
|
[key/value args] (@ref rte_kvargs.h),
|
|
|
|
[string] (@ref rte_string_fns.h)
|
|
|
|
|
|
|
|
- **debug**:
|
|
|
|
[jobstats] (@ref rte_jobstats.h),
|
2019-06-25 11:12:58 +00:00
|
|
|
[telemetry] (@ref rte_telemetry.h),
|
2018-05-15 09:49:22 +00:00
|
|
|
[pdump] (@ref rte_pdump.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[hexdump] (@ref rte_hexdump.h),
|
|
|
|
[debug] (@ref rte_debug.h),
|
|
|
|
[log] (@ref rte_log.h),
|
2021-02-05 08:48:47 +00:00
|
|
|
[errno] (@ref rte_errno.h),
|
|
|
|
[trace] (@ref rte_trace.h),
|
|
|
|
[trace_point] (@ref rte_trace_point.h)
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
- **misc**:
|
|
|
|
[EAL config] (@ref rte_eal.h),
|
|
|
|
[common] (@ref rte_common.h),
|
2020-06-18 16:55:50 +00:00
|
|
|
[experimental APIs] (@ref rte_compat.h),
|
|
|
|
[ABI versioning] (@ref rte_function_versioning.h),
|
2017-04-21 10:43:26 +00:00
|
|
|
[version] (@ref rte_version.h)
|