| /f-stack/dpdk/lib/librte_eventdev/ |
| H A D | eventdev_trace_points.c | 11 lib.eventdev.configure) 14 lib.eventdev.queue.setup) 17 lib.eventdev.port.setup) 20 lib.eventdev.port.link) 23 lib.eventdev.port.unlink) 26 lib.eventdev.start) 29 lib.eventdev.stop) 32 lib.eventdev.close) 35 lib.eventdev.enq.burst) 38 lib.eventdev.deq.burst) [all …]
|
| H A D | rte_eventdev_pmd_pci.h | 47 struct rte_eventdev *eventdev; in rte_event_pmd_pci_probe_named() local 55 if (eventdev == NULL) in rte_event_pmd_pci_probe_named() 59 eventdev->data->dev_private = in rte_event_pmd_pci_probe_named() 71 eventdev->dev = &pci_dev->device; in rte_event_pmd_pci_probe_named() 74 retval = devinit(eventdev); in rte_event_pmd_pci_probe_named() 83 rte_event_pmd_release(eventdev); in rte_event_pmd_pci_probe_named() 120 struct rte_eventdev *eventdev; in rte_event_pmd_pci_remove() local 131 if (eventdev == NULL) in rte_event_pmd_pci_remove() 142 ret = devuninit(eventdev); in rte_event_pmd_pci_remove() 147 rte_event_pmd_release(eventdev); in rte_event_pmd_pci_remove() [all …]
|
| H A D | rte_eventdev_pmd_vdev.h | 49 struct rte_eventdev *eventdev; in rte_event_pmd_vdev_init() local 52 eventdev = rte_event_pmd_allocate(name, socket_id); in rte_event_pmd_vdev_init() 53 if (eventdev == NULL) in rte_event_pmd_vdev_init() 58 eventdev->data->dev_private = in rte_event_pmd_vdev_init() 64 if (eventdev->data->dev_private == NULL) in rte_event_pmd_vdev_init() 69 return eventdev; in rte_event_pmd_vdev_init() 85 struct rte_eventdev *eventdev; in rte_event_pmd_vdev_uninit() local 90 eventdev = rte_event_pmd_get_named_dev(name); in rte_event_pmd_vdev_uninit() 91 if (eventdev == NULL) in rte_event_pmd_vdev_uninit() 94 ret = rte_event_dev_close(eventdev->data->dev_id); in rte_event_pmd_vdev_uninit() [all …]
|
| H A D | rte_eventdev.c | 1411 struct rte_eventdev *eventdev; in rte_event_pmd_allocate() local 1426 eventdev = &rte_eventdevs[dev_id]; in rte_event_pmd_allocate() 1431 if (eventdev->data == NULL) { in rte_event_pmd_allocate() 1440 eventdev->data = eventdev_data; in rte_event_pmd_allocate() 1444 strlcpy(eventdev->data->name, name, in rte_event_pmd_allocate() 1447 eventdev->data->dev_id = dev_id; in rte_event_pmd_allocate() 1449 eventdev->data->dev_started = 0; in rte_event_pmd_allocate() 1456 return eventdev; in rte_event_pmd_allocate() 1466 if (eventdev == NULL) in rte_event_pmd_release() 1477 eventdev->data->dev_id); in rte_event_pmd_release() [all …]
|
| /f-stack/dpdk/drivers/event/skeleton/ |
| H A D | skeleton_eventdev.c | 342 skeleton_eventdev_init(struct rte_eventdev *eventdev) in skeleton_eventdev_init() argument 350 eventdev->dev_ops = &skeleton_eventdev_ops; in skeleton_eventdev_init() 351 eventdev->enqueue = skeleton_eventdev_enqueue; in skeleton_eventdev_init() 353 eventdev->dequeue = skeleton_eventdev_dequeue; in skeleton_eventdev_init() 360 pci_dev = RTE_DEV_TO_PCI(eventdev->dev); in skeleton_eventdev_init() 380 eventdev->data->dev_id, eventdev->data->socket_id, in skeleton_eventdev_init() 431 struct rte_eventdev *eventdev; in skeleton_eventdev_create() local 433 eventdev = rte_event_pmd_vdev_init(name, in skeleton_eventdev_create() 435 if (eventdev == NULL) { in skeleton_eventdev_create() 440 eventdev->dev_ops = &skeleton_eventdev_ops; in skeleton_eventdev_create() [all …]
|
| H A D | skeleton_eventdev.h | 36 skeleton_pmd_priv(const struct rte_eventdev *eventdev) in skeleton_pmd_priv() argument 38 return eventdev->data->dev_private; in skeleton_pmd_priv()
|
| /f-stack/dpdk/doc/guides/eventdevs/ |
| H A D | dsw.rst | 7 The distributed software event device is an eventdev driver which 8 distributes the task of scheduling events among all the eventdev ports 26 The distributed software eventdev is a vdev device, and as such can be 46 The distributed software eventdev uses an internal signaling schema 61 For efficiency reasons, the distributed software eventdev might not 76 The distributed software eventdev does not support event priorities. 81 The distributed software eventdev does not support the ordered queue type. 87 The distributed software eventdev does not support queues of type 94 The distributed software eventdev does not support calls to
|
| H A D | sw.rst | 7 The software eventdev is an implementation of the eventdev API, that provides a 8 wide range of the eventdev features. The eventdev relies on a CPU core to 17 The software eventdev implements many features in the eventdev API; 36 The software eventdev is a vdev device, and as such can be created from the 116 The software eventdev implementation has a few limitations. The reason for 125 traffic. An eventdev with this capability allows enqueuing Atomic, Ordered and 134 eventdev. 139 The software eventdev is a centralized scheduler, requiring a service core to 145 eventdev. 150 The eventdev API supports a timeout when dequeuing packets using the [all …]
|
| H A D | dpaa.rst | 7 The dpaa eventdev is an implementation of the eventdev API, that provides a 8 wide range of the eventdev features. The eventdev relies on a dpaa based 17 The DPAA EVENTDEV implements many features in the eventdev API; 47 The dpaa eventdev is exposed as a vdev device which consists of a set of channels 67 1. DPAA eventdev can not work with DPAA PUSH mode queues configured for ethdev.
|
| H A D | dpaa2.rst | 8 The dpaa2 eventdev is an implementation of the eventdev API, that provides a 9 wide range of the eventdev features. The eventdev relies on a dpaa2 hw to 18 The DPAA2 EVENTDEV implements many features in the eventdev API; 56 The dpaa2 eventdev is exposed as a vdev device which consists of a set of dpcon 80 Using ``eventdev.dpaa2`` as log matching criteria, all Event PMD logs can be
|
| H A D | opdl.rst | 7 The OPDL (Ordered Packet Distribution Library) eventdev is a specific\ 8 implementation of the eventdev API. It is particularly suited to packet\ 19 The OPDL eventdev implements a subset of features of the eventdev API; 34 The software eventdev is a vdev device, and as such can be created from the 130 eventdev xstats API. Statistics are per port as follows:
|
| H A D | dlb.rst | 27 However, the DLB hardware is not a perfect match to the eventdev API. Some DLB 29 accessible as vdev command-line parameters, and certain eventdev features are 35 eventdev API and DLB misalign. 47 The DLB is a closed system eventdev, and as such the ``nb_events_limit`` device 49 defined in the eventdev header file. The limit is applied to all enqueues, 59 certain reconfiguration sequences that are valid in the eventdev API but not 123 DLB ports come in two flavors: load-balanced and directed. The eventdev API 151 cannot change after the eventdev is started. 221 When the eventdev is started, each port is pre-allocated a high watermark's 239 the per-port backpressure described in the eventdev API. [all …]
|
| /f-stack/dpdk/doc/guides/tools/ |
| H A D | testeventdev.rst | 4 dpdk-test-eventdev Application 8 application that allows exercising various eventdev use cases. 21 dpdk-test-eventdev [EAL Options] -- [application options] 27 with the ``dpdk-test-eventdev`` application. 37 Add a virtual eventdev device. 175 .. table:: Order queue test eventdev configuration. 318 .. table:: Perf queue test eventdev configuration. 426 ``all types queue`` eventdev scheme. 526 .. table:: Pipeline queue test eventdev configuration. 631 ``all types queue`` eventdev scheme. [all …]
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | eventdev.rst | 13 The eventdev framework introduces the event driven programming model. In a 27 Step-by-step instructions of the eventdev design is available in the `API 34 payload and metadata required for scheduling by an eventdev. The 92 events to the eventdev. An example of a PMD of this type is the eventdev 158 The ``--vdev`` EAL option allows adding eventdev instances to your DPDK 159 application, using the name of the eventdev PMD as an argument. 168 In the following code, we configure eventdev instance with 3 queues 269 from e.g.: a NIC so it is not linked to any eventdev queues. 291 A single function call tells the eventdev instance to start processing 295 eventdev. [all …]
|
| H A D | event_crypto_adapter.rst | 7 The DPDK :doc:`Eventdev library <eventdev>` provides event driven 16 The Adapter queries an eventdev PMD to determine which mechanism to be used. 18 and uses the eventdev PMD functions to configure HW based packet transfer 23 crypto device or send it to the crypto adapter via eventdev based on 64 to the eventdev. The adapter then dequeues the events and submits the 86 a single eventdev, then add cryptodev and queue pair to the adapter instance. 115 If the application desires to have finer control of eventdev port allocation 150 the application to query the adapter capabilities for an eventdev and cryptodev 281 This function calls the start callbacks of the eventdev PMDs for hardware based 291 The eventdev to which the event_crypto_adapter is connected needs to [all …]
|
| H A D | event_ethernet_rx_adapter.rst | 13 event device using the eventdev API. Both transfer mechanisms may be present on 19 the eventdev PMD to advertise features supported for a given ethdev and allows 27 a single eventdev, next the adapter instance is configured with Rx queues 31 For SW based packet transfers from ethdev to eventdev, the adapter uses a 57 If the application desires to have finer control of eventdev port allocation 95 the application to query the adapter capabilities for an eventdev and ethdev 130 This function calls the start callbacks of the eventdev PMDs for hardware based 131 eventdev-ethdev connections and ``rte_service_run_state_set()`` to enable the 136 The eventdev to which the event_eth_rx_adapter is connected needs to 144 enqueued event counts are a sum of the counts from the eventdev PMD callbacks
|
| H A D | event_ethernet_tx_adapter.rst | 14 transmit stage of the application allowing the same application code to use eventdev 27 a single eventdev, next the adapter instance is configured with Tx queues, 39 If the application desires to have finer control of eventdev port configuration, 76 the application to query the adapter capabilities for an eventdev and ethdev 115 This function calls the start callback of the eventdev PMD if supported, 126 If the eventdev PMD supports the ``RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT`` 165 the counts from the eventdev PMD callback if the callback is supported, and
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | eventdev_pipeline.rst | 7 The eventdev pipeline sample application is a sample app that demonstrates 8 the usage of the eventdev API using the software PMD. It shows how an 31 the eventdev PMD to use, and a number of attributes of the processing pipeline 34 An example eventdev pipeline running with the software eventdev PMD using 63 Configuration of the eventdev is covered in detail in the programmers guide, 70 At runtime the eventdev pipeline application prints out a summary of the 81 flows to use and what eventdev PMD is in use. See the following sample output 142 To get a full dump of the state of the eventdev PMD, pass the ``-D`` flag to 146 used, see the Event Device Drivers section for a list of eventdev PMDs.
|
| /f-stack/dpdk/drivers/event/dpaa/ |
| H A D | dpaa_eventdev.c | 641 u16 ch_id = eventdev->evq_info[ev_qid].ch_id; in dpaa_event_eth_rx_adapter_queue_add() 996 struct rte_eventdev *eventdev; in dpaa_event_dev_create() local 999 eventdev = rte_event_pmd_vdev_init(name, in dpaa_event_dev_create() 1002 if (eventdev == NULL) { in dpaa_event_dev_create() 1006 priv = eventdev->data->dev_private; in dpaa_event_dev_create() 1008 eventdev->dev_ops = &dpaa_eventdev_ops; in dpaa_event_dev_create() 1009 eventdev->enqueue = dpaa_event_enqueue; in dpaa_event_dev_create() 1013 eventdev->dequeue = dpaa_event_dequeue; in dpaa_event_dev_create() 1017 eventdev->dev_ops->timeout_ticks = in dpaa_event_dev_create() 1019 eventdev->dequeue = dpaa_event_dequeue_intr; in dpaa_event_dev_create() [all …]
|
| /f-stack/dpdk/drivers/event/dpaa2/ |
| H A D | dpaa2_eventdev.c | 1087 struct rte_eventdev *eventdev; in dpaa2_eventdev_create() local 1093 eventdev = rte_event_pmd_vdev_init(name, in dpaa2_eventdev_create() 1096 if (eventdev == NULL) { in dpaa2_eventdev_create() 1101 eventdev->dev_ops = &dpaa2_eventdev_ops; in dpaa2_eventdev_create() 1102 eventdev->enqueue = dpaa2_eventdev_enqueue; in dpaa2_eventdev_create() 1106 eventdev->dequeue = dpaa2_eventdev_dequeue; in dpaa2_eventdev_create() 1115 priv = eventdev->data->dev_private; in dpaa2_eventdev_create() 1150 struct rte_eventdev *eventdev; in dpaa2_eventdev_destroy() local 1154 eventdev = rte_event_pmd_get_named_dev(name); in dpaa2_eventdev_destroy() 1155 if (eventdev == NULL) { in dpaa2_eventdev_destroy() [all …]
|
| /f-stack/dpdk/drivers/event/dlb/ |
| H A D | dlb_inline_fns.h | 14 dlb_pmd_priv(const struct rte_eventdev *eventdev) in dlb_pmd_priv() argument 16 return eventdev->data->dev_private; in dlb_pmd_priv()
|
| /f-stack/dpdk/drivers/event/dlb2/ |
| H A D | dlb2_inline_fns.h | 11 dlb2_pmd_priv(const struct rte_eventdev *eventdev) in dlb2_pmd_priv() argument 13 return eventdev->data->dev_private; in dlb2_pmd_priv()
|
| /f-stack/dpdk/drivers/event/opdl/ |
| H A D | opdl_evdev.h | 261 opdl_pmd_priv(const struct rte_eventdev *eventdev) in opdl_pmd_priv() argument 263 return eventdev->data->dev_private; in opdl_pmd_priv() 273 opdl_pmd_priv_const(const struct rte_eventdev *eventdev) in opdl_pmd_priv_const() argument 275 return eventdev->data->dev_private; in opdl_pmd_priv_const()
|
| /f-stack/dpdk/drivers/event/sw/ |
| H A D | sw_evdev.h | 278 sw_pmd_priv(const struct rte_eventdev *eventdev) in sw_pmd_priv() argument 280 return eventdev->data->dev_private; in sw_pmd_priv() 284 sw_pmd_priv_const(const struct rte_eventdev *eventdev) in sw_pmd_priv_const() argument 286 return eventdev->data->dev_private; in sw_pmd_priv_const()
|
| /f-stack/dpdk/drivers/event/dlb/pf/ |
| H A D | dlb_pf.c | 649 dlb_eventdev_pci_init(struct rte_eventdev *eventdev) in dlb_eventdev_pci_init() argument 663 eventdev->data->dev_id, eventdev->data->socket_id); in dlb_eventdev_pci_init() 665 dlb_entry_points_init(eventdev); in dlb_eventdev_pci_init() 669 pci_dev = RTE_DEV_TO_PCI(eventdev->dev); in dlb_eventdev_pci_init() 672 dlb = dlb_pmd_priv(eventdev); /* rte_zmalloc_socket mem */ in dlb_eventdev_pci_init() 696 ret = dlb_primary_eventdev_probe(eventdev, in dlb_eventdev_pci_init() 700 ret = dlb_secondary_eventdev_probe(eventdev, in dlb_eventdev_pci_init()
|