[dpdk-dev] [PATCH v2 02/20] bus/dpaa: fix statistics reading

2021-02-11 Thread Hemant Agrawal
From: Nipun Gupta Reading of word un-aligned values after reading word aligned values lead to corrution of memory, such that older value. This patch make changes such that word alignedaccess is made, before making an un-aligned access Fixes: 6d6b4f49a155 ("bus/dpaa: add FMAN hardware operations"

[dpdk-dev] [PATCH v2 03/20] net/dpaa2: fix link get API implementation

2021-02-11 Thread Hemant Agrawal
to finish. Fixes: c56c86ff87c1 ("net/dpaa2: update link status") Cc: sta...@dpdk.org Signed-off-by: Rohit Raj Acked-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_et

[dpdk-dev] [PATCH v2 04/20] net/dpaa: fix link get API implementation

2021-02-11 Thread Hemant Agrawal
able link state interrupt") Cc: sta...@dpdk.org Signed-off-by: Rohit Raj Acked-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index d6

[dpdk-dev] [PATCH v2 06/20] net/dpaa2: support external buffers in Tx

2021-02-11 Thread Hemant Agrawal
From: Nipun Gupta This patch support tx of external allocated buffers. Signed-off-by: Nipun Gupta Signed-off-by: Sachin Saxena Acked-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/drivers/net

[dpdk-dev] [PATCH v2 05/20] net/dpaa2: allocate SGT table from first segment

2021-02-11 Thread Hemant Agrawal
This patch enables support to use the first segment headroom to build the HW requied Scatter Gather Table. (if space is available). This will avoid 1 less buffer for SG buffer creation. Signed-off-by: Sachin Saxena Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 5

[dpdk-dev] [PATCH v2 07/20] net/dpaa: support external buffers in Tx

2021-02-11 Thread Hemant Agrawal
This patch support tx of external buffers Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_rxtx.c | 39 +++- drivers/net/dpaa/dpaa_rxtx.h | 8 +--- 2 files changed, 31 insertions(+), 16 deletions(-) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers

[dpdk-dev] [PATCH v2 09/20] net/dpaa2: add support to configure dpdmux max Rx frame len

2021-02-11 Thread Hemant Agrawal
This patch introduce a new pmd api, which can help the applications to configure the max framelen for a given dpdmux interface Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_mux.c | 28 +++- drivers/net/dpaa2/rte_pmd_dpaa2.h | 18

[dpdk-dev] [PATCH v2 08/20] net/dpaa2: add traffic management driver

2021-02-11 Thread Hemant Agrawal
From: Gagandeep Singh Add basic support for scheduling and shaping on dpaa2 platform. HW supports 2 level of scheduling and shaping. However the current patch only support single level. Signed-off-by: Gagandeep Singh Acked-by: Hemant Agrawal --- doc/guides/nics/dpaa2.rst | 120

[dpdk-dev] [PATCH v2 10/20] net/dpaa2: add support for raw pattern in dpdmux

2021-02-11 Thread Hemant Agrawal
From: Akhil Goyal Added support for flow raw pattern and check that the call for dpdmux_set_custom_key() which should be called only once for a particular DPDMUX as all previous rules will be erased with this call. Hence calling it for the first time only. Signed-off-by: Akhil Goyal --- driver

[dpdk-dev] [PATCH v2 11/20] net/dpaa2: dpdmux skip reset

2021-02-11 Thread Hemant Agrawal
From: Apeksha Gupta This is require as the interface is shared with linux and we do not want the dpdmux to be reset. rather the default interface to kernel shall continue. command dpdmux_set_resetable is used to skip DPDMUX reset. By default the DPDMUX_RESET command will reset the DPDMUX complete

[dpdk-dev] [PATCH v2 12/20] net/dpaa2: support dpdmux to not drop parse err pkts

2021-02-11 Thread Hemant Agrawal
DPDMUX should not drop parse error packets. They shall be left to the decision of the connected DPNI interfaces Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_mux.c | 18 drivers/net/dpaa2/mc/dpdmux.c | 37 + drivers/net/dpaa2/mc/fsl_dpdmux.h | 113

[dpdk-dev] [PATCH v2 13/20] net/dpaa2: add device args for enable Tx confirmation

2021-02-11 Thread Hemant Agrawal
Add support for dev arg ``fslmc:dpni.1,drv_tx_conf=1`` It is optional for dpaa2 to use TX confirmation. DPAA2 can free the transmitted packets. However some use-case requires the TX confirmation to be explicit. Signed-off-by: Hemant Agrawal --- doc/guides/nics/dpaa2.rst| 4

[dpdk-dev] [PATCH v2 14/20] net/dpaa2: optionally enable error queues

2021-02-11 Thread Hemant Agrawal
From: Nipun Gupta In case error packets are received by the ethernet interface, this patch enables the receival of packets on the error queue, printing the error and the error packet. to enable, use the dev_arg as : fslmc:dpni.1,drv_error_queue=1 Signed-off-by: Nipun Gupta Acked-by: Hemant

[dpdk-dev] [PATCH v2 15/20] mempool/dpaa2: support stats for secondary process

2021-02-11 Thread Hemant Agrawal
DPAA2 DPBP object access need availability of MCP object pointer. In case of secondary process, we need to use local MCP pointer instead of primary process. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 8 +++- 1 file changed, 7

[dpdk-dev] [PATCH v2 16/20] net/dpaa: do not release the cgr ranges

2021-02-11 Thread Hemant Agrawal
From: Nipun Gupta CGR are automatically freed up in the kernel. As we do not cleanup the queues, if we release the CGR here, kernel reports them in use. So have them freed up in the kernel Signed-off-by: Nipun Gupta --- drivers/net/dpaa/dpaa_ethdev.c | 6 -- 1 file changed, 6 deletions(-)

[dpdk-dev] [PATCH v2 18/20] bus/dpaa: secondary process init support

2021-02-11 Thread Hemant Agrawal
Secondary process also need the access the qman and bman ccsr map. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c index

[dpdk-dev] [PATCH v2 19/20] bus/dpaa: support shared ethernet MAC interface

2021-02-11 Thread Hemant Agrawal
From: Nipun Gupta DPAA can share an interface on classification criteria with kernel. This patch enables default kernel driver to be used as a shared MAC interface with DPDK interface. (provided that VSP is enabled on that interface.) Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/fman/

[dpdk-dev] [PATCH v2 17/20] net/dpaa: prevent multiple mp config on an device

2021-02-11 Thread Hemant Agrawal
From: Nipun Gupta The current driver only support single buffer pool on a given pmd instance. return error, if trying to configure more. Signed-off-by: Nipun Gupta --- drivers/mempool/dpaa/dpaa_mempool.c | 1 + drivers/net/dpaa/dpaa_ethdev.c | 6 ++ 2 files changed, 7 insertions(+) d

[dpdk-dev] [PATCH v2 20/20] bus/dpaa: enhance checks for bus and device detection

2021-02-11 Thread Hemant Agrawal
1. It is not a error if no network device available. One can only use crypto device 2. Improve logging for failure in detecting the bus Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/bus/dpaa

[dpdk-dev] [PATCH] maintainers: update for NXP pfe and dpaax_sec

2021-02-18 Thread Hemant Agrawal
remove Akhil add Gagan Signed-off-by: Hemant Agrawal --- MAINTAINERS | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1962284e94..596e143823 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -846,7 +846,6 @@ F: doc/guides/nics/features

[dpdk-dev] [PATCH] l2fwd-crypto: remove padding after decrypting

2021-02-22 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. Signed-off-by: Rohit Raj --- examples/l2fwd-crypto/main.c | 14 ++ 1 file changed, 14 insertions

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

2021-02-22 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. Signed-off-by: Apeksha Gupta --- examples/l2fwd-crypto/main.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/examples/l2fwd-crypto/main.c b/exam

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

2021-02-22 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 --- app/proc-info/main.c | 2 +- examples/l2fwd-crypto/main.c | 3 +

[dpdk-dev] [PATCH] ptpclient: enable timestamp offload support

2021-02-22 Thread Hemant Agrawal
This patch add support to enabled rx offload for timestamp. It is required to be enabled for some pmds e.g. dpaa2 Signed-off-by: Gagandeep Singh Signed-off-by: Hemant Agrawal --- examples/ptpclient/ptpclient.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/ptpclient

Re: [dpdk-dev] [PATCH] maintainers: update crypto ownership

2021-02-23 Thread Hemant Agrawal
Goyal > > --- > > MAINTAINERS | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > What about NXP pfe, DPAA_SEC and DPAA2_SEC? > If you don't intend to maintain them anymore, you should resign from them. > > [Hemant] Patch is already sub

[dpdk-dev] [PATCH v3 00/23] NXP DPAAx ethernet PMD changes

2021-02-24 Thread Hemant Agrawal
, add rx buf size support v2: add more patches and add TM documentation Akhil Goyal (1): net/dpaa2: add support for raw pattern in dpdmux Apeksha Gupta (1): net/dpaa2: dpdmux skip reset Gagandeep Singh (1): net/dpaa2: add traffic management driver Hemant Agrawal (11): net/dpaa2: allocate SGT

[dpdk-dev] [PATCH v3 01/23] bus/fslmc: fix to use ci value for qbman 5.0

2021-02-24 Thread Hemant Agrawal
ortal pi index to consumer index") Cc: sta...@dpdk.org Signed-off-by: Youri Querry Acked-by: Hemant Agrawal --- drivers/bus/fslmc/qbman/qbman_portal.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/bus/fslmc/qbman/qbman_portal.c b/drivers/bus/f

[dpdk-dev] [PATCH v3 02/23] bus/dpaa: fix statistics reading

2021-02-24 Thread Hemant Agrawal
tions") Cc: sta...@dpdk.org Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman_hw.c | 33 ++-- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/drivers/bus/dpaa/base/fman/fman_hw.c b/drivers/bus/dpaa/base/fman

[dpdk-dev] [PATCH v3 03/23] net/dpaa2: fix link get API implementation

2021-02-24 Thread Hemant Agrawal
. Fixes: c56c86ff87c1 ("net/dpaa2: update link status") Cc: sta...@dpdk.org Signed-off-by: Rohit Raj Acked-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c

[dpdk-dev] [PATCH v3 04/23] net/dpaa: fix link get API implementation

2021-02-24 Thread Hemant Agrawal
state interrupt") Cc: sta...@dpdk.org Signed-off-by: Rohit Raj Acked-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index d643514de6..

[dpdk-dev] [PATCH v3 05/23] net/dpaa2: allocate SGT table from first segment

2021-02-24 Thread Hemant Agrawal
This patch enables support to use the first segment headroom to build the HW required Scatter Gather Table. (if space is available). This will avoid 1 less buffer for SG buffer creation. Signed-off-by: Sachin Saxena Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 5

[dpdk-dev] [PATCH v3 07/23] net/dpaa: support external buffers in Tx

2021-02-24 Thread Hemant Agrawal
This patch support tx of external buffers Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_rxtx.c | 39 +++- drivers/net/dpaa/dpaa_rxtx.h | 8 +--- 2 files changed, 31 insertions(+), 16 deletions(-) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers

[dpdk-dev] [PATCH v3 06/23] net/dpaa2: support external buffers in Tx

2021-02-24 Thread Hemant Agrawal
From: Nipun Gupta This patch support tx of external allocated buffers. Signed-off-by: Nipun Gupta Signed-off-by: Sachin Saxena Acked-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/drivers/net

[dpdk-dev] [PATCH v3 09/23] net/dpaa2: add support to configure dpdmux max Rx frame len

2021-02-24 Thread Hemant Agrawal
This patch introduce a new pmd api, which can help the applications to configure the max framelen for a given dpdmux interface Signed-off-by: Hemant Agrawal Acked-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_mux.c | 28 +++- drivers/net/dpaa2/rte_pmd_dpaa2.h | 18

[dpdk-dev] [PATCH v3 08/23] net/dpaa2: add traffic management driver

2021-02-24 Thread Hemant Agrawal
From: Gagandeep Singh Add basic support for scheduling and shaping on dpaa2 platform. HW supports 2 level of scheduling and shaping. However the current patch only support single level. Signed-off-by: Gagandeep Singh Acked-by: Hemant Agrawal --- doc/guides/nics/dpaa2.rst | 120

[dpdk-dev] [PATCH v3 10/23] net/dpaa2: add support for raw pattern in dpdmux

2021-02-24 Thread Hemant Agrawal
: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_mux.c | 39 ++- drivers/net/dpaa2/mc/dpdmux.c | 3 ++- drivers/net/dpaa2/mc/fsl_dpdmux.h | 12 +++-- drivers/net/dpaa2/mc/fsl_dpdmux_cmd.h | 4 +-- 4 files changed, 46 insertions(+), 12 deletions(-) diff

[dpdk-dev] [PATCH v3 11/23] net/dpaa2: dpdmux skip reset

2021-02-24 Thread Hemant Agrawal
completely, dpdmux_set_resetable command will be ignored in old MC firmware. Signed-off-by: Apeksha Gupta Acked-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_mux.c | 26 + drivers/net/dpaa2/mc/dpdmux.c | 84 +++ drivers/net/dpaa2/mc/fsl_dpdmux.h | 32

[dpdk-dev] [PATCH v3 12/23] net/dpaa2: support dpdmux to not drop parse err pkts

2021-02-24 Thread Hemant Agrawal
DPDMUX should not drop parse error packets. They shall be left to the decision of the connected DPNI interfaces Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_mux.c | 18 drivers/net/dpaa2/mc/dpdmux.c | 37 + drivers/net/dpaa2/mc/fsl_dpdmux.h | 113

[dpdk-dev] [PATCH v3 13/23] net/dpaa2: add device args for enable Tx confirmation

2021-02-24 Thread Hemant Agrawal
Add support for dev arg ``fslmc:dpni.1,drv_tx_conf=1`` It is optional for dpaa2 to use TX confirmation. DPAA2 can free the transmitted packets. However some use-case requires the TX confirmation to be explicit. Signed-off-by: Hemant Agrawal --- doc/guides/nics/dpaa2.rst| 4

[dpdk-dev] [PATCH v3 15/23] net/dpaa2: change Tx queue congestion settings

2021-02-24 Thread Hemant Agrawal
change the tx queue congestion notification to the ratio of current queue size instead of fixed. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2

[dpdk-dev] [PATCH v3 14/23] net/dpaa2: optionally enable error queues

2021-02-24 Thread Hemant Agrawal
From: Nipun Gupta In case error packets are received by the ethernet interface, this patch enables the receival of packets on the error queue, printing the error and the error packet. to enable, use the dev_arg as : fslmc:dpni.1,drv_error_queue=1 Signed-off-by: Nipun Gupta Acked-by: Hemant

[dpdk-dev] [PATCH v3 17/23] net/dpaa: do not release the cgr ranges

2021-02-24 Thread Hemant Agrawal
From: Nipun Gupta CGR are automatically freed up in the kernel. As we do not cleanup the queues, if we release the CGR here, kernel reports them in use. So have them freed up in the kernel Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 6 -- 1

[dpdk-dev] [PATCH v3 16/23] mempool/dpaa2: support stats for secondary process

2021-02-24 Thread Hemant Agrawal
DPAA2 DPBP object access need availability of MCP object pointer. In case of secondary process, we need to use local MCP pointer instead of primary process. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 8 +++- 1 file changed, 7

[dpdk-dev] [PATCH v3 19/23] bus/dpaa: secondary process init support

2021-02-24 Thread Hemant Agrawal
Secondary process also need the access the qman and bman ccsr map. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c index

[dpdk-dev] [PATCH v3 18/23] net/dpaa: prevent multiple mp config on an device

2021-02-24 Thread Hemant Agrawal
From: Nipun Gupta The current driver only support single buffer pool on a given pmd instance. return error, if trying to configure more. Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/mempool/dpaa/dpaa_mempool.c | 1 + drivers/net/dpaa/dpaa_ethdev.c | 6 ++ 2 files

[dpdk-dev] [PATCH v3 20/23] bus/dpaa: support shared ethernet MAC interface

2021-02-24 Thread Hemant Agrawal
From: Nipun Gupta DPAA can share an interface on classification criteria with kernel. This patch enables default kernel driver to be used as a shared MAC interface with DPDK interface. (provided that VSP is enabled on that interface.) Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH v3 21/23] bus/dpaa: enhance checks for bus and device detection

