[PATCH v2 03/18] bus/dpaa: fix VSP for 1G fm1-mac9 and 10

2024-08-23 Thread Hemant Agrawal
ned-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/drivers/bus/dpaa/base/fman/fman.c b/drivers/bus/dpaa/base/fman/fman.c index 41195eb0a7..beeb03dbf2 100644 --- a/drivers/bus/dpaa/base/f

[PATCH v2 04/18] bus/dpaa: fix the fman details status

2024-08-23 Thread Hemant Agrawal
Fix the incorrect placing of brackets to calculate stats. This corrects the "(a | b) << 32" to "a | (b << 32)" Fixes: e62a3f4183f1 ("bus/dpaa: fix statistics reading") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/

[PATCH v2 05/18] bus/dpaa: add port buffer manager stats

2024-08-23 Thread Hemant Agrawal
Add BMI statistics and improving the existing extended statistics Signed-off-by: Hemant Agrawal Signed-off-by: Gagandeep Singh --- drivers/bus/dpaa/base/fman/fman_hw.c | 61 drivers/bus/dpaa/include/fman.h | 4 +- drivers/bus/dpaa/include/fsl_fman.h | 12

[PATCH v2 06/18] net/dpaa: support Tx confirmation to enable PTP

2024-08-23 Thread Hemant Agrawal
: Hemant Agrawal --- doc/guides/nics/dpaa.rst | 3 + drivers/net/dpaa/dpaa_ethdev.c | 124 ++--- drivers/net/dpaa/dpaa_ethdev.h | 4 +- drivers/net/dpaa/dpaa_rxtx.c | 49 + drivers/net/dpaa/dpaa_rxtx.h | 2 + 5 files changed, 154 insertions

[PATCH v2 07/18] net/dpaa: add support to separate Tx conf queues

2024-08-23 Thread Hemant Agrawal
From: Vanshika Shukla This patch separates Tx confirmation queues for kernel and DPDK so as to support the VSP case. Signed-off-by: Vanshika Shukla Acked-by: Hemant Agrawal --- drivers/bus/dpaa/include/fsl_qman.h | 4 ++- drivers/net/dpaa/dpaa_ethdev.c | 45

[PATCH v2 08/18] net/dpaa: share MAC FMC scheme and CC parse

2024-08-23 Thread Hemant Agrawal
ed-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 2 +- drivers/bus/dpaa/include/fman.h | 3 +- drivers/net/dpaa/dpaa_ethdev.c| 60 +++-- drivers/net/dpaa/dpaa_ethdev.h| 13 +- drivers/net/dpaa/dpaa_flow.c | 8 +- drivers/net/dpaa/dpaa_fmc.c

[PATCH v2 09/18] net/dpaa: support Rx/Tx timestamp read

2024-08-23 Thread Hemant Agrawal
From: Vanshika Shukla This patch implements Rx/Tx timestamp read operations for DPAA1 platform. Signed-off-by: Vanshika Shukla --- doc/guides/nics/features/dpaa.ini| 1 + drivers/bus/dpaa/base/fman/fman.c| 21 +++- drivers/bus/dpaa/base/fman/fman_hw.c | 6 ++- drivers/bus/dpaa/in

[PATCH v2 10/18] net/dpaa: support IEEE 1588 PTP

2024-08-23 Thread Hemant Agrawal
From: Vanshika Shukla This patch adds the support for the ethdev APIs to enable/disable and read/write/adjust IEEE1588 PTP timestamps for DPAA platform. Signed-off-by: Vanshika Shukla --- doc/guides/nics/dpaa.rst | 1 + doc/guides/nics/features/dpaa.ini | 2 + drivers/bus/dpaa/base/

[PATCH v2 11/18] net/dpaa: implement detailed packet parsing

2024-08-23 Thread Hemant Agrawal
This patch implements the detailed packet parsing using the annotation info from the hardware. decode parser to set RX muf packet type by dpaa_slow_parsing. Support to identify the IPSec ESP, GRE and SCTP packets. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/net/dpaa

[PATCH v2 12/18] net/dpaa: enhance DPAA frame display

2024-08-23 Thread Hemant Agrawal
This patch enhances the received packet debugging capability. This help displaying the full packet parsing output. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- doc/guides/nics/dpaa.rst | 5 ++ drivers/net/dpaa/dpaa_ethdev.c | 9 +++ drivers/net/dpaa/dpaa_rxtx.c | 138

[PATCH v2 13/18] net/dpaa: support mempool debug

2024-08-23 Thread Hemant Agrawal
From: Gagandeep Singh This patch adds support to compile time debug the mempool corruptions in dpaa driver. Signed-off-by: Gagandeep Singh --- drivers/net/dpaa/dpaa_rxtx.c | 40 1 file changed, 40 insertions(+) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/d

