2013-04-19 10:34:40 +00:00
|
|
|
API {#index}
|
|
|
|
===
|
|
|
|
|
|
|
|
<!--
|
|
|
|
BSD LICENSE
|
|
|
|
|
|
|
|
Copyright 2013 6WIND S.A.
|
|
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
|
modification, are permitted provided that the following conditions
|
|
|
|
are met:
|
|
|
|
|
|
|
|
* Redistributions of source code must retain the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer in
|
|
|
|
the documentation and/or other materials provided with the
|
|
|
|
distribution.
|
|
|
|
* Neither the name of 6WIND S.A. nor the names of its
|
|
|
|
contributors may be used to endorse or promote products derived
|
|
|
|
from this software without specific prior written permission.
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
-->
|
|
|
|
|
|
|
|
There are many libraries, so their headers may be grouped by topics:
|
|
|
|
|
|
|
|
- **device**:
|
2015-08-11 16:09:44 +00:00
|
|
|
[dev] (@ref rte_dev.h),
|
2013-04-19 10:34:40 +00:00
|
|
|
[ethdev] (@ref rte_ethdev.h),
|
2015-08-11 16:09:44 +00:00
|
|
|
[ethctrl] (@ref rte_eth_ctrl.h),
|
2016-12-21 14:51:17 +00:00
|
|
|
[rte_flow] (@ref rte_flow.h),
|
|
|
|
[rte_flow_driver] (@ref rte_flow_driver.h),
|
2015-11-25 13:25:12 +00:00
|
|
|
[cryptodev] (@ref rte_cryptodev.h),
|
2014-04-10 14:15:28 +00:00
|
|
|
[devargs] (@ref rte_devargs.h),
|
2017-01-30 18:27:25 +00:00
|
|
|
[PCI] (@ref rte_pci.h)
|
|
|
|
|
|
|
|
- **device specific**:
|
2014-06-25 20:07:43 +00:00
|
|
|
[bond] (@ref rte_eth_bond.h),
|
2014-10-13 17:22:45 +00:00
|
|
|
[vhost] (@ref rte_virtio_net.h),
|
2013-04-19 10:34:40 +00:00
|
|
|
[KNI] (@ref rte_kni.h),
|
2017-01-30 18:27:25 +00:00
|
|
|
[ixgbe] (@ref rte_pmd_ixgbe.h),
|
|
|
|
[i40e] (@ref rte_pmd_i40e.h)
|
2013-04-19 10:34:40 +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),
|
|
|
|
[rwlock] (@ref rte_rwlock.h),
|
|
|
|
[spinlock] (@ref rte_spinlock.h)
|
|
|
|
|
|
|
|
- **CPU arch**:
|
|
|
|
[branch prediction] (@ref rte_branch_prediction.h),
|
|
|
|
[cache prefetch] (@ref rte_prefetch.h),
|
2016-11-16 15:20:38 +00:00
|
|
|
[SIMD] (@ref rte_vect.h),
|
2013-04-19 10:34:40 +00:00
|
|
|
[byte order] (@ref rte_byteorder.h),
|
2017-01-18 01:21:23 +00:00
|
|
|
[CPU flags] (@ref rte_cpuflags.h),
|
|
|
|
[I/O access] (@ref rte_io.h)
|
2013-04-19 10:34:40 +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),
|
|
|
|
[power/freq] (@ref rte_power.h)
|
|
|
|
|
|
|
|
- **layers**:
|
|
|
|
[ethernet] (@ref rte_ether.h),
|
2015-08-11 16:09:44 +00:00
|
|
|
[ARP] (@ref rte_arp.h),
|
|
|
|
[ICMP] (@ref rte_icmp.h),
|
2013-04-19 10:34:40 +00:00
|
|
|
[IP] (@ref rte_ip.h),
|
|
|
|
[SCTP] (@ref rte_sctp.h),
|
|
|
|
[TCP] (@ref rte_tcp.h),
|
|
|
|
[UDP] (@ref rte_udp.h),
|
2014-05-28 17:32:36 +00:00
|
|
|
[frag/reass] (@ref rte_ip_frag.h),
|
2015-08-11 16:09:44 +00:00
|
|
|
[LPM IPv4 route] (@ref rte_lpm.h),
|
|
|
|
[LPM IPv6 route] (@ref rte_lpm6.h),
|
2017-01-17 22:23:51 +00:00
|
|
|
[ACL] (@ref rte_acl.h),
|
|
|
|
[EFD] (@ref rte_efd.h)
|
2013-04-19 10:34:40 +00:00
|
|
|
|
|
|
|
- **QoS**:
|
|
|
|
[metering] (@ref rte_meter.h),
|
|
|
|
[scheduler] (@ref rte_sched.h),
|
|
|
|
[RED congestion] (@ref rte_red.h)
|
|
|
|
|
|
|
|
- **hashes**:
|
|
|
|
[hash] (@ref rte_hash.h),
|
|
|
|
[jhash] (@ref rte_jhash.h),
|
2015-08-11 16:09:44 +00:00
|
|
|
[thash] (@ref rte_thash.h),
|
2013-04-19 10:34:40 +00:00
|
|
|
[FBK hash] (@ref rte_fbk_hash.h),
|
|
|
|
[CRC hash] (@ref rte_hash_crc.h)
|
|
|
|
|
|
|
|
- **containers**:
|
|
|
|
[mbuf] (@ref rte_mbuf.h),
|
|
|
|
[ring] (@ref rte_ring.h),
|
2014-05-29 10:12:14 +00:00
|
|
|
[distributor] (@ref rte_distributor.h),
|
2015-08-11 16:09:44 +00:00
|
|
|
[reorder] (@ref rte_reorder.h),
|
2013-04-19 10:34:40 +00:00
|
|
|
[tailq] (@ref rte_tailq.h),
|
2015-08-11 16:09:44 +00:00
|
|
|
[bitmap] (@ref rte_bitmap.h),
|
2013-04-19 10:34:40 +00:00
|
|
|
|
2014-06-04 18:08:19 +00:00
|
|
|
- **packet framework**:
|
|
|
|
* [port] (@ref rte_port.h):
|
2014-06-04 18:08:20 +00:00
|
|
|
[ethdev] (@ref rte_port_ethdev.h),
|
2014-06-04 18:08:21 +00:00
|
|
|
[ring] (@ref rte_port_ring.h),
|
2014-06-04 18:08:22 +00:00
|
|
|
[frag] (@ref rte_port_frag.h),
|
2014-06-04 18:08:23 +00:00
|
|
|
[reass] (@ref rte_port_ras.h),
|
2014-06-04 18:08:24 +00:00
|
|
|
[sched] (@ref rte_port_sched.h),
|
2016-06-21 10:55:52 +00:00
|
|
|
[kni] (@ref rte_port_kni.h),
|
2014-06-04 18:08:25 +00:00
|
|
|
[src/sink] (@ref rte_port_source_sink.h)
|
2014-06-04 18:08:27 +00:00
|
|
|
* [table] (@ref rte_table.h):
|
2014-06-04 18:08:28 +00:00
|
|
|
[lpm IPv4] (@ref rte_table_lpm.h),
|
2014-06-04 18:08:29 +00:00
|
|
|
[lpm IPv6] (@ref rte_table_lpm_ipv6.h),
|
2014-06-04 18:08:30 +00:00
|
|
|
[ACL] (@ref rte_table_acl.h),
|
2014-06-04 18:08:31 +00:00
|
|
|
[hash] (@ref rte_table_hash.h),
|
2014-06-04 18:08:32 +00:00
|
|
|
[array] (@ref rte_table_array.h),
|
2014-06-04 18:08:33 +00:00
|
|
|
[stub] (@ref rte_table_stub.h)
|
2014-06-04 18:08:35 +00:00
|
|
|
* [pipeline] (@ref rte_pipeline.h)
|
2014-06-04 18:08:19 +00:00
|
|
|
|
2014-02-04 15:11:12 +00:00
|
|
|
- **basic**:
|
|
|
|
[approx fraction] (@ref rte_approx.h),
|
|
|
|
[random] (@ref rte_random.h),
|
2015-08-11 16:09:44 +00:00
|
|
|
[config file] (@ref rte_cfgfile.h),
|
2014-02-04 15:11:12 +00:00
|
|
|
[key/value args] (@ref rte_kvargs.h),
|
2014-07-04 09:12:31 +00:00
|
|
|
[string] (@ref rte_string_fns.h)
|
2014-02-04 15:11:12 +00:00
|
|
|
|
2013-04-19 10:34:40 +00:00
|
|
|
- **debug**:
|
2015-08-11 16:09:44 +00:00
|
|
|
[jobstats] (@ref rte_jobstats.h),
|
2016-12-01 11:02:10 +00:00
|
|
|
[pdump] (@ref rte_pdump.h),
|
2015-08-11 16:09:44 +00:00
|
|
|
[hexdump] (@ref rte_hexdump.h),
|
2013-04-19 10:34:40 +00:00
|
|
|
[debug] (@ref rte_debug.h),
|
|
|
|
[log] (@ref rte_log.h),
|
|
|
|
[errno] (@ref rte_errno.h)
|
|
|
|
|
|
|
|
- **misc**:
|
|
|
|
[EAL config] (@ref rte_eal.h),
|
|
|
|
[common] (@ref rte_common.h),
|
2015-08-11 16:09:44 +00:00
|
|
|
[ABI compat] (@ref rte_compat.h),
|
2015-11-18 14:05:14 +00:00
|
|
|
[keepalive] (@ref rte_keepalive.h),
|
2013-04-19 10:34:40 +00:00
|
|
|
[version] (@ref rte_version.h)
|