[PATCH 1/1] doc: notice to add new ipsec event subtypes

2022-06-24 Thread Vamsi Attunuru
Based on discussion in below email thread, the new event subtypes can be added in 22.11 release with fixing any compatability issues mentioned in the mail thread. https://patches.dpdk.org/project/dpdk/patch/20220416192530.173895-8-gak...@marvell.com/ Signed-off-by: Vamsi Attunuru --- doc

[PATCH v2 1/1] doc: announce addition of new ipsec event subtypes

2022-06-26 Thread Vamsi Attunuru
New event subtypes need to be added for notifying expiry events upon reaching IPsec SA soft packet expiry and hard packet/byte expiry limits. This would be added in DPDK 22.11. Signed-off-by: Vamsi Attunuru Acked-by: Akhil Goyal --- More details on new event subtype proposal discussion are in

[PATCH 1/1] net/cnxk: enable 3des-cbc capability

2022-04-29 Thread Vamsi Attunuru
Patch enables 3DES-CBC capability of inline crypto device. Signed-off-by: Vamsi Attunuru --- drivers/common/cnxk/cnxk_security.c | 3 +++ drivers/net/cnxk/cn10k_ethdev_sec.c | 20 2 files changed, 23 insertions(+) diff --git a/drivers/common/cnxk/cnxk_security.c b

[PATCH 1/1] crypto/cnxk: enable 3des-cbc secure capability

2022-04-29 Thread Vamsi Attunuru
Patch enables 3DES-CBC secure capability of crypto device. Signed-off-by: Vamsi Attunuru --- drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 24 +++ drivers/crypto/cnxk/cnxk_ipsec.h | 3 ++- 3 files changed, 27

[PATCH v2 1/1] crypto/cnxk: enable 3des-cbc secure capability

2022-05-02 Thread Vamsi Attunuru
Patch enables 3DES-CBC secure capability of crypto device. Signed-off-by: Vamsi Attunuru Acked-by: Akhil Goyal --- v2: add seperate key_len check for 3DES --- drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 24 +++ drivers

[PATCH v3 0/3] node: Introduce kernel_rx & kernel_tx nodes

2023-06-02 Thread Vamsi Attunuru
set V2: * Handle error checks in testgraph application * Extend supported test node patterns * Fix warnings Vamsi Attunuru (3): node/kernel_tx: support packet transmit to kernel node/kernel_rx: support receiving packets from kernel node/ethdev_rx: remove hardcoded node next details doc/gu

[PATCH v3 1/3] node/kernel_tx: support packet transmit to kernel

2023-06-02 Thread Vamsi Attunuru
Patch adds a node to transmit the packets to kernel over a raw socket. Signed-off-by: Vamsi Attunuru --- doc/guides/prog_guide/graph_lib.rst | 9 ++ lib/node/kernel_tx.c| 122 lib/node/kernel_tx_priv.h | 16 lib/node/meson.build

[PATCH v3 2/3] node/kernel_rx: support receiving packets from kernel

2023-06-02 Thread Vamsi Attunuru
Adds a node to receive packets from kernel over a raw socket. Signed-off-by: Vamsi Attunuru --- doc/guides/prog_guide/graph_lib.rst | 8 + lib/node/kernel_rx.c| 276 lib/node/kernel_rx_priv.h | 48 + lib/node/meson.build

[PATCH v3 3/3] node/ethdev_rx: remove hardcoded node next details

2023-06-02 Thread Vamsi Attunuru
For ethdev_rx node, node_next details can be populated during node cloning time and same gets assigned to node context structure during node initialization. Patch removes overriding node_next details in node init(). Signed-off-by: Vamsi Attunuru --- lib/node/ethdev_ctrl.c | 1 + lib/node

[PATCH] net/octeon_ep: rework transmit routine

2023-06-05 Thread Vamsi Attunuru
Patch optimizes transmit path for multi-seg packets by pre-allocating the gather list memory instead of allocating it in fast path. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/otx_ep_common.h | 66 +++ drivers/net/octeon_ep/otx_ep_rxtx.c | 251

[PATCH v5 0/3] rewrite fastpath routines

2023-10-18 Thread Vamsi Attunuru
): net/octeon_ep: support 32B IQ descriptor size Vamsi Attunuru (2): net/octeon_ep: clean up receive routine net/octeon_ep: add new fastpath routines drivers/net/octeon_ep/cnxk_ep_rx.c| 310 ++ drivers/net/octeon_ep/cnxk_ep_tx.c| 210 + dri

[PATCH v5 1/3] net/octeon_ep: support 32B IQ descriptor size