[PATCH v2 14/18] net/dpaa: add Tx rate limiting DPAA PMD API

2024-08-23 Thread Hemant Agrawal
From: Vinod Pullabhatla Add support to set Tx rate on DPAA platform through PMD APIs Signed-off-by: Vinod Pullabhatla Signed-off-by: Rohit Raj --- .mailmap | 1 + drivers/net/dpaa/dpaa_flow.c | 95 +--- drivers/net/dpaa/fmlib/fm_lib

[PATCH v2 15/18] bus/dpaa: add OH port mode for dpaa eth

2024-08-23 Thread Hemant Agrawal
From: Rohit Raj NXP DPAA architecture supports the concept of DPAA port as Offline Port - meaning - not connected to an actual MAC. This is an hardware assited IPC mechanism for communiting between two applications. Offline(O/H) port is a type of hardware port which is able to dequeue and enqueu

[PATCH v2 16/18] bus/dpaa: add ONIC port mode for the DPAA eth

2024-08-23 Thread Hemant Agrawal
From: Rohit Raj The OH ports can also be used by two application, processing contexts to communicate to each other. This patch enables this mode for dpaa-eth OH port as ONIC port, so that application can use the dpaa-eth to communicate to each other on the same SoC. Again,this properties is driv

[PATCH v2 17/18] net/dpaa: improve the dpaa port cleanup

2024-08-23 Thread Hemant Agrawal
From: Gagandeep Singh During DPAA cleanup in FMCLESS mode, application can see segmentation fault in device close API and in DPAA destructor execution. Segmentation fault in device close is because driver reducing the number of queues initialised during device configuration without releasing the

[PATCH v2 18/18] net/dpaa: improve dpaa errata A010022 handling

2024-08-23 Thread Hemant Agrawal
From: Jun Yang This patch improves the errata handling for "RTE_LIBRTE_DPAA_ERRATA_LS1043_A010022" Signed-off-by: Jun Yang --- drivers/net/dpaa/dpaa_rxtx.c | 40 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/d

Re: [PATCH 03/17] bus/dpaa: fix VSP for 1G fm1-mac9 and 10

2024-08-23 Thread Hemant Agrawal
On 07-08-2024 21:08, Ferruh Yigit wrote: On 8/1/2024 11:52 AM, Hemant Agrawal wrote: No need to classify interface separately for 1G and 10G Fixes: e0718bb2ca95 ("bus/dpaa: add virtual storage profile port init") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal Can you plea

Re: [PATCH 04/17] bus/dpaa: add port buffer manager stats

2024-08-23 Thread Hemant Agrawal
On 07-08-2024 21:08, Ferruh Yigit wrote: On 8/1/2024 11:53 AM, Hemant Agrawal wrote: Add BMI statistics and improving the existing extended statistics Signed-off-by: Hemant Agrawal Signed-off-by: Gagandeep Singh --- drivers/bus/dpaa/base/fman/fman_hw.c | 65

Re: [PATCH 05/17] net/dpaa: support Tx confirmation to enable PTP

2024-08-23 Thread Hemant Agrawal
On 07-08-2024 21:08, Ferruh Yigit wrote: On 8/1/2024 11:53 AM, Hemant Agrawal wrote: From: Vanshika Shukla TX confirmation provides dedicated confirmation queues for transmitted packets. These queues are used by software to get the status and release transmitted packets buffers. Signed-off

Re: [PATCH 07/17] net/dpaa: share MAC FMC scheme and CC parse

2024-08-23 Thread Hemant Agrawal
On 07-08-2024 21:09, Ferruh Yigit wrote: On 8/1/2024 11:53 AM, Hemant Agrawal wrote: From: Jun Yang For Shared MAC: 1) Allocate RXQ from VSP scheme. 2) Allocate RXQ from CC directed to VSP. What is CC, please explain in the commit log. Coarse Classification to determine VSP (VF) 2

Re: [PATCH 10/17] net/dpaa: implement detailed packet parsing

2024-08-23 Thread Hemant Agrawal
On 07-08-2024 21:09, Ferruh Yigit wrote: On 8/1/2024 11:53 AM, Hemant Agrawal wrote: This patch implements the detailed packet parsing using the annotation info from the hardware. decode parser to set RX muf packet type by dpaa_slow_parsing. Support to identify the IPSec ESP, GRE and SCTP

Re: [PATCH 13/17] net/dpaa: add Tx rate limiting DPAA PMD API

2024-08-23 Thread Hemant Agrawal
On 07-08-2024 21:10, Ferruh Yigit wrote: On 8/1/2024 11:53 AM, Hemant Agrawal wrote: From: Vinod Pullabhatla Add support to set Tx rate on DPAA platform through PMD APIs Signed-off-by: Vinod Pullabhatla Signed-off-by: Rohit Raj <...> diff --git a/drivers/net/dpaa/rte_pmd_dp

