| a1793ee8 | 29-Aug-2022 |
Ganapati Kundapura <ganapati.kundapura@intel.com> |
eventdev/eth_rx: add adapter instance get API
Added rte_event_eth_rx_adapter_instance_get() to get adapter instance id for specified ethernet device id and rx queue index.
Added telemetry handler f
eventdev/eth_rx: add adapter instance get API
Added rte_event_eth_rx_adapter_instance_get() to get adapter instance id for specified ethernet device id and rx queue index.
Added telemetry handler for rte_event_eth_rx_adapter_instance_get().
Added test case for rte_event_eth_rx_adapter_instance_get()
Added rte_event_eth_rx_adapter_instance_get() details in prog_guide/event_ethernet_rx_adapter.rst
Signed-off-by: Ganapati Kundapura <ganapati.kundapura@intel.com> Reviewed-by: Naga Harish K S V <s.v.naga.harish.k@intel.com> Acked-by: Jay Jayatheerthan <jay.jayatheerthan@intel.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| 235558fe | 12-Aug-2022 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
ethdev: remove deprecated flow action physical port
Such deprecation was commenced in DPDK 21.11. Since then, no parties have objected. Remove.
The patch breaks ABI.
Signed-off-by: Ivan Malov <iva
ethdev: remove deprecated flow action physical port
Such deprecation was commenced in DPDK 21.11. Since then, no parties have objected. Remove.
The patch breaks ABI.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Ori Kam <orika@nvidia.com>
show more ...
|
| 5e3779b7 | 12-Aug-2022 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
ethdev: remove deprecated flow item physical port
Such deprecation was commenced in DPDK 21.11. Since then, no parties have objected. Remove.
The patch breaks ABI.
Signed-off-by: Ivan Malov <ivan.
ethdev: remove deprecated flow item physical port
Such deprecation was commenced in DPDK 21.11. Since then, no parties have objected. Remove.
The patch breaks ABI.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Ori Kam <orika@nvidia.com>
show more ...
|
| 5c45fde3 | 12-Aug-2022 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
ethdev: remove deprecated flow item VF
Such deprecation was commenced in DPDK 21.11. Since then, no parties have objected. Remove.
The patch breaks ABI.
Signed-off-by: Ivan Malov <ivan.malov@oktet
ethdev: remove deprecated flow item VF
Such deprecation was commenced in DPDK 21.11. Since then, no parties have objected. Remove.
The patch breaks ABI.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Ori Kam <orika@nvidia.com>
show more ...
|
| 13f8de92 | 12-Aug-2022 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
ethdev: remove deprecated flow item PF
Such deprecation was commenced in DPDK 21.11. Since then, no parties have objected. Remove.
The patch breaks ABI.
Signed-off-by: Ivan Malov <ivan.malov@oktet
ethdev: remove deprecated flow item PF
Such deprecation was commenced in DPDK 21.11. Since then, no parties have objected. Remove.
The patch breaks ABI.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Ori Kam <orika@nvidia.com>
show more ...
|
| ce93daae | 12-Aug-2022 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
doc: rework VF-related explanations in switch representation
The paragraph describing flow operation without representors shows the use of traffic direction attributes in combination with attribute
doc: rework VF-related explanations in switch representation
The paragraph describing flow operation without representors shows the use of traffic direction attributes in combination with attribute "transfer". Such scenario has been deprecated. Also, the paragraph mentions the use of deprecated action VF.
Drop irrelevant parts, adjust remaining text and the diagram.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
show more ...
|
| 9c64f7c8 | 12-Aug-2022 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
doc: add new port items and actions to switch representation
Items PORT_REPRESENTOR and REPRESENTED_PORT as well as their action counterparts have been a part of the flow library for a year already.
doc: add new port items and actions to switch representation
Items PORT_REPRESENTOR and REPRESENTED_PORT as well as their action counterparts have been a part of the flow library for a year already. However, these haven't been described in the switch representation guide. Provide the missing description.
Also, update relevant testpmd flow rule examples accordingly.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
show more ...
|
| 4608927e | 24-Nov-2021 |
Ferruh Yigit <ferruh.yigit@intel.com> |
doc: announce KNI deprecation
Announce the deprecation plan for KNI kernel module, library, PMD and example.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Signed-off-by: Thomas Monjalon <tho
doc: announce KNI deprecation
Announce the deprecation plan for KNI kernel module, library, PMD and example.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
| ac847b43 | 10-Jun-2022 |
Bruce Richardson <bruce.richardson@intel.com> |
doc: add reference to virtio-user from KNI guide
To help encourage use of virtio-user in place of KNI, put a reference to the relevant howto section at the top of the KNI doc.
Signed-off-by: Bruce
doc: add reference to virtio-user from KNI guide
To help encourage use of virtio-user in place of KNI, put a reference to the relevant howto section at the top of the KNI doc.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Chenbo Xia <chenbo.xia@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
| c8a3ee49 | 23-Jun-2022 |
Herakliusz Lipiec <herakliusz.lipiec@intel.com> |
doc: fix readability in vhost guide
fix grammar issues and readbility in vhost library programmer guide
Fixes: 768274ebbd5e ("vhost: avoid populate guest memory") Cc: stable@dpdk.org
Signed-off-by
doc: fix readability in vhost guide
fix grammar issues and readbility in vhost library programmer guide
Fixes: 768274ebbd5e ("vhost: avoid populate guest memory") Cc: stable@dpdk.org
Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
show more ...
|
| 741eda9d | 22-Jun-2022 |
Xuan Ding <xuan.ding@intel.com> |
doc: clean vhost async note
This patch moves the 'Recommended IOVA mode in async datapath' section under 'Vhost asynchronous data path' as a sub-section, which makes the doc cleaner.
Signed-off-by:
doc: clean vhost async note
This patch moves the 'Recommended IOVA mode in async datapath' section under 'Vhost asynchronous data path' as a sub-section, which makes the doc cleaner.
Signed-off-by: Xuan Ding <xuan.ding@intel.com> Reviewed-by: Jiayu Hu <jiayu.hu@intel.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
show more ...
|
| 9851c4e3 | 21-Jun-2022 |
Xuan Ding <xuan.ding@intel.com> |
doc: add vhost async enqueue API usage
This patch updates the correct usage for async enqueue APIs. The rte_vhost_poll_enqueue_completed() needs to be called in time to notify the guest of completed
doc: add vhost async enqueue API usage
This patch updates the correct usage for async enqueue APIs. The rte_vhost_poll_enqueue_completed() needs to be called in time to notify the guest of completed packets and avoid packet loss.
Signed-off-by: Xuan Ding <xuan.ding@intel.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
show more ...
|
| 4c948437 | 30-May-2022 |
Ciara Power <ciara.power@intel.com> |
doc: fix grammar and formatting in compressdev guide
Small improvements made to the compressdev programmer's guide. This includes rephrasing some sentences, fixing grammar, and aligning formatting.
doc: fix grammar and formatting in compressdev guide
Small improvements made to the compressdev programmer's guide. This includes rephrasing some sentences, fixing grammar, and aligning formatting.
Fixes: a584d3bea902 ("doc: add compressdev library guide") Fixes: f7095d41bba6 ("doc: clarify data plane error handling in compressdev") Cc: stable@dpdk.org
Signed-off-by: Ciara Power <ciara.power@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
| 979bb5d4 | 24-Jun-2022 |
Dmitry Kozlyuk <dkozlyuk@nvidia.com> |
doc: add more instructions for running as non-root
The guide to run DPDK applications as non-root in Linux did not provide specific instructions to configure the required access and did not explain
doc: add more instructions for running as non-root
The guide to run DPDK applications as non-root in Linux did not provide specific instructions to configure the required access and did not explain why each bit is needed. The latter is important because running as non-root is one of the ways to tighten security and grant minimal permissions.
Cc: stable@dpdk.org
Signed-off-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
| 42fbb8e8 | 23-Jun-2022 |
Don Wallwork <donw@xsightlabs.com> |
eal/linux: allocate worker lcore stacks in hugepages
Add support for using hugepages for worker lcore stack memory. The intent is to improve performance by reducing stack memory related TLB misses a
eal/linux: allocate worker lcore stacks in hugepages
Add support for using hugepages for worker lcore stack memory. The intent is to improve performance by reducing stack memory related TLB misses and also by using memory local to the NUMA node of each lcore.
EAL option '--huge-worker-stack[=stack-size-in-kbytes]' is added to allow the feature to be enabled at runtime. If the size is not specified, the system pthread stack size will be used.
Signed-off-by: Don Wallwork <donw@xsightlabs.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
show more ...
|
| 3753ebf0 | 09-Jun-2022 |
Yuan Wang <yuanx.wang@intel.com> |
vhost: support clear in-flight packets for async dequeue
rte_vhost_clear_queue_thread_unsafe() supports to clear in-flight packets for async enqueue only. But after supporting async dequeue, this AP
vhost: support clear in-flight packets for async dequeue
rte_vhost_clear_queue_thread_unsafe() supports to clear in-flight packets for async enqueue only. But after supporting async dequeue, this API should support async dequeue too.
This patch also adds the thread-safe version of this API, the difference between the two API is that thread safety uses lock.
These APIs maybe used to clean up packets in the async channel to prevent packet loss when the device state changes or when the device is destroyed.
Signed-off-by: Yuan Wang <yuanx.wang@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Jiayu Hu <jiayu.hu@intel.com>
show more ...
|
| 703178f8 | 17-Jun-2022 |
David Marchand <david.marchand@redhat.com> |
net/bonding: move testpmd commands
Move related specific testpmd commands into this driver directory. While at it, fix checkpatch warnings.
Signed-off-by: David Marchand <david.marchand@redhat.com>
net/bonding: move testpmd commands
Move related specific testpmd commands into this driver directory. While at it, fix checkpatch warnings.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Ferruh Yigit <ferruh.yigit@xilinx.com>
show more ...
|
| aaee1d15 | 27-May-2022 |
Harry van Haaren <harry.van.haaren@intel.com> |
doc: improve ordering and remove old titles in prog guide
Move the "source_org" page to after overview, where it fits better to explain the source-code layout of DPDK, before getting into details of
doc: improve ordering and remove old titles in prog guide
Move the "source_org" page to after overview, where it fits better to explain the source-code layout of DPDK, before getting into details of specific libraries such as EAL.
Also removes the older titles from the 3 documents which still had them.
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
show more ...
|
| 85bd316d | 27-May-2022 |
Harry van Haaren <harry.van.haaren@intel.com> |
doc: fix formatting and link in BPF library guide
Small improvements to the documentation based on Sphinx HTML doc output.
Fixes: 14b8f0bbe519 ("doc: add BPF library guide") Fixes: b901d928361c ("b
doc: fix formatting and link in BPF library guide
Small improvements to the documentation based on Sphinx HTML doc output.
Fixes: 14b8f0bbe519 ("doc: add BPF library guide") Fixes: b901d928361c ("bpf: support packet data load instructions") Cc: stable@dpdk.org
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>
show more ...
|
| 39b5ab60 | 01-Apr-2022 |
Sean Morrissey <sean.morrissey@intel.com> |
dmadev: add telemetry
Telemetry commands are now registered through the dmadev library for the gathering of DSA stats. The corresponding callback functions for listing dmadevs and providing info and
dmadev: add telemetry
Telemetry commands are now registered through the dmadev library for the gathering of DSA stats. The corresponding callback functions for listing dmadevs and providing info and stats for a specific dmadev are implemented in the dmadev library.
An example usage can be seen below:
Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2 {"version": "DPDK 22.03.0-rc2", "pid": 2956551, "max_output_len": 16384} Connected to application: "dpdk-dma" --> / {"/": ["/", "/dmadev/info", "/dmadev/list", "/dmadev/stats", ...]} --> /dmadev/list {"/dmadev/list": [0, 1]} --> /dmadev/info,0 {"/dmadev/info": {"name": "0000:00:01.0", "nb_vchans": 1, "numa_node": 0, "max_vchans": 1, "max_desc": 4096, "min_desc": 32, "max_sges": 0, "capabilities": {"mem2mem": 1, "mem2dev": 0, "dev2mem": 0, ...}}} --> /dmadev/stats,0,0 {"/dmadev/stats": {"submitted": 0, "completed": 0, "errors": 0}}
Signed-off-by: Sean Morrissey <sean.morrissey@intel.com> Reviewed-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Conor Walsh <conor.walsh@intel.com> Tested-by: Sunil Pai G <sunil.pai.g@intel.com> Tested-by: Kevin Laatz <kevin.laatz@intel.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
show more ...
|
| 486f65e6 | 24-May-2022 |
Andy Pei <andy.pei@intel.com> |
vhost: get vDPA device type
Vhost backend of different devices have different features. Add an API to get vDPA device type, net device or blk device currently, so users can set different features fo
vhost: get vDPA device type
Vhost backend of different devices have different features. Add an API to get vDPA device type, net device or blk device currently, so users can set different features for different kinds of devices.
Signed-off-by: Andy Pei <andy.pei@intel.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
show more ...
|
| 84d52043 | 16-May-2022 |
Xuan Ding <xuan.ding@intel.com> |
vhost: support async dequeue for split ring
This patch implements asynchronous dequeue data path for vhost split ring, a new API rte_vhost_async_try_dequeue_burst() is introduced.
Signed-off-by: Xu
vhost: support async dequeue for split ring
This patch implements asynchronous dequeue data path for vhost split ring, a new API rte_vhost_async_try_dequeue_burst() is introduced.
Signed-off-by: Xuan Ding <xuan.ding@intel.com> Signed-off-by: Yuan Wang <yuanx.wang@intel.com> Tested-by: Yvonne Yang <yvonnex.yang@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
| be75dc99 | 10-May-2022 |
Maxime Coquelin <maxime.coquelin@redhat.com> |
vhost: support per-virtqueue statistics
This patch introduces new APIs for the application to query and reset per-virtqueue statistics. The patch also introduces generic counters.
Signed-off-by: Ma
vhost: support per-virtqueue statistics
This patch introduces new APIs for the application to query and reset per-virtqueue statistics. The patch also introduces generic counters.
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
show more ...
|
| bdde2d90 | 28-Oct-2021 |
Thomas Monjalon <thomas@monjalon.net> |
ethdev: promote port ownership API as stable
The port ownership concept was introduced in ethdev in DPDK 18.02. Not sure it is used by applications except those using failsafe or netvsc. It can also
ethdev: promote port ownership API as stable
The port ownership concept was introduced in ethdev in DPDK 18.02. Not sure it is used by applications except those using failsafe or netvsc. It can also be used by libraries or applications to sort out how ports are controlled.
Hiding sub-ports controlled by failsafe or netvsc look to be enough justification to promote this API as stable.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Ray Kinsella <mdr@ashroe.eu> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
show more ...
|
| d04fb3b5 | 01-May-2022 |
Jerin Jacob <jerinj@marvell.com> |
ethdev: add protocol based meter input color selection
Currently, meter object supports only DSCP based on input color table, The patch enhance that to support VLAN based input color table, color ta
ethdev: add protocol based meter input color selection
Currently, meter object supports only DSCP based on input color table, The patch enhance that to support VLAN based input color table, color table based on inner field for the tunnel use case, and support for fallback color per meter if packet based on a different field.
All of the above features are exposed through capability and added additional capability to specify the implementation supports more than one input color table per ethdev port.
Suggested-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Ray Kinsella <mdr@ashroe.eu> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
show more ...
|