2023-10-18 Thread Vamsi Attunuru
From: Shijith Thotton Update input queue setup to consider descriptor size in driver conf. The default instruction size for otx2 and cnxk devices has been updated to 32 bytes. Signed-off-by: Shijith Thotton --- drivers/net/octeon_ep/cnxk_ep_vf.c| 10 +- drivers/net/octeon_ep/otx2_e

[PATCH v5 2/3] net/octeon_ep: clean up receive routine

2023-10-18 Thread Vamsi Attunuru
Patch improves Rx routine and pkt count update routines, packet count update routines need to drain inflight ISM memory updates while decrementing the packet count register. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/otx_ep_rxtx.c | 164 1 file changed

[PATCH v5 3/3] net/octeon_ep: add new fastpath routines

2023-10-18 Thread Vamsi Attunuru
Adds new fastpath routines for cn10k & cn9k endpoint devices and assigns the fastpath routines based on the offload flags. Patch also adds misc changes to improve performance and code-readability. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/cnxk_ep_rx.c|

[PATCH v6 0/3] rewrite fastpath routines

2023-10-18 Thread Vamsi Attunuru
-ins v2 & v3 changes: - Fixed CI Shijith Thotton (1): net/octeon_ep: support 32B IQ descriptor size Vamsi Attunuru (2): net/octeon_ep: clean up receive routine net/octeon_ep: add new fastpath routines drivers/net/octeon_ep/cnxk_ep_rx.c| 309 ++ dri

[PATCH v6 1/3] net/octeon_ep: support 32B IQ descriptor size

2023-10-18 Thread Vamsi Attunuru
From: Shijith Thotton Update input queue setup to consider descriptor size in driver conf. The default instruction size for otx2 and cnxk devices has been updated to 32 bytes. Signed-off-by: Shijith Thotton --- drivers/net/octeon_ep/cnxk_ep_vf.c| 10 +- drivers/net/octeon_ep/otx2_e

[PATCH v6 2/3] net/octeon_ep: clean up receive routine

2023-10-18 Thread Vamsi Attunuru
Patch improves Rx routine and pkt count update routines, packet count update routines need to drain inflight ISM memory updates while decrementing the packet count register. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/otx_ep_rxtx.c | 162 1 file changed

[PATCH v6 3/3] net/octeon_ep: add new fastpath routines

2023-10-18 Thread Vamsi Attunuru
Adds new fastpath routines for cn10k & cn9k endpoint devices and assigns the fastpath routines based on the offload flags. Patch also adds misc changes to improve performance and code-readability. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/cnxk_ep_rx.c|

[PATCH 0/3] rewrite fastpath routines

2023-10-10 Thread Vamsi Attunuru
This series adds new fastpath routines for cn10k & cn9k endpoint devices and supports 32B Tx desciptor format which improves the performance. Shijith Thotton (1): net/octeon_ep: support 32B IQ descriptor size Vamsi Attunuru (2): net/octeon_ep: clean up receive routine net/octeon_ep:

[PATCH 1/3] net/octeon_ep: support 32B IQ descriptor size

2023-10-10 Thread Vamsi Attunuru
From: Shijith Thotton Update input queue setup to consider descriptor size in driver conf. The default instruction size for otx2 and cnxk devices has been updated to 32 bytes. Signed-off-by: Shijith Thotton --- drivers/net/octeon_ep/cnxk_ep_vf.c| 10 +- drivers/net/octeon_ep/otx2_e

[PATCH 2/3] net/octeon_ep: clean up receive routine

2023-10-10 Thread Vamsi Attunuru
Patch improves Rx routine and pkt count update routines, packet count update routines need to drain inflight ISM memory updates while decrementing the packet count register. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/otx_ep_rxtx.c | 162 1 file changed

[PATCH 3/3] net/octeon_ep: add new fastpath routines

2023-10-10 Thread Vamsi Attunuru
Adds new fastpath routines for cn10k & cn9k endpoint devices and assigns the fastpath routines based on the offload flags. Patch also adds misc changes to improve performance and code-readability. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/cnxk_ep_rx.c|

[PATCH v2 0/3] rewrite fastpath routines

2023-10-11 Thread Vamsi Attunuru
This series adds new fastpath routines for cn10k & cn9k endpoint devices and supports 32B Tx desciptor format which improves the performance. v2 change: - Fixed CI Shijith Thotton (1): net/octeon_ep: support 32B IQ descriptor size Vamsi Attunuru (2): net/octeon_ep: clean up receive rou

[PATCH v2 1/3] net/octeon_ep: support 32B IQ descriptor size