Re: [PATCH 14/17] bus/dpaa: add OH port mode for dpaa eth

2024-08-23 Thread Hemant Agrawal
On 07-08-2024 21:10, Ferruh Yigit wrote: On 8/1/2024 11:53 AM, Hemant Agrawal wrote: From: Rohit Raj NXP DPAA architecture supports the concept of DPAA port as Offline Port - meaning - not connected to an actual MAC. This is an virtual port to be used by application for exchanging data

Re: [PATCH 17/17] net/dpaa: improve dpaa errata A010022 handling

2024-08-23 Thread Hemant Agrawal
On 07-08-2024 21:11, Ferruh Yigit wrote: On 8/1/2024 11:53 AM, Hemant Agrawal wrote: From: Jun Yang This patch improves the errata handling for "RTE_LIBRTE_DPAA_ERRATA_LS1043_A010022" Signed-off-by: Jun Yang --- drivers/net/dpaa/dpaa_rxtx.c | 40 --

Re: [PATCH 09/17] net/dpaa: support IEEE 1588 PTP

2024-08-23 Thread Hemant Agrawal
On 07-08-2024 21:09, Ferruh Yigit wrote: On 8/1/2024 11:53 AM, Hemant Agrawal wrote: From: Vanshika Shukla This patch adds the support for the ethdev APIs to enable/disable and read/write/adjust IEEE1588 PTP timestamps for DPAA platform. Signed-off-by: Vanshika Shukla --- doc/guides

Re: [PATCH 11/17] net/dpaa: enhance DPAA frame display

2024-08-23 Thread Hemant Agrawal
On 07-08-2024 21:09, Ferruh Yigit wrote: On 8/1/2024 11:53 AM, Hemant Agrawal wrote: This patch enhances the received packet debugging capability. This help displaying the full packet parsing output. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- doc/guides/nics/dpaa.rst

Re: [PATCH v2 1/1] drivers/baseband: device queues initialization

2024-08-25 Thread Hemant Agrawal
queue_priority[RTE_BBDEV_OP_LDPC_DEC] = 1; dev_info->queue_priority[RTE_BBDEV_OP_LDPC_ENC] = 1; rte_bbdev_log_debug("got device info from %u", dev->data->dev_id); Acked-by: Hemant Agrawal

Re: [RFC v2] bus/fslmc: fix invalid use of default VFIO config

2022-06-03 Thread Hemant Agrawal
Tested ok Acked-by:  Hemant Agrawal On 5/31/2022 2:57 PM, Romain Delhomel wrote: At device probe, the fslmc bus driver calls rte_vfio_get_group_fd() to get a fd associated to a vfio group. This function first checks if the group is already opened, else it opens /dev/vfio/%u, and increases the

RE: [PATCH v4] doc: announce changes in bbdev related to enum extension

2022-06-08 Thread Hemant Agrawal
> -Original Message- > From: Nicolas Chautru > Sent: Thursday, June 9, 2022 6:05 AM > To: dev@dpdk.org; gak...@marvell.com; tho...@monjalon.net; > maxime.coque...@redhat.com > Cc: t...@redhat.com; ray.kinse...@intel.com; bruce.richard...@intel.com; > Hemant Ag

RE: [PATCH v2 13/19] rawdev: remove unneeded header includes

2022-06-16 Thread Hemant Agrawal
Acked-by: Hemant Agrawal > -Original Message- > From: Sean Morrissey > Sent: Thursday, June 16, 2022 8:47 PM > To: Sachin Saxena (OSS) ; Hemant Agrawal > > Cc: dev@dpdk.org; Sean Morrissey > Subject: [PATCH v2 13/19] rawdev: remove unneeded header includ

Re: [PATCH] doc: announce support for MACsec in rte_security

2022-06-28 Thread Hemant Agrawal
security capability structure + ``rte_security_capability`` to accomodate MACsec capabilities. + * metrics: The function ``rte_metrics_init`` will have a non-void return in order to notify errors instead of calling ``rte_exit``. Acked-by:  Hemant Agrawal

Re: [PATCH] doc: notice to deprecate DPAA2 cmdif raw driver

2022-06-28 Thread Hemant Agrawal
Acked-by:  Hemant Agrawal On 6/29/2022 10:08 AM, Gagandeep Singh wrote: dpaa2_cmdif raw driver is no longer in use, so it will be removed in v22.11 Signed-off-by: Gagandeep Singh --- doc/guides/rel_notes/deprecation.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides

Re: [PATCH] doc: announce marking bus object as internal

