Home
last modified time | relevance | path

Searched refs:an (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/dpdk/doc/guides/prog_guide/
H A Devent_timer_adapter.rst8 introduces an event driven programming model which presents applications with
9 an alternative to the polling model traditionally used in DPDK
16 a timer expiration, and providing an API with which adapters can be created or
33 Event timers are timers that enqueue a timer expiration event to an event
101 Create and Configure an Adapter Instance
104 To create an event timer adapter instance, initialize an
131 configure an event port; it will examine the current event device
148 configure an adapter in periodic mode, ``timer_adapter_flags`` of
162 ``rte_event_timer_adapter_get_info()``. This function will return an
201 Once an event timer adapter has been started, an application can begin to
[all …]
H A Dgeneric_segmentation_offload_lib.rst59 Before performing segmentation, an application must create a GSO context object
68 part contains a pointer to an offset within the original packet. This mechanism
88 considerably), the second part of each output segment is an indirect mbuf,
89 which contains no actual data, but simply points to an offset within the
129 :numref:`figure_gso-three-seg-mbuf` illustrates an example of a three-part
149 may also contain an optional VLAN tag.
154 may also contain an optional VLAN tag. UDP GSO is the same as IP fragmentation.
163 which contain an outer IPv4 header, inner TCP/IPv4 or UDP/IPv4 headers, and
169 an outer IPv4 header, inner TCP/IPv4 headers, and an optional VLAN tag.
174 To segment an outgoing packet, an application must:
[all …]
H A Devent_crypto_adapter.rst9 The :doc:`Cryptodev library <cryptodev_lib>` provides an interface to
16 The Adapter queries an eventdev PMD to determine which mechanism to be used.
17 The adapter uses an EAL service core function for SW based packet transfer
28 In the former mode, it is an application responsibility to enable ingress
46 which is needed to enqueue an event after the crypto operation is completed.
72 information) needed to enqueue an event after the crypto operation has
86 The application is expected to create an adapter which is associated with
89 Create an adapter instance
120 service function and needs to create an event port for it. The callback is
130 API. An application can use this event port to link with an event queue, on
[all …]
H A Drib_lib.rst59 * ``rte_rib_remove()``: Delete an existing route.
61 * ``rte_rib_lookup()``: Lookup an IP in the structure using longest match.
63 * ``rte_rib_lookup_exact()``: Lookup an IP in the structure using exact match.
78 This returns an ``rte_rib_node`` pointing to the ``10.0.0.0/29`` prefix.
80 * To find an exact match route:
86 This returns an ``rte_rib_node`` pointing to the ``10.0.0.128/25`` prefix.
112 By default, an ``rte_rib_node`` node contains only crucial information such as the prefix and
131 In case of a next hop failure, we need to replace an active failed next hop with a
H A Dmember_lib.rst12 The DPDK Membership Library provides an API for DPDK applications to insert a
13 new member, delete an existing member, or query the existence of a member in a
16 the sets but also which set it belongs to. The Membership Library is an
24 elements themselves, and secondly checking an element membership (or other
30 membership test for an element will return the set this element belongs to or
59 Membership Library, a proxy receiving an http request will inquire the
65 dropping packets when TTL expires. As shown in Sub-figure (b), an embedded
180 Cuckoo filter [Member-cfilter] is an example of HTSS.
195 represents a certain signature length (for correctness of this example, an
306 …`rte_member_add()`` function is used to insert an element/key into a set-summary structure. If it …
[all …]
H A Dbpf_lib.rst7 The DPDK provides an BPF library that gives the ability
22 * Destroy an BPF execution context and its runtime structures and free the associated memory.
37 Register ``R6`` is an implicit input that must contain pointer to ``rte_mbuf``.
38 Register ``R0`` is an implicit output which contains the data fetched from the
H A Dpoll_mode_drv.rst106 For example, an mbuf_multiple_alloc function returning an array of pointers to rte_mbuf buffers whi…
272 the application may want to reset back to an initial state
442 have an affinity with either receive of transmit.
481 * ``rte_eth_xstats_get_by_id()``: Fills in an array of ``uint64_t`` values
489 Imagine an application that wants to view the dropped packet count. If no
582 call. As an end result, the application is able to achieve its goal of
598 function when an RTE_ETH_EVENT_INTR_RESET event is detected.
602 events. When a PMD needs to trigger a reset, it can trigger an
603 RTE_ETH_EVENT_INTR_RESET event. On receiving an RTE_ETH_EVENT_INTR_RESET
609 this event and also trigger an interrupt to VFs. Then in the interrupt
[all …]
H A Dperf_opt_guidelines.rst17 and should not be, used when developing an application using the DPDK.
19 And finally, they give an introduction to application profiling using a Performance Analyzer from I…
H A Dsource_org.rst15 By convention a library refers to any code that provides an API to an application.
16 Typically, it generates an archive file (``.a``), but a kernel module would also go in the same dir…
H A Defd_lib.rst42 computation based on the flow key as an input. For example, a hash
132 scheme: given an input key the lookup operation is reduced to hashing
158 EFD is not a FIB data structure with an exact match the input flow key.
166 As previously mentioned, it can used as an index table for
189 With an input flow key, the group id is computed (for example, using
210 hash-index or a flow table. The application creates an EFD table for a
219 to an EFD table that is sized to hold up to num_flows key.
235 ``rte_efd_update()``. This function will update an existing key to
274 To delete a certain key in an EFD table, the function
291 This section provides the brief high-level idea and an overview
[all …]
H A Deventdev.rst8 The DPDK Event device library is an abstraction that provides the application
15 to look for a packet. By contrast in an event driven model, lcores call the
17 The Eventdev library adds support for an event driven programming model, which
22 By introducing an event driven programming model, DPDK can support both polling
34 payload and metadata required for scheduling by an eventdev. The
145 There is a SINGLE_LINK flag which allows an application to indicate that only
164 create and configure an eventdev and use it for a two-stage atomic pipeline
191 application, using the name of the eventdev PMD as an argument.
193 For example, to create an instance of the software eventdev scheduler, the
419 or while tearing down a worker core using an event port,
[all …]
H A Devent_ethernet_rx_adapter.rst7 The DPDK Eventdev API allows the application to use an event driven programming
8 model for packet processing. In this model, the application polls an event
26 application has to first instantiate an adapter which is associated with
35 Creating an Adapter Instance
40 configuration for the adapter to setup an event port if the adapter needs to use
61 service function and needs to create an event port for it. The callback is
71 the adapter and port configuration for the adapter to setup an event port
107 the application to query the adapter capabilities for an eventdev and ethdev
194 The adapter creates a thread blocked on the interrupt, on an interrupt this
210 temporarily enqueues mbufs to an event buffer before batch enqueuing these
H A Dfib_lib.rst32 A FIB rule consists of a prefix and an associated next hop ID. The prefix consists
33 of an IPv4 network address (``uint32_t``) and the corresponding prefix length.
34 The prefix serves as the key and the next hop ID as the value while doing an LPM
43 * ``rte_fib_delete()``: Delete an existing route from the table.
112 This means that depending on the outcome of trying to match the IP address of an incoming packet
140 corresponding to a given prefix without having to perform an additional lookup.
/dpdk/doc/guides/contributing/
H A Dabi_policy.rst31 as they are not considered part of an ABI version.
32 The :ref:`experimental <experimental_apis>` status of an API
33 is not an indefinite state.
43 What is an ABI?
52 Therefore, in the case of dynamic linking, it is critical that an ABI is
54 to behave improperly or in an unexpected fashion.
63 What is an ABI version?
250 an explicit package dependency, as the soname can only indicate the
331 Note that marking an API as experimental is a multi step process.
353 may choose to offer an alias to the experimental tag so as not to break
[all …]
H A Dabi_versioning.rst26 During an application's build process, a library's soname is noted as a runtime
40 ``librte_mbuf``, may cause an implicit ripple effect on the ABI of it's
161 provide an alias to experimental until the next major ABI version.
176 * Create an acl context object for apps to
194 * Create an acl context object for apps to
436 Assume we have an experimental function ``rte_acl_create`` as follows:
443 * Create an acl context object for apps to
478 * Create an acl context object for apps to
508 an alias to experimental. The process to add an alias to experimental,
519 * Create an acl context object for apps to
[all …]
H A Dstable.rst17 backported fixes over an extended period of time. This provides downstream
38 A Stable Release is used to backport fixes from an ``N`` release back to an
54 A stable release can be designated as an LTS release based on community
56 year's November (X.11) release will be maintained as an LTS for 2 years.
58 After the X.11 release, an LTS branch will be created for it at
147 * Sending an announcement to the `[email protected] <https://mails.dpdk.org/listinfo/announce>`_
/dpdk/drivers/net/atlantic/
H A Drte_pmd_atlantic.c73 rte_pmd_atl_macsec_select_txsa(uint16_t port, uint8_t idx, uint8_t an, in rte_pmd_atl_macsec_select_txsa() argument
85 return atl_macsec_select_txsa(dev, idx, an, pn, key); in rte_pmd_atl_macsec_select_txsa()
89 rte_pmd_atl_macsec_select_rxsa(uint16_t port, uint8_t idx, uint8_t an, in rte_pmd_atl_macsec_select_rxsa() argument
101 return atl_macsec_select_rxsa(dev, idx, an, pn, key); in rte_pmd_atl_macsec_select_rxsa()
H A Drte_pmd_atlantic.h115 int rte_pmd_atl_macsec_select_txsa(uint16_t port, uint8_t idx, uint8_t an,
141 int rte_pmd_atl_macsec_select_rxsa(uint16_t port, uint8_t idx, uint8_t an,
/dpdk/doc/guides/dmadevs/
H A Dioat.rst60 If the application does not require all the devices available an allowlist can
74 To use IOAT devices from an application, the ``dmadev`` API can be used.
98 When gathering completions, ``rte_dma_completed()`` should be used, up until the point an error
99 occurs with an operation. If an error was encountered, ``rte_dma_completed_status()`` must be used
107 * ``RTE_DMA_STATUS_INVALID_SRC_ADDR``: The operation failed due to an invalid source address.
108 * ``RTE_DMA_STATUS_INVALID_DST_ADDR``: The operation failed due to an invalid destination address.
109 * ``RTE_DMA_STATUS_INVALID_LENGTH``: The operation failed due to an invalid descriptor length.
111 * ``RTE_DMA_STATUS_ERROR_UNKNOWN``: The operation failed due to an unspecified error.
H A Didxd.rst41 To use an Intel\ |reg| DSA device bound to the IDXD kernel driver, the device must first be configu…
49 There are some mandatory configuration steps before being able to use a device with an application.
55 To assign an engine to a group::
86 giving each an equal share of resources::
162 To use the devices from an application, the dmadev API can be used.
186 When gathering completions, ``rte_dma_completed()`` should be used, up until the point an error
187 occurs in an operation. If an error was encountered, ``rte_dma_completed_status()`` must be used
195 * ``RTE_DMA_STATUS_INVALID_OPCODE``: The operation failed due to an invalid operation code.
196 * ``RTE_DMA_STATUS_INVALID_LENGTH``: The operation failed due to an invalid data length.
198 * ``RTE_DMA_STATUS_ERROR_UNKNOWN``: The operation failed due to an unspecified error.
/dpdk/doc/guides/sample_app_ug/
H A Dservice_cores.rst32 pass a service core-mask as an EAL argument at startup time.
43 registering applications from an applications point of view, and modifying the
50 The following code section shows how to register a service as an application.
58 :start-after: Register a service as an application. 8<
59 :end-before: >8 End of registering a service as an application.
75 :start-after: Register a service as an application. 8<
76 :end-before: >8 End of registering a service as an application.
/dpdk/doc/guides/nics/
H A Daf_packet.rst7 The AF_PACKET socket in Linux allows an application to receive and send raw
8 packets. This Linux-specific PMD binds to an AF_PACKET socket and allows
21 The following options can be provided to set up an af_packet port in DPDK.
38 As an example, if one changes ``framesz`` to be 1024B, it is expected that
58 Set up an af_packet interface
61 The following example will set up an af_packet interface in DPDK with the
H A Daf_xdp.rst7 AF_XDP is an address family that is optimized for high performance
30 The following options can be provided to set up an af_xdp port in DPDK.
47 * If using libxdp, it requires an environment variable called
58 Set up an af_xdp interface
61 The following example will set up an af_xdp interface in DPDK:
99 Note: The AF_XDP PMD will fail to initialise if an MTU which violates the driver's
171 the following logs will appear when an application is launched:
/dpdk/doc/guides/platform/
H A Dcnxk.rst379 Packets received with an octet count < 64: 0
380 Packets received with an octet count == 64: 0
381 Packets received with an octet count of 65–127: 0
419 Packets sent with an octet count == 64: 0
420 Packets sent with an octet count of 65–127: 0
421 Packets sent with an octet count of 128-255: 0
422 Packets sent with an octet count of 256-511: 0
423 Packets sent with an octet count of 512-1023: 0
424 Packets sent with an octet count of 1024-1518: 0
425 Packets sent with an octet count of > 1518: 0
[all …]
/dpdk/doc/guides/eventdevs/
H A Ddsw.rst7 The distributed software event device is an eventdev driver which
46 The distributed software eventdev uses an internal signaling scheme
63 store them in an internal buffer in the source port.
69 To immediately flush a port's output buffer, an application may call

12345678910>>...15