2023-10-11 Thread Vamsi Attunuru
From: Shijith Thotton Update input queue setup to consider descriptor size in driver conf. The default instruction size for otx2 and cnxk devices has been updated to 32 bytes. Signed-off-by: Shijith Thotton --- drivers/net/octeon_ep/cnxk_ep_vf.c| 10 +- drivers/net/octeon_ep/meson.

[PATCH v2 2/3] net/octeon_ep: clean up receive routine

2023-10-11 Thread Vamsi Attunuru
Patch improves Rx routine and pkt count update routines, packet count update routines need to drain inflight ISM memory updates while decrementing the packet count register. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/otx_ep_rxtx.c | 162 1 file changed

[PATCH v2 3/3] net/octeon_ep: add new fastpath routines

2023-10-11 Thread Vamsi Attunuru
Adds new fastpath routines for cn10k & cn9k endpoint devices and assigns the fastpath routines based on the offload flags. Patch also adds misc changes to improve performance and code-readability. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/cnxk_ep_rx.c|

[PATCH v3 0/3] rewrite fastpath routines

2023-10-11 Thread Vamsi Attunuru
This series adds new fastpath routines for cn10k & cn9k endpoint devices and supports 32B Tx desciptor format which improves the performance. v2 & v3 changes: - Fixed CI Shijith Thotton (1): net/octeon_ep: support 32B IQ descriptor size Vamsi Attunuru (2): net/octeon_ep: clean up

[PATCH v3 1/3] net/octeon_ep: support 32B IQ descriptor size

2023-10-11 Thread Vamsi Attunuru
From: Shijith Thotton Update input queue setup to consider descriptor size in driver conf. The default instruction size for otx2 and cnxk devices has been updated to 32 bytes. Signed-off-by: Shijith Thotton --- drivers/net/octeon_ep/cnxk_ep_vf.c| 10 +- drivers/net/octeon_ep/otx2_e

[PATCH v3 2/3] net/octeon_ep: clean up receive routine

2023-10-11 Thread Vamsi Attunuru
Patch improves Rx routine and pkt count update routines, packet count update routines need to drain inflight ISM memory updates while decrementing the packet count register. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/otx_ep_rxtx.c | 162 1 file changed

[PATCH v3 3/3] net/octeon_ep: add new fastpath routines

2023-10-11 Thread Vamsi Attunuru
Adds new fastpath routines for cn10k & cn9k endpoint devices and assigns the fastpath routines based on the offload flags. Patch also adds misc changes to improve performance and code-readability. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/cnxk_ep_rx.c|

[PATCH v4 0/3] rewrite fastpath routines

2023-10-11 Thread Vamsi Attunuru
t 32B IQ descriptor size Vamsi Attunuru (2): net/octeon_ep: clean up receive routine net/octeon_ep: add new fastpath routines drivers/net/octeon_ep/cnxk_ep_rx.c| 310 ++ drivers/net/octeon_ep/cnxk_ep_tx.c| 210 + drivers/net/octeon_ep/cnxk_ep_vf.c

[PATCH v4 1/3] net/octeon_ep: support 32B IQ descriptor size

2023-10-11 Thread Vamsi Attunuru
From: Shijith Thotton Update input queue setup to consider descriptor size in driver conf. The default instruction size for otx2 and cnxk devices has been updated to 32 bytes. Signed-off-by: Shijith Thotton --- drivers/net/octeon_ep/cnxk_ep_vf.c| 10 +- drivers/net/octeon_ep/otx2_e

[PATCH v4 2/3] net/octeon_ep: clean up receive routine

2023-10-11 Thread Vamsi Attunuru
Patch improves Rx routine and pkt count update routines, packet count update routines need to drain inflight ISM memory updates while decrementing the packet count register. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/otx_ep_rxtx.c | 164 1 file changed

[PATCH v4 3/3] net/octeon_ep: add new fastpath routines

2023-10-11 Thread Vamsi Attunuru
Adds new fastpath routines for cn10k & cn9k endpoint devices and assigns the fastpath routines based on the offload flags. Patch also adds misc changes to improve performance and code-readability. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/cnxk_ep_rx.c|

[PATCH] maintainers: update for OCTEON EP and CNXK DMA

2023-06-13 Thread Vamsi Attunuru
Replace the maintainers for OcteonTX EP and cnxk DPI DMA drivers. Signed-off-by: Vamsi Attunuru --- MAINTAINERS | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 906b31f97c..827733a1aa 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -845,9

[PATCH] net/octeon_ep: support backward compatibility

2023-06-22 Thread Vamsi Attunuru
From: Sathesh Edara Add backward compatibility support between VF and PF mailbox messages. Signed-off-by: Sathesh Edara Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/otx_ep_common.h | 3 +++ drivers/net/octeon_ep/otx_ep_ethdev.c | 6 + drivers/net/octeon_ep/otx_ep_mbox.c