2022-07-04 Thread Hemant Agrawal
Acked-by:  Hemant Agrawal On 7/4/2022 7:59 PM, Kevin Laatz wrote: On 30/06/2022 10:41, David Marchand wrote: rte_bus is unnecessarily exposed in the public API/ABI. Besides, we had cases where extending rte_bus was necessary. Announce that rte_bus will be made opaque in the public API and

Re: [RFC PATCH 00/29] cover letter for net/qdma PMD

2022-07-07 Thread Hemant Agrawal
On 7/7/2022 7:45 PM, Thomas Monjalon wrote: 07/07/2022 15:55, Aman Kumar: On 07/07/22 12:27 pm, Thomas Monjalon wrote: 06/07/2022 09:51, Aman Kumar: This patch series provides net PMD for VVDN's NR(5G) Hi-PHY solution over T1 telco card. These telco accelerator NIC cards are targeted for ORA

Re: [dpdk-dev] [RFC v2] mbuf: support eCPRI hardware packet type

2021-04-07 Thread Hemant Agrawal
looks ok to me. Acked-by: Hemant Agrawal On 4/7/2021 8:39 PM, Liulingyu wrote: Add L2_ETHER_ECPRI and L4_UDP_TUNNEL_ECPRI in RTE_PTYPE. Signed-off-by: Liulingyu --- app/test-pmd/util.c | 25 - lib/librte_mbuf/rte_mbuf_ptype.c | 2 ++ lib

Re: [dpdk-dev] Questions about API with no parameter check

2021-04-07 Thread Hemant Agrawal
On 4/7/2021 8:10 PM, Ajit Khaparde wrote: On Wed, Apr 7, 2021 at 6:20 AM Jerin Jacob wrote: On Wed, Apr 7, 2021 at 5:23 PM Ananyev, Konstantin wrote: 07/04/2021 13:28, Min Hu (Connor): Hi, all, Many APIs in DPDK does not check if the pointer parameter is NULL or not. For example, i

Re: [dpdk-dev] [EXT] Re: [PATCH 1/6] baseband: introduce NXP LA12xx driver

2021-04-08 Thread Hemant Agrawal
On 4/8/2021 2:25 PM, Akhil Goyal wrote: Hi Hemant/Nipun, Could you please send a new version soon? If review is completed, I would like to take it in RC1, i.e. 15th March. yes, we are working on fixing few things. We will send it by weekend. Regards, Hemant Regards, Akhil On 3/18

[dpdk-dev] [PATCH] net/dpaa2: fix RSS distribution size field

2021-04-08 Thread Hemant Agrawal
RSS distribution field is U64, while the DPAA2 code was using integer value, which is causing a issue for MPLS having bit position 33. This patch fixes the code to use unsigned long long. Fixes: 1832bc8ee8d4 ("net/dpaa2: support MPLS distribution") Cc: apeksha.gu...@nxp.com Signed-off-

[dpdk-dev] [PATCH] app/testpmd: fix missing MPLS tokens for RSS

2021-04-08 Thread Hemant Agrawal
This patch adds missing MPLS tokens in for RSS config. Fixes: d810252857c9 ("ethdev: add MPLS RSS offload type") Cc: hemant.agra...@nxp.com Signed-off-by: Hemant Agrawal --- app/test-pmd/cmdline.c | 4 ++-- app/test-pmd/config.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletion

[dpdk-dev] [PATCH] app/testpmd: fix missing MPLS tokens for RSS

2021-04-08 Thread Hemant Agrawal
This patch adds missing MPLS tokens in for RSS config. Fixes: d810252857c9 ("ethdev: add MPLS RSS offload type") Cc: hemant.agra...@nxp.com Signed-off-by: Hemant Agrawal --- app/test-pmd/cmdline.c | 4 ++-- app/test-pmd/config.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletion

[dpdk-dev] [PATCH] net/dpaa2: fix RSS distribution size field

2021-04-08 Thread Hemant Agrawal
RSS distribution field is U64, while the DPAA2 code was using integer value, which is causing a issue for MPLS having bit position 33. This patch fixes the code to use unsigned long long. Fixes: 1832bc8ee8d4 ("net/dpaa2: support MPLS distribution") Cc: apeksha.gu...@nxp.com Signed-off-

[dpdk-dev] [PATCH v2] l2fwd-crypto: align private data size to cache size

2021-04-09 Thread Hemant Agrawal
From: Gagandeep Singh L2fwd-crypto is passing 24b private data size while packet pool creation. This patch aligns that private data size to cache line size for better performance results. Signed-off-by: Gagandeep Singh --- examples/l2fwd-crypto/main.c | 3 ++- 1 file changed, 2 insertions(+),

[dpdk-dev] [PATCH v2] l2fwd-crypto: fix dev configure for masked devices