2021-02-24 Thread Hemant Agrawal
1. It is not a error if no network device available. One can only use crypto device 2. Improve logging for failure in detecting the bus Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/bus/dpaa

[dpdk-dev] [PATCH v3 22/23] net/dpaa2: add Rx buf size support

2021-02-24 Thread Hemant Agrawal
This patch adds RX buf size support in queue info Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 586d116227..0e7ebf4dc0 100644 --- a/drivers

[dpdk-dev] [PATCH v3 23/23] net/dpaa: add Rx buf size support

2021-02-24 Thread Hemant Agrawal
This patch adds rx buf size support in rxq info for dpaa Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/include/fsl_fman.h | 1 + drivers/bus/dpaa/version.map| 1 + drivers/net/dpaa/dpaa_ethdev.c | 7 +++ 3 files changed, 9 insertions(+) diff --git a/drivers/bus/dpaa

[dpdk-dev] [PATCH] dpaax: update rel_notes for changes

2021-03-04 Thread Hemant Agrawal
This patch updates the release notes for recently submitted changes. Signed-off-by: Hemant Agrawal --- doc/guides/rel_notes/release_21_05.rst | 10 ++ 1 file changed, 10 insertions(+) diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc/guides/rel_notes/release_21_05.rst index

RE: no printf in drivers code