[PATCH 0/4] app: introduce testgraph application

2023-04-20 Thread Vamsi Attunuru
ications. Also this series adds two new nodes (punt_kernel & kernel_recv) to the node library. Vamsi Attunuru (4): node: add pkt punt to kernel node node: add a node to receive pkts from kernel node: remove hardcoded node next details app: add testgraph application app

[PATCH 1/4] node: add pkt punt to kernel node

2023-04-20 Thread Vamsi Attunuru
Patch adds a node to punt the packets to kernel over a raw socket. Signed-off-by: Vamsi Attunuru --- doc/guides/prog_guide/graph_lib.rst | 10 +++ lib/node/meson.build| 1 + lib/node/punt_kernel.c | 125 lib/node/punt_kernel_priv.h

[PATCH 2/4] node: add a node to receive pkts from kernel

2023-04-20 Thread Vamsi Attunuru
Patch adds a node to receive packets from kernel over a raw socket. Signed-off-by: Vamsi Attunuru --- doc/guides/prog_guide/graph_lib.rst | 7 + lib/node/kernel_recv.c | 277 lib/node/kernel_recv_priv.h | 74 lib/node/meson.build

[PATCH 3/4] node: remove hardcoded node next details

2023-04-20 Thread Vamsi Attunuru
For ethdev_rx node, node_next details can be populated during node cloning time and same gets assigned to node context structure during node initialization. Patch removes overriding node_next details in node init(). Signed-off-by: Vamsi Attunuru --- lib/node/ethdev_rx.c | 2 -- 1 file changed

[PATCH 4/4] app: add testgraph application

2023-04-20 Thread Vamsi Attunuru
Patch adds test-graph application to validate graph and node libraries. Signed-off-by: Vamsi Attunuru --- app/meson.build|1 + app/test-graph/cmdline.c | 212 ++ app/test-graph/cmdline_graph.c | 297 app/test-graph/cmdline_graph.h | 19 + app/test

[PATCH v2 0/4] app: introduce testgraph application

2023-04-25 Thread Vamsi Attunuru
ications. Also this series adds two new nodes (punt_kernel & kernel_recv) to the node library. V2: * Handle error checks in testgraph application * Extend supported test node patterns * Fix warnings Vamsi Attunuru (4): node: add pkt punt to kernel node node: add a node to receive pkts from k

[PATCH v2 1/4] node: add pkt punt to kernel node

2023-04-25 Thread Vamsi Attunuru
Patch adds a node to punt the packets to kernel over a raw socket. Signed-off-by: Vamsi Attunuru --- doc/guides/prog_guide/graph_lib.rst | 10 +++ lib/node/meson.build| 1 + lib/node/punt_kernel.c | 125 lib/node/punt_kernel_priv.h

[PATCH v2 2/4] node: add a node to receive pkts from kernel

2023-04-25 Thread Vamsi Attunuru
Patch adds a node to receive packets from kernel over a raw socket. Signed-off-by: Vamsi Attunuru --- doc/guides/prog_guide/graph_lib.rst | 7 + lib/node/kernel_recv.c | 276 lib/node/kernel_recv_priv.h | 74 lib/node/meson.build

[PATCH v2 3/4] node: remove hardcoded node next details

2023-04-25 Thread Vamsi Attunuru
For ethdev_rx node, node_next details can be populated during node cloning time and same gets assigned to node context structure during node initialization. Patch removes overriding node_next details in node init(). Signed-off-by: Vamsi Attunuru --- lib/node/ethdev_rx.c | 2 -- 1 file changed

[PATCH v2 4/4] app: add testgraph application

2023-04-25 Thread Vamsi Attunuru
Patch adds test-graph application to validate graph and node libraries. Signed-off-by: Vamsi Attunuru --- app/meson.build|1 + app/test-graph/cmdline.c | 211 + app/test-graph/cmdline_graph.c | 294 +++ app/test-graph/cmdline_graph.h | 19 + app/test-graph

[PATCH 1/1] net/cnxk: add outb soft expiry notification support

2022-02-23 Thread Vamsi Attunuru
Patch implements soft expiry notification mechanism in out bound path by creating required number of ring buffers and a common poll thread which polls for soft expiry events enqueued by ucode. Signed-off-by: Vamsi Attunuru --- drivers/common/cnxk/roc_idev.c| 15 +++ drivers/common

[PATCH v2 1/1] net/cnxk: support outbound soft expiry notification