2021-04-09 Thread Hemant Agrawal
From: Apeksha Gupta The devices which are masked by cryptodev mask should not be initialized and skipped while traversing the device list. Fixes: 6ae3fb9df66e ("examples/l2fwd-crypto: fix session mempool size") Cc: sta...@dpdk.org Signed-off-by: Apeksha Gupta --- examples/l2fwd-crypto/main.c

[dpdk-dev] [PATCH v2] l2fwd-crypto: fix packet length while decryption

2021-04-09 Thread Hemant Agrawal
From: Rohit Raj There were some padding left when a packet gets decrypted. This patch removes those padding. This patch also removes the padding left after verifying auth of the packet. Fixes: e2cdfbd07c8a ("examples/l2fwd-crypto: fix port id type") Cc: sta...@dpdk.org Signed-off-by: Rohit Raj

Re: [dpdk-dev] [PATCH] license: fix typo

2021-04-09 Thread Hemant Agrawal
On 4/9/2021 9:49 PM, Stephen Hemminger wrote: On Fri, 9 Apr 2021 16:53:56 +0100 Ferruh Yigit wrote: Fixes: a4862c9e1a98 ("license: introduce SPDX identifiers") Cc: sta...@dpdk.org Signed-off-by: Ferruh Yigit Acked-by: Stephen Hemminger Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH v2 0/8] baseband: add NXP LA12xx driver