2023-02-08 Thread Hemant Agrawal
like it :) > > > > Affected drivers are: > > baseband/acc > > bus/dpaa > > bus/fslmc > > crypto/caam_jr > > crypto/ccp > > dma/ioat > > net/dpaa > > net/dpaa2 [Hemant] NXP will send the patches shortly. > > net/nfp > > net/qede > > net/txgbe > > raw/ifpga > > Regards Hemant

[PATCH 1/2] drivers: replace printf with log macros

2023-02-15 Thread Hemant Agrawal
This patch replaces the printf with related log macros and functions at various places in NXP dpaaX drivers. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 8 +++ drivers/bus/dpaa/base/qbman/process.c | 29 +- drivers/bus/dpaa/base/qbman

[PATCH 2/2] drivers: replace printf with fprintf for debug functions

2023-02-15 Thread Hemant Agrawal
This patch replaces simple printf with fprintf for debug dump related functions for various NXP dpaaX related drivers. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/netcfg_layer.c | 20 drivers/crypto/caam_jr/caam_jr.c| 4 +- drivers/crypto/caam_jr

Re: [PATCH 2/2] drivers: replace printf with fprintf for debug functions

2023-02-16 Thread Hemant Agrawal
On 15-Feb-23 8:46 PM, Thomas Monjalon wrote: 15/02/2023 11:29, Hemant Agrawal: This patch replaces simple printf with fprintf for debug dump related functions for various NXP dpaaX related drivers. Why replacing with fprintf(stdout)? Would it be better to provide a FILE* parameter to the