2022-02-24 Thread Vamsi Attunuru
Patch implements soft expiry notification mechanism in outbound path by creating required number of ring buffers and a common poll thread which polls for soft expiry events enqueued by microcode. Signed-off-by: Vamsi Attunuru --- v2: fix subject and commit message. --- drivers/common/cnxk

[PATCH 1/1] net/cnxk: make inline inbound device usage default

2022-02-24 Thread Vamsi Attunuru
Currently inline inbound device usage is not default for eventdev, patch renames force_inl_dev dev arg to no_inl_dev and enables inline inbound device by default. Signed-off-by: Vamsi Attunuru --- doc/guides/nics/cnxk.rst | 10 +- drivers/event/cnxk/cnxk_eventdev_adptr.c

[PATCH 1/1] common/cnxk: fix static assertion failure

2022-03-02 Thread Vamsi Attunuru
ation") Signed-off-by: Vamsi Attunuru Signed-off-by: Srikanth Yalavarthi --- drivers/common/cnxk/roc_nix_inl.c | 23 +-- drivers/common/cnxk/roc_nix_inl.h | 2 +- drivers/common/cnxk/roc_nix_inl_dev.c | 11 ++- drivers/common/cnxk/roc_nix_inl_priv.h | 2 +

[PATCH v2 1/1] common/cnxk: fix static assertion failure

2022-03-02 Thread Vamsi Attunuru
soft expiry notification") Cc: sta...@dpdk.org Reported-by: Wei Ling Reported-by: Yu Jiang Signed-off-by: Vamsi Attunuru Signed-off-by: Srikanth Yalavarthi --- V2: Add bugzilla & reportee details, remove unused changes. --- drivers/common/cnxk/roc_nix_inl.c | 23 +-

[PATCH 1/1] ethdev: add packet expiry event subtype

2022-03-17 Thread Vamsi Attunuru
Patch adds a new event subtype for notifying expiry event upon soft packet limit expiry. Signed-off-by: Vamsi Attunuru --- lib/ethdev/rte_ethdev.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index 04cff8ee10..07d1f02bae 100644 --- a

[dpdk-dev] [PATCH v1 1/1] app/test: fix --socket-mem option in eal flag autotest

2019-04-10 Thread Vamsi Attunuru
"argv2[]" positive test case fails with RTE_MAX_NUMA_NODES=1 config because of "--socket-mem=0,0,0,0" option, which passes memory sizes for multiple sockets. This patch fixes the issue by passing memory size for node 0 alone. Signed-off-by: Vamsi Attunuru --- app/test/test_e

[PATCH 1/1] net/octeon_ep: use devarg to enable ISM accesses

2024-02-23 Thread Vamsi Attunuru
Adds a devarg option to enable/disable ISM memory accesses for reading packet count details. This option is disabled by default, as ISM memory accesses effect throughput of bigger size packets. Signed-off-by: Vamsi Attunuru --- doc/guides/nics/octeon_ep.rst | 12 drivers/net

[PATCH v2 1/1] net/octeon_ep: use devarg to enable ISM accesses

2024-02-26 Thread Vamsi Attunuru
Adds a devarg option to enable/disable ISM memory accesses for reading packet count details. This option is disabled by default, as ISM memory accesses effect throughput of bigger size packets. Signed-off-by: Vamsi Attunuru --- V2 changes: - Updated release notes and documentation - Added

[RFC] dmadev: add QoS capability

2024-07-29 Thread Vamsi Attunuru
applications. Signed-off-by: Vamsi Attunuru --- lib/dmadev/rte_dmadev.c | 10 ++ lib/dmadev/rte_dmadev.h | 19 +++ 2 files changed, 29 insertions(+) diff --git a/lib/dmadev/rte_dmadev.c b/lib/dmadev/rte_dmadev.c index 845727210f..9ff62efcb4 100644 --- a/lib/dmadev/rte_dmadev.c

[PATCH] doc: announce dmadev new capability addition

2024-07-29 Thread Vamsi Attunuru
Announce addition of new capability flag and fields in rte_dma_info and rte_dma_conf structures. Signed-off-by: Vamsi Attunuru --- RFC: https://patchwork.dpdk.org/project/dpdk/patch/20240729115558.263574-1-vattun...@marvell.com/ doc/guides/rel_notes/deprecation.rst | 5 + 1 file changed, 5

[PATCH] net/octeon_ep: extend mailbox functionality

2024-08-06 Thread Vamsi Attunuru
Patch extends mbox functionality to handle pf to vf mbox messages and also updates current mbox version to V3. As part of PF FLR notify event, event handler invokes device removal event callback to tear down the driver. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/cnxk_ep_vf.h