2021-04-10 Thread Hemant Agrawal
info. The driver currently implements basic feature to offload only the 5G LDPC encode/decode. Modifications has been done in test vectors to optionally support input in network byte order. Two test vectors are also added as an example with data in network byte order. Hemant Agrawal (6

[dpdk-dev] [PATCH v2 1/8] baseband: introduce NXP LA12xx driver

2021-04-10 Thread Hemant Agrawal
This patch introduce the baseband device drivers for NXP's LA1200 series software defined baseband modem. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c| 109 ++ .../baseband/la12xx/bbdev_la12xx_pmd_logs.h

[dpdk-dev] [PATCH v2 2/8] baseband/la12xx: add devargs for max queues

2021-04-10 Thread Hemant Agrawal
This patch adds dev args to take max queues as input Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 72 +- 1 file changed, 70 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/la12xx/bbdev_la12xx.c b

[dpdk-dev] [PATCH v2 3/8] baseband/la12xx: add support for multiple modems

2021-04-10 Thread Hemant Agrawal
This patch add support for multiple modems by assigning a modem id as dev args in vdev creation. Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 62 +++--- drivers/baseband/la12xx/bbdev_la12xx.h | 56 +++ drivers/baseband/la12xx

[dpdk-dev] [PATCH v2 4/8] baseband/la12xx: add queue and modem config support

2021-04-10 Thread Hemant Agrawal
This patch add support for connecting with modem and creating the ipc channel as queues with modem for the exchange of data. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 566 - drivers/baseband/la12xx

[dpdk-dev] [PATCH v2 5/8] baseband/la12xx: add enqueue and dequeue support

2021-04-10 Thread Hemant Agrawal
Add support for enqueue and dequeue the LDPC enc/dec from the modem device. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 397 - drivers/baseband/la12xx/bbdev_la12xx_ipc.h | 37 ++ 2 files changed, 430 insertions

[dpdk-dev] [PATCH v2 6/8] baseband/la12xx: add documentation support

2021-04-10 Thread Hemant Agrawal
This patch add documentation for LA12xx PMD. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- MAINTAINERS| 9 ++ doc/guides/bbdevs/features/la12xx.ini | 14 +++ doc/guides/bbdevs/index.rst| 1 + doc/guides/bbdevs/la12xx.rst

[dpdk-dev] [PATCH v2 7/8] app/bbdev: add parameter to take input in network order

2021-04-10 Thread Hemant Agrawal
From: Nipun Gupta Test bbdev application is reading the input and output from the test vector files in the same endianness which is of the system. This patch adds an option to provide data in the network order i.e. big endian format Signed-off-by: Nipun Gupta --- app/test-bbdev/test_bbdev_vect

[dpdk-dev] [PATCH v2 8/8] app/bbdev: add test vectors for transport blocks

2021-04-10 Thread Hemant Agrawal
From: Nipun Gupta This patch adds two test vectors for transport block in network byte order: - LDPC encode for Transport Block - LDPC decode for Transport block Signed-off-by: Nipun Gupta --- app/test-bbdev/test_vectors/ldpc_dec_tb.data | 362 ++ app/test-bbdev/test_vectors/ldpc_e

Re: [dpdk-dev] [PATCH v2 7/8] app/bbdev: add parameter to take input in network order

2021-04-12 Thread Hemant Agrawal
On 4/12/2021 12:52 PM, David Marchand wrote: On Sat, Apr 10, 2021 at 7:04 PM Hemant Agrawal wrote: From: Nipun Gupta Test bbdev application is reading the input and output from the test vector files in the same endianness which is of the system. This patch adds an option to provide data in

[dpdk-dev] [RFC][PATCH] bbdev: add raw operation support for additional offloads

2021-04-12 Thread Hemant Agrawal
of offloading large part of ORAN High-phy processing as well. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- lib/librte_bbdev/rte_bbdev.c| 1 + lib/librte_bbdev/rte_bbdev.h| 64 + lib/librte_bbdev/rte_bbdev_op.h | 98

[dpdk-dev] [PATCH v3 2/8] baseband/la12xx: add devargs for max queues

2021-04-12 Thread Hemant Agrawal
This patch adds dev args to take max queues as input Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 72 +- 1 file changed, 70 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/la12xx/bbdev_la12xx.c b

[dpdk-dev] [PATCH v3 4/8] baseband/la12xx: add queue and modem config support

2021-04-12 Thread Hemant Agrawal
This patch add support for connecting with modem and creating the ipc channel as queues with modem for the exchange of data. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 564 - drivers/baseband/la12xx

[dpdk-dev] [PATCH v3 0/8] baseband: add NXP LA12xx driver

2021-04-12 Thread Hemant Agrawal
: fix 32 bit compilation Hemant Agrawal (6): baseband: introduce NXP LA12xx driver baseband/la12xx: add devargs for max queues baseband/la12xx: add support for multiple modems baseband/la12xx: add queue and modem config support baseband/la12xx: add enqueue and dequeue support baseband

[dpdk-dev] [PATCH v3 5/8] baseband/la12xx: add enqueue and dequeue support

2021-04-12 Thread Hemant Agrawal
Add support for enqueue and dequeue the LDPC enc/dec from the modem device. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 397 - drivers/baseband/la12xx/bbdev_la12xx_ipc.h | 37 ++ 2 files changed, 430 insertions

[dpdk-dev] [PATCH v3 1/8] baseband: introduce NXP LA12xx driver

2021-04-12 Thread Hemant Agrawal
This patch introduce the baseband device drivers for NXP's LA1200 series software defined baseband modem. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c| 109 ++ .../baseband/la12xx/bbdev_la12xx_pmd_logs.h

[dpdk-dev] [PATCH v3 6/8] baseband/la12xx: add documentation support

2021-04-12 Thread Hemant Agrawal
This patch add documentation for LA12xx PMD. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- MAINTAINERS| 9 ++ doc/guides/bbdevs/features/la12xx.ini | 14 +++ doc/guides/bbdevs/index.rst| 1 + doc/guides/bbdevs/la12xx.rst

[dpdk-dev] [PATCH v3 3/8] baseband/la12xx: add support for multiple modems

2021-04-12 Thread Hemant Agrawal
This patch add support for multiple modems by assigning a modem id as dev args in vdev creation. Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 60 -- drivers/baseband/la12xx/bbdev_la12xx.h | 56 drivers/baseband

[dpdk-dev] [PATCH v3 8/8] app/bbdev: add test vectors for transport blocks

2021-04-12 Thread Hemant Agrawal
From: Nipun Gupta This patch adds two test vectors for transport block in network byte order: - LDPC encode for Transport Block - LDPC decode for Transport block Signed-off-by: Nipun Gupta --- app/test-bbdev/test_vectors/ldpc_dec_tb.data | 362 ++ app/test-bbdev/test_vectors/ldpc_e

[dpdk-dev] [PATCH v3 7/8] app/bbdev: add parameter to take input in network order

2021-04-12 Thread Hemant Agrawal
From: Nipun Gupta Test bbdev application is reading the input and output from the test vector files in the same endianness which is of the system. This patch adds an option to provide data in the network order i.e. big endian format Signed-off-by: Nipun Gupta --- app/test-bbdev/test_bbdev_vect

Re: [dpdk-dev] [PATCH] drivers: add missing headers

2021-04-13 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [PATCH v3 00/15] features and fixes on NXP eth devices

2022-01-11 Thread Hemant Agrawal
Series- Acked-by:  Hemant Agrawal On 1/3/2022 3:31 PM, nipun.gu...@nxp.com wrote: From: Nipun Gupta This series adds few features and important fixes on DPAA, PFE and ENETC devices. Features added: - level 2 support for shaping on DPAA2 - loopback configuration for DPNI devices on DPAA2

RE: [PATCH 71/82] raw/skeleton: remove unnecessary NULL checks

2022-01-23 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH 45/82] net/dpaa: remove unnecessary NULL checks

2022-01-23 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH 16/82] baseband/la12xx remove unnecessary NULL checks

2022-01-23 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH 23/82] common/dpaax: simplify kernel compat macros

2022-01-23 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH 19/82] bus/fslmc: remove unnecessary NULL checks

2022-01-23 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [PATCH v6 00/26] Net/SPNIC: support SPNIC into DPDK 22.03