Re: MAC address set requires decision

2023-02-22 Thread Hemant Agrawal
anything extra ? If that is the case, it seems to be best. Regards Hemant -Original Message- From: Ferruh Yigit Sent: Thursday, February 16, 2023 2:44 PM To:techbo...@dpdk.org Cc: Huisong Li; Chengwen Feng Subject: MAC address set requires decision Hi Board, We need a decision on ho

RE: [PATCH 12/14] crypto/caam_jr: use rte_pktmbuf_mtod_offset

2023-05-09 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Minutes of Technical Board Meeting, 2023-02-08

2023-05-17 Thread Hemant Agrawal
- - Aaron -Hemant (Chair) -Honnappa -Maxime -Konstantin -Stephen Agenda Items The required quorum was missing. However there was general discussion on the DPDK and Lab.

RE: [PATCH 20/20] Remove use of term sanity check

2023-05-18 Thread Hemant Agrawal
ys > - * set) and ZRO (always clear) forms an endianness sanity check > + * set) and ZRO (always clear) forms an endianness check > */ > #define HDR_ONE BIT(23) > #define HDR_ZRO BIT(15) Acked-by: Hemant Agrawal

RE: [PATCH v1 1/1] bbdev: extend range of allocation function

2023-06-01 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH 16/25] net/dpaa*: replace snprintf with strlcpy

