7 Copyright 2013-2017 6WIND S.A.
9 Redistribution and use in source and binary forms, with or without
10 modification, are permitted provided that the following conditions
13 * Redistributions of source code must retain the above copyright
14 notice,
this list of conditions and the following disclaimer.
15 * Redistributions in binary form must reproduce the above copyright
16 notice,
this list of conditions and the following disclaimer in
17 the documentation and/or other materials provided with the
19 * Neither the
name of 6WIND S.A. nor the names of its
20 contributors may be used to endorse or promote products derived
21 from
this software without specific prior written permission.
23 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 The
public API headers are grouped by topics:
39 [dev] (@ref rte_dev.h),
40 [ethdev] (@ref rte_ethdev.h),
41 [ethctrl] (@ref rte_eth_ctrl.h),
42 [rte_flow] (@ref rte_flow.h),
43 [rte_tm] (@ref rte_tm.h),
44 [rte_mtr] (@ref rte_mtr.h),
46 [security] (@ref rte_security.h),
47 [eventdev] (@ref rte_eventdev.h),
48 [event_eth_rx_adapter] (@ref rte_event_eth_rx_adapter.h),
49 [metrics] (@ref rte_metrics.h),
50 [bitrate] (@ref rte_bitrate.h),
51 [latency] (@ref rte_latencystats.h),
53 [PCI] (@ref rte_pci.h)
55 - **device specific**:
56 [softnic] (@ref rte_eth_softnic.h),
57 [bond] (@ref rte_eth_bond.h),
58 [vhost] (@ref rte_vhost.h),
59 [KNI] (@ref rte_kni.h),
60 [ixgbe] (@ref rte_pmd_ixgbe.h),
61 [i40e] (@ref rte_pmd_i40e.h),
62 [bnxt] (@ref rte_pmd_bnxt.h),
66 [memseg] (@ref rte_memory.h),
73 [cycles] (@ref rte_cycles.h),
75 [alarm] (@ref rte_alarm.h)
78 [atomic] (@ref rte_atomic.h),
79 [rwlock] (@ref rte_rwlock.h),
80 [spinlock] (@ref rte_spinlock.h)
83 [branch prediction] (@ref rte_branch_prediction.h),
84 [cache prefetch] (@ref rte_prefetch.h),
85 [SIMD] (@ref rte_vect.h),
86 [byte order] (@ref rte_byteorder.h),
87 [CPU
flags] (@ref rte_cpuflags.h),
89 [I/O access] (@ref rte_io.h)
92 [interrupts] (@ref rte_interrupts.h),
93 [launch] (@ref rte_launch.h),
94 [lcore] (@ref rte_lcore.h),
95 [per-lcore] (@ref rte_per_lcore.h),
96 [service cores] (@ref rte_service.h),
97 [keepalive] (@ref rte_keepalive.h),
98 [power/freq] (@ref rte_power.h)
101 [ethernet] (@ref rte_ether.h),
102 [ARP] (@ref rte_arp.h),
103 [ICMP] (@ref rte_icmp.h),
104 [ESP] (@ref rte_esp.h),
105 [IP] (@ref rte_ip.h),
106 [SCTP] (@ref rte_sctp.h),
107 [TCP] (@ref rte_tcp.h),
108 [UDP] (@ref rte_udp.h),
109 [GRO] (@ref rte_gro.h),
110 [GSO] (@ref rte_gso.h),
111 [frag/reass] (@ref rte_ip_frag.h),
112 [LPM
IPv4 route] (@ref rte_lpm.h),
113 [LPM IPv6 route] (@ref rte_lpm6.h)
116 [metering] (@ref rte_meter.h),
117 [scheduler] (@ref rte_sched.h),
118 [RED congestion] (@ref
rte_red.h)
123 [thash] (@ref rte_thash.h),
124 [FBK hash] (@ref rte_fbk_hash.h),
128 [reorder] (@ref rte_reorder.h),
129 [distributor] (@ref rte_distributor.h),
130 [EFD] (@ref rte_efd.h),
131 [ACL] (@ref rte_acl.h),
132 [member] (@ref rte_member.h),
133 [flow classify] (@ref rte_flow_classify.h)
138 [tailq] (@ref rte_tailq.h),
141 - **packet framework**:
142 * [
port] (@ref rte_port.h):
143 [ethdev] (@ref rte_port_ethdev.h),
144 [ring] (@ref rte_port_ring.h),
145 [frag] (@ref rte_port_frag.h),
146 [reass] (@ref rte_port_ras.h),
147 [sched] (@ref rte_port_sched.h),
148 [kni] (@ref rte_port_kni.h),
149 [src/sink] (@ref rte_port_source_sink.h)
150 * [table] (@ref rte_table.h):
151 [lpm
IPv4] (@ref rte_table_lpm.h),
152 [lpm IPv6] (@ref rte_table_lpm_ipv6.h),
153 [ACL] (@ref rte_table_acl.h),
154 [hash] (@ref rte_table_hash.h),
155 [array] (@ref rte_table_array.h),
156 [stub] (@ref rte_table_stub.h)
157 * [pipeline] (@ref rte_pipeline.h)
161 [random] (@ref rte_random.h),
162 [config file] (@ref rte_cfgfile.h),
164 [
string] (@ref rte_string_fns.h)
167 [jobstats] (@ref rte_jobstats.h),
168 [pdump] (@ref rte_pdump.h),
170 [debug] (@ref rte_debug.h),
175 [EAL config] (@ref rte_eal.h),
176 [common] (@ref rte_common.h),
177 [ABI compat] (@ref rte_compat.h),
int rte_approx(double alpha, double d, uint32_t *p, uint32_t *q)
int rte_log(uint32_t level, uint32_t logtype, const char *format,...)
static const char * rte_version(void)
void * rte_malloc(const char *type, size_t size, unsigned align)
void rte_hexdump(FILE *f, const char *title, const void *buf, unsigned int len)
static uint32_t rte_hash_crc(const void *data, uint32_t data_len, uint32_t init_val)
static void rte_pause(void)
static uint32_t rte_jhash(const void *key, uint32_t length, uint32_t initval)
static void * rte_memcpy(void *dst, const void *src, size_t n)
char name[RTE_MEMZONE_NAMESIZE]