2022-01-23 Thread Hemant Agrawal
but cc'ed hinic maintainers for info. Also cc'ed Hemant for guidance. Yes, if large part of code is driven from an existing driver, it is advisable to keep the original copyright. You can add your copyright as well, if you have changed the code. Alternately, you provide reference in t

RE: [PATCH v5 16/50] rawdev: remove unneeded header includes

2022-01-23 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH v3 00/15] crypto: add raw vector support in DPAAx

2021-10-13 Thread Hemant Agrawal
rypto/dpaa2_sec: support OOP with raw buffer API crypto/dpaa2_sec: enhance error checks with raw buffer APIs crypto/dpaa_sec: support raw datapath APIs crypto/dpaa_sec: support authonly and chain with raw APIs crypto/dpaa_sec: support AEAD and proto with raw APIs Hemant Agrawal (4): c

[dpdk-dev] [PATCH v3 01/15] crypto: change sgl to src_sgl in vector

2021-10-13 Thread Hemant Agrawal
This patch renames the sgl to src_sgl to help differentiating between source and destination sgl. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal Acked-by: Konstantin Ananyev --- app/test/test_cryptodev.c | 6 ++--- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 12

[dpdk-dev] [PATCH v3 02/15] crypto: add total raw buffer length

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh The current crypto raw data vectors is extended to support rte_security usecases, where we need total data length to know how much additional memory space is available in buffer other than data length so that driver/HW can write expanded size data after encryption. Signed-o

[dpdk-dev] [PATCH v3 03/15] crypto: add dest_sgl in raw vector APIs

2021-10-13 Thread Hemant Agrawal
The structure rte_crypto_sym_vec is updated to add dest_sgl to support out of place processing. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal Acked-by: Konstantin Ananyev --- doc/guides/rel_notes/deprecation.rst | 5 - lib/cryptodev/rte_crypto_sym.h | 2 ++ 2 files changed, 2

[dpdk-dev] [PATCH v3 04/15] crypto: fix raw process for multi-seg case

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh If no next segment available the “for” loop will fail and it still returns i+1 i.e. 2, which is wrong as it has filled only 1 buffer. Fixes: 7adf992fb9bf ("cryptodev: introduce CPU crypto API") Cc: marcinx.smoczyn...@intel.com Cc: sta...@dpdk.org Signed-off-by: Gagandeep S

[dpdk-dev] [PATCH v3 05/15] crypto/dpaa2_sec: support raw datapath APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh This path add framework for raw API support. The initial patch only test cipher only part. Signed-off-by: Hemant Agrawal Signed-off-by: Gagandeep Singh --- doc/guides/rel_notes/release_21_11.rst | 1 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 13 +- drivers

[dpdk-dev] [PATCH v3 06/15] crypto/dpaa2_sec: support AUTH only with raw buffer APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh Auth only with raw buffer APIs has been supported in this patch. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 21 drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 114 ++-- 2 files changed, 108 insertions(+), 27 delet

[dpdk-dev] [PATCH v3 07/15] crypto/dpaa2_sec: support AUTHENC with raw buffer APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh This patch supports AUTHENC with raw buufer APIs Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 128 ++-- 1 file changed, 121 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c b/drive

[dpdk-dev] [PATCH v3 08/15] crypto/dpaa2_sec: support AEAD with raw buffer APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh add raw vector API support for AEAD algos. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 249 +--- 1 file changed, 214 insertions(+), 35 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c b/drivers/cr

[dpdk-dev] [PATCH v3 09/15] crypto/dpaa2_sec: support OOP with raw buffer API

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh add support for out of order processing with raw vector APIs. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 1 + drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 156 +++- 2 files changed, 116 insertions(+), 41 deletions(-

[dpdk-dev] [PATCH v3 10/15] crypto/dpaa2_sec: enhance error checks with raw buffer APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh This patch improves error conditions and support of Wireless algos with raw buffers. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 31 - 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/drivers/crypto/dp

[dpdk-dev] [PATCH v3 11/15] crypto/dpaa_sec: support raw datapath APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh This patch add raw vector API framework for dpaa_sec driver. Signed-off-by: Gagandeep Singh --- doc/guides/rel_notes/release_21_11.rst| 1 + drivers/crypto/dpaa_sec/dpaa_sec.c| 23 +- drivers/crypto/dpaa_sec/dpaa_sec.h| 39 +- drivers/crypto/dpaa_s

[dpdk-dev] [PATCH v3 12/15] crypto/dpaa_sec: support authonly and chain with raw APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh This patch improves the raw vector support in dpaa_sec driver for authonly and chain usecase. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.h| 3 +- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 296 +- 2 files changed, 28

[dpdk-dev] [PATCH v3 13/15] crypto/dpaa_sec: support AEAD and proto with raw APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh This add support for AEAD and proto offload with raw APIs for dpaa_sec driver. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 293 ++ 1 file changed, 293 insertions(+) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec_raw_d

[dpdk-dev] [PATCH v3 14/15] test/crypto: add raw API test for dpaax

2021-10-13 Thread Hemant Agrawal
This patch add support for raw API tests for dpaa_sec and dpaa2_sec platforms. Signed-off-by: Gagandeep Singh Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 116 +++--- 1 file changed, 109 insertions(+), 7 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH v3 15/15] test/crypto: add raw API support in 5G algos