2023-06-01 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH 09/25] crypto/dpaa_sec: replace snprintf with strlcpy

2023-06-01 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH 12/15] rawdev: use GCC and MSVC common VA ARGS extension

2024-02-13 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

RE: [PATCH 00/71] replace use of fixed size rte_memcpy

2024-03-01 Thread Hemant Agrawal
For DPAAx Series- Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

Minutes of Techboard Meeting, 2023-11-29

2023-12-12 Thread Hemant Agrawal
TB Attendees Aaron Bruce Hemant Honnappa Jerin Kevin Konstantin Maxime Morten Stephen Thomas NOTE: The technical board meetings are on every second Wednesday at 3 pm UTC. Meetings are public, and DPDK community members are welcome to attend. Link to join: https://zoom

RE: [PATCH v3 06/37] net/dpaa: replace RTE_LOG_DP with rte_log_dp

2023-12-14 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

RE: [PATCH v3 07/37] net/dpaa2: replace RTE_LOG_DP with rte_log_dp

2023-12-14 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

RE: [PATCH v3 21/37] basband/la12xx: replace RTE_LOG_DP with rte_log_dp

2023-12-14 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

RE: [PATCH v3 23/37] bus/fslmc: replace RTE_LOG_DP with rte_log_dp

2023-12-14 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

RE: [PATCH v3 24/37] dma/dpaa, dma/dpaa2: replace RTE_LOG_DP with rte_log_dp

2023-12-14 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

RE: [PATCH v3 25/37] mempool/dpaa, mempool/dpaa2: do not use logtype PMD

2023-12-14 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

RE: [PATCH v3 34/37] crypto/caam_jr: replace logtype PMD

2023-12-14 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

RE: [PATCH v3 32/37] event/dpaa, event/dpaa2: use local logtype

2023-12-14 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

RE: [PATCH v3 37/37] crypto/dpaa_sec, crypto/dpaa2_sec: replace use of PMD logtype

2023-12-14 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

RE: [PATCH v3 20/37] common/dpaax: do not use PMD logtype

2023-12-14 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

RE: [PATCH] dma/dpaa2: fix logtype register

2023-12-18 Thread Hemant Agrawal
> -Original Message- > From: David Marchand > Sent: Monday, December 18, 2023 9:17 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Gagandeep Singh ; Hemant Agrawal > ; Nipun Gupta > Subject: [PATCH] dma/dpaa2: fix logtype register > Importance: High > &g

RE: [dpdk-dev] [v5] doc: define qualification criteria for external library

2024-01-08 Thread Hemant Agrawal
On 08-Jan-24 1:28 PM, jer...@marvell.com wrote: > From: Jerin Jacob > > Define qualification criteria for external library > based on a techboard meeting minutes [1] and past > learnings from mailing list discussion. > > [1] > http://mails.dpdk.org/archives/dev/2019-June/135847.html > https://mai

RE: [dpdk-dev] [v5] doc: define qualification criteria for external library

2024-01-08 Thread Hemant Agrawal
On 08-Jan-24 2:01 PM, Jerin Jacob wrote: > On Mon, Jan 8, 2024 at 1:47 PM Hemant Agrawal wrote: >> >> >> On 08-Jan-24 1:28 PM, jer...@marvell.com wrote: >>> From: Jerin Jacob >>> >>> Define qualification criteria for external library >&

RE: [PATCH v2 3/8] rawdev: fix calloc parameters

2024-01-24 Thread Hemant Agrawal
izeof(char), RTE_TEL_MAX_SINGLE_STRING_LEN); > | ^~~~ > > Fixes: e915d404eb72 ("rawdev: support telemetry dump rawdev") > Cc: sta...@dpdk.org > > Signed-off-by: Ferruh Yigit Reviewed-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

Minutes of DPDK Technical Board Meeting, 2024-05-29

2024-06-17 Thread Hemant Agrawal
Members Attending: 09/11 - Aaron Conole - Bruce Richardson - Hemant Agrawal (Chair) - Honnappa Nagarahalli - Jerin Jacob Kollanukkaran - Kevin Traynor - Maxime Coquelin - Stephen Hemminger - Thomas Monjalon NOTE