2021-10-13 Thread Hemant Agrawal
This patch add support for RAW API testing with ZUC and SNOW test cases. Signed-off-by: Gagandeep Singh Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 57 ++- 1 file changed, 51 insertions(+), 6 deletions(-) diff --git a/app/test

Re: [dpdk-dev] [EXT] [PATCH v3 02/15] crypto: add total raw buffer length

2021-10-13 Thread Hemant Agrawal
> -Original Message- > From: dev On Behalf Of Akhil Goyal > Sent: Thursday, October 14, 2021 12:06 AM > To: Hemant Agrawal ; dev@dpdk.org > Cc: roy.fan.zh...@intel.com; konstantin.anan...@intel.com; Gagandeep > Singh > Subject: Re: [dpdk-dev] [EXT] [PATCH v3 02/

[dpdk-dev] [PATCH v4 00/15] crypto: add raw vector support in DPAAx

2021-10-13 Thread Hemant Agrawal
uffer APIs crypto/dpaa2_sec: support OOP with raw buffer API crypto/dpaa2_sec: enhance error checks with raw buffer APIs crypto/dpaa_sec: support raw datapath APIs crypto/dpaa_sec: support authonly and chain with raw APIs crypto/dpaa_sec: support AEAD and proto with raw APIs Hemant Agraw

[dpdk-dev] [PATCH v4 01/15] crypto: change sgl to src_sgl in vector

2021-10-13 Thread Hemant Agrawal
This patch renames the sgl to src_sgl to help differentiating between source and destination sgl. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal Acked-by: Konstantin Ananyev --- app/test/test_cryptodev.c | 6 ++--- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 12

[dpdk-dev] [PATCH v4 02/15] crypto: add total raw buffer length

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh The current crypto raw data vectors is extended to support rte_security usecases, where we need total data length to know how much additional memory space is available in buffer other than data length so that driver/HW can write expanded size data after encryption. Signed-o

[dpdk-dev] [PATCH v4 03/15] crypto: add dest_sgl in raw vector APIs

2021-10-13 Thread Hemant Agrawal
The structure rte_crypto_sym_vec is updated to add dest_sgl to support out of place processing. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal Acked-by: Konstantin Ananyev --- doc/guides/rel_notes/deprecation.rst | 5 - lib/cryptodev/rte_crypto_sym.h | 2 ++ 2 files changed, 2

[dpdk-dev] [PATCH v4 05/15] crypto/dpaa2_sec: support raw datapath APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh This path add framework for raw API support. The initial patch only test cipher only part. Signed-off-by: Hemant Agrawal Signed-off-by: Gagandeep Singh --- doc/guides/rel_notes/release_21_11.rst | 1 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 13 +- drivers

[dpdk-dev] [PATCH v4 08/15] crypto/dpaa2_sec: support AEAD with raw buffer APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh add raw vector API support for AEAD algos. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 249 +--- 1 file changed, 214 insertions(+), 35 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c b/drivers/cr

[dpdk-dev] [PATCH v4 11/15] crypto/dpaa_sec: support raw datapath APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh This patch add raw vector API framework for dpaa_sec driver. Signed-off-by: Gagandeep Singh --- doc/guides/rel_notes/release_21_11.rst| 1 + drivers/crypto/dpaa_sec/dpaa_sec.c| 23 +- drivers/crypto/dpaa_sec/dpaa_sec.h| 39 +- drivers/crypto/dpaa_s

[dpdk-dev] [PATCH v4 12/15] crypto/dpaa_sec: support authonly and chain with raw APIs

2021-10-13 Thread Hemant Agrawal
From: Gagandeep Singh This patch improves the raw vector support in dpaa_sec driver for authonly and chain usecase. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.h| 3 +- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 296 +- 2 files changed, 28

[dpdk-dev] [PATCH v4 15/15] test/crypto: add raw API support in 5G algos

2021-10-13 Thread Hemant Agrawal
This patch add support for RAW API testing with ZUC and SNOW test cases. Signed-off-by: Gagandeep Singh Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 57 ++- 1 file changed, 51 insertions(+), 6 deletions(-) diff --git a/app/test

<    1   2   3   4   5   6   7   8   9   10   >