[PATCH] baseband/la12xx: fix issue with secondary process

2024-07-01 Thread Hemant Agrawal
e NXP LA12xx driver") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/baseband/la12xx/bbdev_la12xx.c b/drivers/baseband/la12xx/bbdev_la12xx.c index bb754a5395..1a56e73abd 100644 ---

Re: [PATCH v1 0/3] bbdev: new k0 parameter

2024-07-01 Thread Hemant Agrawal
On 02-07-2024 02:57, Nicolas Chautru wrote: Hi Maxime, Hemant, Capturing below an extension for 24.11. This includes bbdev api change and related change for test application and acc/vrb PMD. This provides the ability which was introduced in 3gPP standard to have an alternate way to compute k0

Re: [PATCH 2/2] drivers: replace printf with fprintf for debug functions

2024-07-02 Thread Hemant Agrawal
On 02-07-2024 15:01, David Marchand wrote: Hello Hemant, On Thu, Feb 16, 2023 at 10:28 AM Hemant Agrawal wrote: On 15-Feb-23 8:46 PM, Thomas Monjalon wrote: 15/02/2023 11:29, Hemant Agrawal: This patch replaces simple printf with fprintf for debug dump related functions for various NXP

[PATCH v2 1/2] drivers: replace printf with log macros

2024-07-02 Thread Hemant Agrawal
This patch replaces the printf with related log macros and functions at various places in NXP dpaaX drivers. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 8 +++ drivers/bus/dpaa/base/qbman/process.c | 29 +- drivers/bus/dpaa/base/qbman

[PATCH v2 2/2] drivers: replace printf with fprintf for debug functions

2024-07-02 Thread Hemant Agrawal
This patch replaces simple printf with fprintf for debug dump related functions for various NXP dpaaX related drivers. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/netcfg_layer.c | 22 +++ drivers/bus/dpaa/dpaa_bus.c | 2 +- drivers/bus/dpaa/include

Re: [PATCH v1 1/2] bbdev: add new function to dump debug information

2024-07-02 Thread Hemant Agrawal
Hi Nicolas,     Few comments inline. On 02-07-2024 04:04, Nicolas Chautru wrote: This provides a new API to dump more debug information related to the status on a given bbdev queue. Some of this information is visible at bbdev level. This also provides a new option dev op, to print more informa

[PATCH v3 1/3] drivers: replace printf with log macros

2024-07-02 Thread Hemant Agrawal
This patch replaces the printf with related log macros and functions at various places in NXP dpaaX drivers. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 6 ++ drivers/bus/dpaa/base/qbman/process.c | 29 +- drivers/bus/dpaa/base/qbman

[PATCH v3 2/3] bus/dpaa: remove double newline

2024-07-02 Thread Hemant Agrawal
Remove duplicate newline `\n` from the debugging macros to avoid double `\n\n`. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 58 +++ drivers/bus/dpaa/dpaa_bus.c | 12 +++ 2 files changed, 34 insertions(+), 36 deletions(-) diff

[PATCH v3 3/3] drivers: replace printf with fprintf for debug functions

2024-07-02 Thread Hemant Agrawal
This patch replaces simple printf with fprintf for debug dump related functions for various NXP dpaaX related drivers. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/netcfg_layer.c | 22 +++ drivers/bus/dpaa/dpaa_bus.c | 2 +- drivers/bus/dpaa/include

Re: [PATCH v2 2/2] drivers: replace printf with fprintf for debug functions

2024-07-02 Thread Hemant Agrawal
On 02-07-2024 20:41, Stephen Hemminger wrote: On Tue, 2 Jul 2024 16:10:13 +0530 Hemant Agrawal wrote: - printf("\n JD before conversion\n"); + fprintf(stdout, "\n JD before conversion\n"); for (i = 0; i < 12; i++) - printf("\n

Re: [PATCH v1 1/2] bbdev: add new function to dump debug information

2024-07-02 Thread Hemant Agrawal
On 03-07-2024 00:25, Chautru, Nicolas wrote: Hi Hemant, -Original Message- From: Hemant Agrawal Sent: Tuesday, July 2, 2024 3:54 AM To: Chautru, Nicolas ; dev@dpdk.org; maxime.coque...@redhat.com Cc: hemant.agra...@nxp.com; Marchand, David ; Vargas, Hernan Subject: Re: [PATCH v1 1

Re: [PATCH 1/2] app/proc-info: add memory heap dump

2024-07-03 Thread Hemant Agrawal
On 02-07-2024 18:44, Gagandeep Singh wrote: This patch add the heap dump support in proc-info memory dump option. Signed-off-by: Gagandeep Singh --- app/proc-info/main.c | 5 + 1 file changed, 5 insertions(+) Acked-by: Hemant Agrawal

Re: [PATCH v3 1/3] drivers: replace printf with log macros

2024-07-03 Thread Hemant Agrawal
Hi David On 03-07-2024 16:11, David Marchand wrote: Hello Hemant, On Tue, Jul 2, 2024 at 3:09 PM Hemant Agrawal wrote: [snip] diff --git a/drivers/crypto/caam_jr/caam_jr.c b/drivers/crypto/caam_jr/caam_jr.c index 0fa70c978f..fb9ac9cb30 100644 --- a/drivers/crypto/caam_jr/caam_jr.c +++ b

[PATCH v4 1/3] drivers: replace printf with log macros

2024-07-03 Thread Hemant Agrawal
This patch replaces the printf with related log macros and functions at various places in NXP dpaaX drivers. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 6 ++ drivers/bus/dpaa/base/qbman/process.c | 29 +- drivers/bus/dpaa/base/qbman

[PATCH v4 2/3] drivers: dpaa: remove double newline

2024-07-03 Thread Hemant Agrawal
Remove duplicate newline `\n` from the debugging macros to avoid double `\n\n`. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 58 ++--- drivers/bus/dpaa/dpaa_bus.c | 12 +++--- drivers/event/dpaa/dpaa_eventdev.c | 20 +- drivers

[PATCH v4 3/3] drivers: replace printf with fprintf for debug functions

2024-07-03 Thread Hemant Agrawal
This patch replaces simple printf with fprintf for debug dump related functions for various NXP dpaaX related drivers. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/netcfg_layer.c | 22 +++ drivers/bus/dpaa/dpaa_bus.c | 2 +- drivers/bus/dpaa/include

Re: [PATCH 07/15] net/ena/base: update copyrights comments

2024-07-07 Thread Hemant Agrawal
e.g. 2015-2020, 2024 or 2015-2024 -Hemant

Re: [PATCH v2 0/5] bbdev: API extension for 23.11

2023-07-18 Thread Hemant Agrawal
Series- Acked-by: Hemant Agrawal On 15-Jun-23 10:18 PM, Nicolas Chautru wrote: Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button v2: moving the new mld functi

Re: [PATCH] bus/dpaa: fix outside array bounds error with GCC v13

2023-07-21 Thread Hemant Agrawal
Acked-by: Hemant Agrawal On 21-Jul-23 10:58 AM, Gagandeep Singh wrote: Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button when RTE_ENABLE_ASSERT is enable, DPAA

RE: [PATCH] rawdev: fix device naming

2023-07-24 Thread Hemant Agrawal
Acked-by: Hemant Agrawal > -Original Message- > From: Tomasz Duszynski > Sent: Monday, July 24, 2023 7:07 PM > To: dev@dpdk.org; Sachin Saxena ; Hemant > Agrawal ; Shreyansh Jain > > Cc: jer...@marvell.com; tho...@monjalon.net; Tomasz Duszynski > ; sta...@dp

RE: [PATCH] doc: announce deprecation of RTE_CPUFLAG_NUMFLAGS

2023-07-25 Thread Hemant Agrawal
xxx: These APIs do not take memory order parameter. > This does > > > >not allow for writing optimized code for all the CPU architectures > supported > > > >in DPDK. DPDK has adopted the atomic operations from > > > > > > +techboard, > > > > > > Request for review/ack, patch is to remove ABI restriction to add > > > new CPU flags. > > > > Acked-by: Tyler Retzlaff > > Acked-by: Jerin Jacob Acked-by: Hemant Agrawal

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