[PATCH v5 10/11] common/idpf/base: remove unused Tx descriptor types

2023-09-19 Thread Simei Su
Remove the unused TX descriptor types and mark them as reserved. Signed-off-by: Pavan Kumar Linga Signed-off-by: Simei Su Acked-by: Beilei Xing --- drivers/common/idpf/base/idpf_lan_txrx.h | 136 ++- 1 file changed, 12 insertions(+), 124 deletions(-) diff --git a/drivers/c

[PATCH v5 11/11] common/idpf/base: update version

2023-09-19 Thread Simei Su
Update README Signed-off-by: Simei Su Acked-by: Beilei Xing --- drivers/common/idpf/base/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/idpf/base/README b/drivers/common/idpf/base/README index 693049c057..ff26f736ec 100644 --- a/drivers/common/idpf/bas

[PATCH v5 09/11] common/idpf/base: use GENMASK macro

2023-09-19 Thread Simei Su
Instead of using a custom defined macro for generating a mask, use the standard GENMASK macro. Signed-off-by: Pavan Kumar Linga Signed-off-by: Simei Su Acked-by: Beilei Xing --- drivers/common/idpf/base/idpf_lan_pf_regs.h | 26 ++--- drivers/common/idpf/base/idpf_lan_txrx.h| 116 +

[PATCH v5 08/11] common/idpf/base: refine code and alignments

2023-09-19 Thread Simei Su
a) Refine double pointer with a local pointer. b) Refine return type for function instead of only returning success. c) Remove unnecessary check and comments. d) Use tab spaces and new lines wherever necessary. Signed-off-by: Pavan Kumar Linga Signed-off-by: Simei Su Acked-by: Beilei Xing ---

[PATCH v5 07/11] common/idpf/base: add union for SW cookie fields

2023-09-19 Thread Simei Su
Instead of using something like a byte offset, we can add a union to the struct to enable direct addressing. Signed-off-by: Alan Brady Signed-off-by: Simei Su Acked-by: Beilei Xing --- .mailmap | 1 + drivers/common/idpf/base/idpf_controlq_api.h | 5 + 2

[PATCH v5 06/11] common/idpf/base: refine structure and necessary check

2023-09-19 Thread Simei Su
a) Refine queue chunk and vector chunk structures. b) Add non_flex prefix to distinguish the flex array definitions. c) Add some specific fields. d) Refine condition check. Signed-off-by: Shailendra Bhatnagar Signed-off-by: Julianx Grajkowski Signed-off-by: Simei Su Acked-by: Beilei Xing ---

[PATCH v5 05/11] common/idpf/base: remove mailbox registers

2023-09-19 Thread Simei Su
Remove mailbox register offsets because individual drivers will define the offsets based on how registers address the registers. Signed-off-by: Madhu Chittim Signed-off-by: Simei Su Acked-by: Beilei Xing --- .mailmap | 1 + drivers/common/idpf/base/siov_regs.h | 13

[PATCH v5 04/11] common/idpf/base: initialize PTP support

2023-09-19 Thread Simei Su
Add a few PTP capabilities to determine which PTP features are enabled including legacy cross time, ptm, device clock control, PTP Tx timestamp with direct registers access and PTP Tx timestamp with virtchnl messages. Also create opcodes and structures to support feautres introduced by capabilities

[PATCH v5 03/11] common/idpf/base: add miss completion capabilities

2023-09-19 Thread Simei Su
Add miss completion tag in other capability flags to indicate support for detecting a miss completion based on the upper bit of the completion tag. Signed-off-by: Josh Hay Signed-off-by: Simei Su Acked-by: Beilei Xing --- .mailmap | 1 + drivers/common/idpf/base/vir

[PATCH v5 02/11] common/idpf/base: enable support for physical port stats

2023-09-19 Thread Simei Su
Add support to indicate physical port representor and query its statistics. Signed-off-by: Zhenning Xiao Signed-off-by: Jayaprakash Shanmugam Signed-off-by: Simei Su Acked-by: Beilei Xing --- .mailmap | 2 + drivers/common/idpf/base/virtchnl2.h | 80 ++

[PATCH v5 01/11] common/idpf: refactor single queue Tx data path

2023-09-19 Thread Simei Su
Currently, single queue Tx data path uses flex Tx data descriptor(DTYPE3) which is removed in the latest idpf spec. This patch replaces flex Tx data descriptor with base Tx data descriptor for single queue Tx data path and refines Tx single queue setup to align with Tx data path. Signed-off-by: Si

[PATCH v5 00/11] update idpf base code

2023-09-19 Thread Simei Su
Currently, single queue Tx data path uses flex Tx data descriptor(DTYPE3) which is removed in the latest idpf spec. [PATCH v5 01/11] replaces flex Tx data descriptor with base Tx data descriptor for single queue Tx data path and refines Tx single queue setup to align with Tx data path. [PATCH v5 0

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-19 Thread Stanisław Kardach
On Tue, Sep 19, 2023 at 4:47 PM David Marchand wrote: > > Also I see you're still removing the RTE_CPUFLAG_NUMFLAGS (what I call a last element canary). Why? If you're concerned with ABI, then we're talking about an application linking dynamically with DPDK or talking via some RPC channel with an

RE: [EXT] [PATCH v4 0/2] crypto/scheduler: add support for DOCSIS security protocol

2023-09-19 Thread Anoob Joseph
> > -- > This patchset adds support to the cryptodev scheduler PMD and unit tests > for the DOCSIS security protocol. Support for other stateless security > protocols can be added in the future as required with relative ease now t

Re: [PATCH v4 01/14] app/graph: add application framework to read CLI

2023-09-19 Thread Jerin Jacob
On Tue, Sep 19, 2023 at 9:35 PM wrote: > > From: Sunil Kumar Kori > > It adds base framework to read a given .cli file as a command line > parameter "-s". > > Example: > # ./dpdk-graph -c 0xff -- -s ./app/graph/examples/dummy.cli > > Each .cli file will contain commands to configure different mo

Re: [PATCH v4 02/14] app/graph: add telnet connectivity framework

2023-09-19 Thread Jerin Jacob
On Tue, Sep 19, 2023 at 9:35 PM wrote: > > From: Sunil Kumar Kori > > It adds framework to initate a telnet session with application. > > Some configurations and debug commands are exposed as runtime APIs. > Those commands can be invoked using telnet session. > > Application initiates a telnet se

Re: [PATCH v4 13/14] doc: add graph application user guide

2023-09-19 Thread Jerin Jacob
On Wed, Sep 20, 2023 at 6:31 AM wrote: > > From: Rakesh Kudurumalla > > It adds application user guide with detailed infomration about > application's parameter, exposed commands by each module etc. > > Signed-off-by: Sunil Kumar Kori > Signed-off-by: Rakesh Kudurumalla > --- > doc/guides/tool

Re: [PATCH v2 1/3] eventdev: introduce link profiles

2023-09-19 Thread Jerin Jacob
On Fri, Sep 1, 2023 at 3:10 AM wrote: > > From: Pavan Nikhilesh > > A collection of event queues linked to an event port can be > associated with a unique identifier called as a profile, multiple > such profiles can be created based on the event device capability > using the function `rte_event_p

Re: [PATCH v7 2/2] dma/cnxk: rewrite DMA fastpath

2023-09-19 Thread Jerin Jacob
On Sat, Sep 9, 2023 at 11:26 PM wrote: > > From: Pavan Nikhilesh > > Rewrite DMA fastpath to use NEON instructions and reduce number > of words read from config. > > Signed-off-by: Pavan Nikhilesh Series applied to dpdk-next-net-mrvl/for-next-net. Thanks.

Re: [PATCH] common/cnxk: remove dead meson code

2023-09-19 Thread Jerin Jacob
On Wed, Sep 13, 2023 at 7:33 PM David Marchand wrote: > > config_flag_fmt was used in the past and was dropped with commit > 762bfccc8abf ("config: remove compatibility build defines"). > > Fixes: fa8f86a14e2e ("common/cnxk: add build infrastructre and HW definition") > Cc: sta...@dpdk.org > > Sig

Re: [dpdk-dev] [PATCH 1/2] common/cnxk: limit RSS key config with RTE Flow operations

2023-09-19 Thread Jerin Jacob
On Mon, Sep 4, 2023 at 4:27 PM wrote: > > From: Kiran Kumar K > > Limit the configuring RSS key with RTE Flow operations for cnxk > device. Key can be update only with dev operations using > rte_eth_dev_rss_hash_update. > > Signed-off-by: Kiran Kumar K > Reviewed-by: Jerin Jacob Updated the gi

RE: [PATCH 1/1] net/mana: add 32 bit short doorbell

2023-09-19 Thread Wei Hu
> -Original Message- > From: Ferruh Yigit > > > > 32bit applications cannot use 64bit doorbells. 64bit applications can > > use 32bit doorbells, however the performance would suffer and it definitely > not recommended. > > > > OK, can you please add this detail to the commit log? > Wil

RE: [PATCH v2 1/1] net/mana: enable 32 bit build for mana driver

2023-09-19 Thread Wei Hu
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, September 19, 2023 7:05 PM > To: Wei Hu ; dev@dpdk.org; Long Li > > Cc: sta...@dpdk.org; Kevin Traynor ; Luca Boccassi > > Subject: Re: [PATCH v2 1/1] net/mana: enable 32 bit build for mana driver > > On 9/19/2023 3:44 AM, Wei H

[PATCH] maintainers: update email address for Cheng Jiang

2023-09-19 Thread Cheng Jiamg
From: Cheng Jiang Update the email address for Cheng Jiang as I am leaving Intel. Signed-off-by: Cheng Jiang --- .mailmap| 2 +- MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.mailmap b/.mailmap index 864d33ee46..cfe4317cf4 100644 --- a/.mailmap +++ b/.

RE: [PATCH v5 00/26] refact the nfpcore module

2023-09-19 Thread Chaoyong He
> On 9/19/2023 10:54 AM, Chaoyong He wrote: > > This patch series aims to: > > - Make the coding style satisfy with DPDK. > > - Sync the logic with kernel driver. > > - Make the sub-module more modular. > > - Extend the nfp configure BAR from 8 to 24. > > > > --- > > v5: > > * Fix one bug in the lo

[PATCH v5 26/26] net/nfp: extend the usage of nfp BAR from 8 to 24

2023-09-19 Thread Chaoyong He
Sync the logic from kernel driver, adjust the definition of structure, and extend the usage of nfp BAR from 8 to 24. This will greatly enhance the scalability of nfp PMD. Signed-off-by: Chaoyong He --- drivers/net/nfp/nfp_ethdev.c | 8 +- drivers/net/nfp/nfpcore/nfp6000_pcie.c | 477

[PATCH v5 25/26] net/nfp: refact the cppcore and PCIe module

2023-09-19 Thread Chaoyong He
Sync the logic from kernel driver, use the new entry function from the PCIe module instead of the cppcore module. Signed-off-by: Chaoyong He --- drivers/net/nfp/nfp_ethdev.c | 9 +- drivers/net/nfp/nfpcore/nfp6000_pcie.c | 197 ++--- drivers/net/nfp/nfpcore/nfp600

Reminder - DPDK Techboard Meeting - Tomorrow Wed. 9/20/23 - 8am Pacific/11am Eastern

2023-09-19 Thread Nathan Southern
Good evening DPDK Community, Tomorrow morning 8am Pacific/11am Eastern is our next Tech Board meeting. A read only copy of the agenda can be accessed here: https://annuel.framapad.org/p/r.0c3cc4d1e011214183872a98f6b5c7db And zoom link to follow. Again please use the community join option to joi

Re: [PATCH 1/1] net/sfc: add missing error code indication to MAE init path

2023-09-19 Thread Ferruh Yigit
On 8/10/2023 6:36 PM, Ivan Malov wrote: > A failure to allocate a bounce buffer for encap. header > parsing results in falling to the error path but does > not set an appropriate error code. Fix this. > > Fixes: 1bbd1ec2348a ("net/sfc: support action VXLAN encap in MAE backend") > Cc: sta...@dpdk.

Re: [PATCH v5 00/26] refact the nfpcore module

2023-09-19 Thread Ferruh Yigit
On 9/19/2023 10:54 AM, Chaoyong He wrote: > This patch series aims to: > - Make the coding style satisfy with DPDK. > - Sync the logic with kernel driver. > - Make the sub-module more modular. > - Extend the nfp configure BAR from 8 to 24. > > --- > v5: > * Fix one bug in the logic of VF using dev

RE: [PATCH v1 1/7] bbdev: add FFT version member in driver info

2023-09-19 Thread Chautru, Nicolas
Hi Maxime, This is neither part of 3GPP per se, nor specific to VRB device. Let me provide more context. The SRS processing chain (https://doc.dpdk.org/guides/prog_guide/bbdev.html#bbdev-fft-operation) includes a pointwise multiplication by time window. The generic API include some control o

RE: [PATCH v1 3/7] baseband/acc: remove the 4G SO capability for VRB1

2023-09-19 Thread Chautru, Nicolas
Hi David, > -Original Message- > From: David Marchand > Sent: Tuesday, September 19, 2023 8:20 AM > To: Chautru, Nicolas > Cc: dev@dpdk.org; maxime.coque...@redhat.com; > hemant.agra...@nxp.com; Vargas, Hernan > Subject: Re: [PATCH v1 3/7] baseband/acc: remove the 4G SO capability for

RE: [PATCH 1/3] security: introduce out of place support for inline ingress

2023-09-19 Thread Akhil Goyal
> Subject: [PATCH 1/3] security: introduce out of place support for inline > ingress > > Similar to out of place(OOP) processing support that exists for > Lookaside crypto/security sessions, Inline ingress security > sessions may also need out of place processing in usecases > where original encr

RE: [PATCH v1] app/test: typo correction in Asym tests

2023-09-19 Thread Akhil Goyal
> > Subject: [PATCH v1] app/test: typo correction in Asym tests Title updated to "test/crypto: fix typo in asym tests" > > > > test_dh_keygenration() changed to test_dh_key_generation() > > > > Fixes: fc6c9066e40d ("test/crypto: add DH and DSA tests") > > Fixes: da74df7d38c0 ("test/crypto: move te

RE: [PATCH v2] drivers/crypto: cipher buffer alignment check

2023-09-19 Thread Akhil Goyal
> Subject: [EXT] RE: [PATCH v2] drivers/crypto: cipher buffer alignment check > Title should be " crypto/qat: check cipher buffer alignment " > > > -Original Message- > > From: Sivaramakrishnan VenkatX > > Sent: Tuesday, September 5, 2023 12:21 PM > > To: Ji, Kai > > Cc: dev@dpdk.org;

RE: [PATCH v2] app/test: add external mbuf IPsec tests

2023-09-19 Thread Akhil Goyal
> Subject: [PATCH v2] app/test: add external mbuf IPsec tests > > Adding IPsec tests using external mbuf API. > > Signed-off-by: Tejasree Kondoj > --- > v2: > - Fixed compilation with ubuntu-20.04-gcc-static-i386. Please rebase and fix compilation. In file included from ../app/test/test_cryptod

RE: [PATCH 1/1] net/mana: add 32 bit short doorbell

2023-09-19 Thread Long Li
> > > +#ifdef RTE_ARCH_32 > > > + uint16_t cqe_incr = (uint16_t)rxq->gdma_cq.head_incr_to_short_db; > > > > How do you make sure head_incr_to_short_db doesn't overflow? > > > > I have checked this with hardware team. In my opinion it would be easily > overflown. > The hw team seems suggesting the

RE: [EXT] [PATCH] test/crypto: fix return value for GMAC testcase

2023-09-19 Thread Akhil Goyal
> create_gmac_session is already converting the return value > of NOTSUPP to TEST_SKIPPED > > Fixes: bdce2564dbf7 ("cryptodev: rework session framework") > Cc: gak...@marvell.com > Cc: sta...@dpdk.org > > Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.

RE: [PATCH 1/3] pdcp: add support for SDAP header

2023-09-19 Thread Akhil Goyal
> Subject: [PATCH 1/3] pdcp: add support for SDAP header > > SDAP header when enabled needs to be authenticated but not encrypted. > > Signed-off-by: Aakash Sasidharan > --- Series Acked-by: Akhil Goyal Applied to dpdk-next-crypto.

RE: [PATCH] examples/ipsec-secgw: add security capabilities mapping

2023-09-19 Thread Akhil Goyal
> Subject: [PATCH] examples/ipsec-secgw: add security capabilities mapping > > Currently the cryptodev queue pair mapping was done only > on lookaside crypto capabilities. > But device capabilities for lookaside crypto and > lookaside proto may be different. > Hence, mappings are also added for rt

RE: [PATCH v2 0/3] MACsec capability verification

2023-09-19 Thread Akhil Goyal
> Subject: [PATCH v2 0/3] MACsec capability verification > > Changes in v2: Fixed clang build issue in 3/3 patch. > > Ankur Dwivedi (3): > security: add MACsec algo in capability index > net/cnxk: add MACsec capability > test/security: add capability verification for MACsec > > app/test/t

RE: [EXT] Re: [PATCH] test/security: fix buffer leaks in error path

2023-09-19 Thread Akhil Goyal
> On Tue, 22 Aug 2023 23:03:16 +0530 > Akhil Goyal wrote: > > > diff --git a/app/test/test_security_inline_macsec.c > b/app/test/test_security_inline_macsec.c > > index 20670fe5d2..8b57bc51fb 100644 > > --- a/app/test/test_security_inline_macsec.c > > +++ b/app/test/test_security_inline_macsec.c

[PATCH v1 1/1] baseband/acc: fix ACC100 HARQ input is alignment

2023-09-19 Thread Hernan Vargas
Some constraints are imposed onto the ACC100 HARQ input size, but that value is incorrectly aligned down when getting close to max (Ncb-F) which is not required. The wireless performance impact is negligeable but still causes a few LLRs no to be combined at the very end of the circular buffer. Fix

[PATCH v1 0/1] baseband/acc: fix for 23.11

2023-09-19 Thread Hernan Vargas
Fix ACC100 HARQ input alignment. Hernan Vargas (1): baseband/acc: fix ACC100 HARQ input is alignment drivers/baseband/acc/rte_acc100_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.37.1

Re: [PATCH 2/2] common/cnxk: split XAQ counts

2023-09-19 Thread Jerin Jacob
On Sun, Sep 10, 2023 at 1:46 PM wrote: > > From: Pavan Nikhilesh > > Split XAQ counts into reserved and cached to allow more events > to be inflight. > > Signed-off-by: Pavan Nikhilesh Updated the git commit as follows and applied to dpdk-next-net-eventdev/for-main. Thanks commit e227b98adbb

Re: [PATCH] eventdev/eth_rx: fix timestamp field register in mbuf

2023-09-19 Thread Jerin Jacob
On Mon, Sep 18, 2023 at 6:46 PM Rahul Bhansali wrote: > > For eventdev internal port, timestamp dynamic field registration > in mbuf is not required as that will be done from net device. > For SW eventdev, Rx timestamp field registration will be > done during Rx queue add operation as per device c

Re: [PATCH 3/3] common/cnxk: use local labels in asm intrinsic

2023-09-19 Thread Jerin Jacob
On Tue, Sep 5, 2023 at 10:25 PM wrote: > > From: Pavan Nikhilesh > > Using labels in asm generates them as regular function and shades > callstack in tools like gdb or perf. > Use local label instead for better visibility. > > Signed-off-by: Pavan Nikhilesh Series applied to dpdk-next-net-event

[PATCH v4 14/14] maintainers: add maintainers for graph app

2023-09-19 Thread skori
From: Sunil Kumar Kori Add Sunil Kumar Kori and Rakesh Kudurumalla as maintainers for graph application. Signed-off-by: Sunil Kumar Kori --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 698608cdb2..7f149bd060 100644 --- a/MAINTAINERS ++

[PATCH v4 10/14] app/graph: add graph command line interfaces

2023-09-19 Thread skori
From: Rakesh Kudurumalla It adds graph module to create a graph for a given usecase like l3fwd. Following commands are exposed: - graph [bsz ] [tmo ] [coremask ] \ model - graph start - graph stats show - help graph Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumall

[PATCH v4 12/14] app/graph: add l3fwd usecase

2023-09-19 Thread skori
From: Rakesh Kudurumalla It adds an usecase l3fwd. It contains a dedicated l3fwd.cli file mentioning commands to configure the required resources. Once application successfully parses the l3fwd.cli then a graph is created having below nodes: - ethdev_rx -> pkt_cls - pkt_cls -> ip4_lookup - p

[PATCH v4 13/14] doc: add graph application user guide

2023-09-19 Thread skori
From: Rakesh Kudurumalla It adds application user guide with detailed infomration about application's parameter, exposed commands by each module etc. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- doc/guides/tools/graph.rst | 240 +++ d

[PATCH v4 09/14] app/graph: add ethdev_rx command line interfaces

2023-09-19 Thread skori
From: Rakesh Kudurumalla It adds ethdev_rx module to create port-queue-core mapping. Mapping will be used to launch graph worker thread and dequeue packets on mentioned core from desired port/queue. Following commands are exposed: - ethdev_rx map port queue core - help ethdev_rx Signed-of

[PATCH v4 08/14] app/graph: add neigh command line interfaces

2023-09-19 Thread skori
From: Sunil Kumar Kori It adds neigh module to configure arp/neigh. This module uses ipv4_rewrite and ipv6_rewrite node to write neigh information. Following commands are exposed: - neigh add ipv4 - neigh add ipv6 - help neigh Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kuduru

[PATCH v4 07/14] app/graph: add ipv6_lookup command line interfaces

2023-09-19 Thread skori
From: Rakesh Kudurumalla It adds ipv6_lookup module to configure LPM6 table. This LPM6 table will be used for IPv6 lookup and forwarding. Following commands are exposed: - ipv6_lookup route add ipv6 netmask via - help ipv6_lookup Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudur

[PATCH v4 11/14] app/graph: add CLI option to enable graph stats

2023-09-19 Thread skori
From: Sunil Kumar Kori It adds application's command line parameter "--enable-graph-stats" to enable dumping graph stats on console. By default, no graph stats will be printed on console but same can be dumped via telnet session using "graph stats show" command. Signed-off-by: Sunil Kumar Kori

[PATCH v4 06/14] app/graph: add ipv4_lookup command line interfaces

2023-09-19 Thread skori
From: Sunil Kumar Kori It adds ipv4_lookup module to configure LPM table. This LPM table will be used for IPv4 lookup and forwarding. Following commands are exposed: - ipv4_lookup route add ipv4 netmask via - help ipv4_lookup Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumal

[PATCH v4 05/14] app/graph: add ethdev command line interfaces

2023-09-19 Thread skori
From: Sunil Kumar Kori It adds ethdev module to configure ethernet devices. Following commands are exposed: - ethdev rxq txq - ethdev mtu - ethdev promiscuous - ethdev show - ethdev stats - ethdev ip4 addr add netmask - ethdev ip6 addr add netmask - help ethdev Signed-of

[PATCH v4 04/14] app/graph: add mempool command line interfaces

2023-09-19 Thread skori
From: Rakesh Kudurumalla It adds mempool module which will be creating mempools. Following commands are exposed: - mempool size buffers \ cache numa - help mempool User will add this command in .cli file according to its need. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rake

[PATCH v4 03/14] app/graph: add parser utility APIs

2023-09-19 Thread skori
From: Sunil Kumar Kori It adds some helper functions to parse IPv4, IPv6 and MAC addresses string into respective datatype. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- app/graph/meson.build | 1 + app/graph/module_api.h | 1 + app/graph/utils.c | 156 ++

[PATCH v4 02/14] app/graph: add telnet connectivity framework

2023-09-19 Thread skori
From: Sunil Kumar Kori It adds framework to initate a telnet session with application. Some configurations and debug commands are exposed as runtime APIs. Those commands can be invoked using telnet session. Application initiates a telnet server with host address 0.0.0.0 and port number 8086 by

[PATCH v4 01/14] app/graph: add application framework to read CLI

2023-09-19 Thread skori
From: Sunil Kumar Kori It adds base framework to read a given .cli file as a command line parameter "-s". Example: # ./dpdk-graph -c 0xff -- -s ./app/graph/examples/dummy.cli Each .cli file will contain commands to configure different module like mempool, ethdev, lookup tables, graph etc. Comm

Re: [PATCH 1/2] build: fail if explicitly requested lib is unbuildable

2023-09-19 Thread Bruce Richardson
Recheck-request: iol-unit-arm64-testing, iol-intel-Performance I'm informed now that there were infra issues which should now have been fixed, so requesting a second re-check. /Bruce On Fri, Sep 01, 2023 at 03:23:31PM +0100, Bruce Richardson wrote: > When the user passes a list of desired librari

Re: [PATCH v5 00/32] Introduce sssnic PMD for 3SNIC's 9x0 serials Ethernet adapters

2023-09-19 Thread Stephen Hemminger
On Mon, 4 Sep 2023 12:56:26 +0800 wrote: > From: Renyong Wan > > The sssnic PMD (**librte_pmd_sssnic**) provides poll mode driver support > for 3SNIC 9x0 serials family of Ethernet adapters. > > Supported NICs are: > > - 3S910 Dual Port SFP28 10/25GbE Ethernet adapter > - 3S920 Quad Port SFP2

Re: [PATCH v1 3/7] baseband/acc: remove the 4G SO capability for VRB1

2023-09-19 Thread David Marchand
On Tue, Sep 19, 2023 at 3:25 AM Nicolas Chautru wrote: > > This removes the specific capability and support of LTE Decoder > Soft Output option on the VRB1 PMD. Please explain why such support is removed for this hw. > > Signed-off-by: Nicolas Chautru > --- > drivers/baseband/acc/rte_vrb_pmd.

DPDK 22.11.3 released

2023-09-19 Thread Xueming Li
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-22.11.3.tar.xz The git tree is at: https://git.dpdk.org/dpdk-stable/log/?h=22.11 Xueming Li --- .github/workflows/build.yml| 3 +- .mailmap

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-19 Thread David Marchand
Hello, On Tue, Aug 15, 2023 at 8:10 AM Stanisław Kardach wrote: > On Fri, Aug 11, 2023, 08:08 Sivaprasad Tummala > wrote: >> diff --git a/lib/eal/arm/include/rte_cpuflags_32.h >> b/lib/eal/arm/include/rte_cpuflags_32.h >> index 4e254428a2..41ab0d5f21 100644 >> --- a/lib/eal/arm/include/rte_cpu

RE: [PATCH v2] drivers/crypto: cipher buffer alignment check

2023-09-19 Thread Power, Ciara
Hi Venkat, > -Original Message- > From: Sivaramakrishnan VenkatX > Sent: Tuesday, September 5, 2023 12:21 PM > To: Ji, Kai > Cc: dev@dpdk.org; Sivaramakrishnan, VenkatX > > Subject: [PATCH v2] drivers/crypto: cipher buffer alignment check > > Cipher length alignment checked for 3DES-CB

RE: [EXT] [PATCH v3 1/2] crypto/scheduler: support DOCSIS security protocol

2023-09-19 Thread Coyle, David
Hi Anoob, Thank you for the comments. See inline below for replies. Regards, David > -Original Message- > From: Anoob Joseph > Sent: Monday, September 18, 2023 12:03 PM > To: Coyle, David > Cc: Ji, Kai ; O'Sullivan, Kevin ; > dev@dpdk.org; Jerin Jacob Kollanukkaran > Subject: RE: [EXT

[PATCH v4 2/2] test/crypto: add DOCSIS security tests for cryptodev scheduler

2023-09-19 Thread David Coyle
Add DOCSIS security test cases to the cryptodev scheduler test suite. Signed-off-by: David Coyle Signed-off-by: Kevin O'Sullivan --- app/test/test_cryptodev.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c i

[PATCH v4 1/2] crypto/scheduler: support DOCSIS security protocol

2023-09-19 Thread David Coyle
Add support to the cryptodev scheduler PMD for the DOCSIS security protocol. This includes adding the following to the scheduler: - synchronization of worker's security capabilities - retrieval of the scheduler's synchronized security capabilities - retrieval of the security session size i.e. maxim

[PATCH v4 0/2] crypto/scheduler: add support for DOCSIS security protocol

2023-09-19 Thread David Coyle
This patchset adds support to the cryptodev scheduler PMD and unit tests for the DOCSIS security protocol. Support for other stateless security protocols can be added in the future as required with relative ease now that the framework is in place. v4: * Address review comments from Anoob * Remov

Re: [PATCH] event/sw: remove obsolete comment

2023-09-19 Thread Jerin Jacob
On Fri, Sep 15, 2023 at 8:43 PM Stephen Hemminger wrote: > > On Thu, 14 Sep 2023 10:37:51 +0100 > Bruce Richardson wrote: > > > Code that the comment refers to was previously removed, but the > > comment remained. > > > > Fixes: dca926ca9faa ("event/sw: use dynamically-sized IQs") > > Cc: sta...@

[PATCH 1/2] net/iavf: fix TSO with big segments

2023-09-19 Thread David Marchand
Packets to be segmented with TSO are usually larger than MTU. Plus, a single segment for the whole packet may be used: in OVS case, an external rte_malloc'd buffer is used for packets received from vhost-user ports. Before this fix, TSO packets were dropped by net/iavf with the following message:

[PATCH 2/2] net/ice: fix TSO with big segments

2023-09-19 Thread David Marchand
Packets to be segmented with TSO are usually larger than MTU. Plus, a single segment for the whole packet may be used: in OVS case, an external rte_malloc'd buffer is used for packets received from vhost-user ports. Before this fix, TSO packets were dropped by net/ice with the following message: 2

[PATCH v2 3/3] test/security: add capability verification for MACsec

2023-09-19 Thread Akhil Goyal
From: Ankur Dwivedi Before running each MACsec test, the device capability is read. The capability is then verified to check if the device supports a feature or not. If the feature is not supported the test is skipped. Signed-off-by: Ankur Dwivedi Signed-off-by: Akhil Goyal --- app/test/test_

[PATCH v2 2/3] net/cnxk: add MACsec capability

2023-09-19 Thread Akhil Goyal
From: Ankur Dwivedi Adds the MACsec capability for CN10K-B. The ethernet security capability structure is populated based on the feature supported by the device. Signed-off-by: Ankur Dwivedi Acked-by: Akhil Goyal --- drivers/common/cnxk/roc_features.h | 6 ++ drivers/common/cnxk/roc_mcs.h

[PATCH v2 1/3] security: add MACsec algo in capability index

2023-09-19 Thread Akhil Goyal
From: Ankur Dwivedi This patch adds the MACsec algorithm field in security capability index structure. This field is compared against the MACsec alg to return the correct capability. Signed-off-by: Ankur Dwivedi Acked-by: Akhil Goyal --- lib/security/rte_security.c | 4 lib/security/rte_

[PATCH v2 0/3] MACsec capability verification

2023-09-19 Thread Akhil Goyal
Changes in v2: Fixed clang build issue in 3/3 patch. Ankur Dwivedi (3): security: add MACsec algo in capability index net/cnxk: add MACsec capability test/security: add capability verification for MACsec app/test/test_security_inline_macsec.c | 373 - drivers/common

RE: [ADDENDUM] Technical board meeting agenda for 2023-09-20

2023-09-19 Thread Morten Brørup
> From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Tuesday, 19 September 2023 11.51 > > Dear community, > > One topic was missed to be added to tomorrow's meeting agenda: > > On 9/18/23 22:20, Maxime Coquelin wrote: > > Dear DPDK community, > > > > Following topics are planned t

[PATCH v1 7/7] event/cnxk: support DMA event functions

2023-09-19 Thread Amit Prakash Shukla
Added support of dma driver callback assignment to eventdev enqueue and dequeue. The change also defines dma adapter capabilities function. Signed-off-by: Amit Prakash Shukla --- drivers/event/cnxk/cn10k_eventdev.c | 20 drivers/event/cnxk/cn10k_worker.h | 3 +++ drivers/

[PATCH v1 6/7] dma/cnxk: support for DMA event enqueue dequeue

2023-09-19 Thread Amit Prakash Shukla
Added cnxk driver support for dma event enqueue and dequeue. Signed-off-by: Amit Prakash Shukla --- drivers/dma/cnxk/cnxk_dma_event_dp.h | 22 +++ drivers/dma/cnxk/cnxk_dmadev.h | 9 +- drivers/dma/cnxk/cnxk_dmadev_fp.c| 209 +++ drivers/dma/cnxk/meson.build

[PATCH v1 5/7] common/cnxk: dma result to an offset of the event

2023-09-19 Thread Amit Prakash Shukla
Adds support to configure writing result to offset of the DMA response event. Signed-off-by: Amit Prakash Shukla --- drivers/common/cnxk/roc_dpi.c | 5 - drivers/common/cnxk/roc_dpi.h | 2 +- drivers/common/cnxk/roc_dpi_priv.h | 4 drivers/common/cnxk/roc_idev.c | 2

[PATCH v1 4/7] app/test: add event DMA adapter auto-test

2023-09-19 Thread Amit Prakash Shukla
Added testsuite to test the dma adapter functionality. The testsuite detects event and DMA device capability and accordingly dma adapter is configured and modes are tested. Signed-off-by: Amit Prakash Shukla --- app/test/meson.build | 1 + app/test/test_event_dma_adapter.c | 814 +

[PATCH v1 3/7] eventdev: add DMA adapter implementation

2023-09-19 Thread Amit Prakash Shukla
This patch adds common code for the dma adapter to support SW and HW based transfer mechanisms. The adapter uses an EAL service core function for SW based packet transfer and uses the eventdev PMD functions to configure HW based packet transfer between the dma device and the event device. Signed-o

[PATCH v1 2/7] eventdev: api to get DMA capabilities

2023-09-19 Thread Amit Prakash Shukla
Added a new eventdev API rte_event_dma_adapter_caps_get(), to get DMA adapter capabilities supported by the driver. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/meson.build| 2 +- lib/eventdev/rte_eventdev.c | 25 + lib/eventdev/rte_eventdev.h | 2 +- lib/mes

[PATCH v1 1/7] eventdev: introduce DMA event adapter library

2023-09-19 Thread Amit Prakash Shukla
Introduce event DMA adapter APIs. The change provides information on adapter modes and usage. Application can use this event adapter interface to transfer packets between DMA device and event device. Signed-off-by: Amit Prakash Shukla --- doc/api/doxy-api-index.md |1 + d

Re: [PATCH] event/cnxk: add event port flow context APIs

2023-09-19 Thread Jerin Jacob
On Tue, Aug 29, 2023 at 11:50 PM wrote: > > From: Pavan Nikhilesh > > Add event port flow context status APIs. > - rte_pmd_cnxk_eventdev_wait_head() - Allows application to wait > for the flow context currently held by the event port to become > the HEAD of the flow chain. > - rte_pmd_cnxk_ev

RE: [EXT] Re: [PATCH] cryptodev: remove deprecated algo string arrays

2023-09-19 Thread Akhil Goyal
> Acked-by: Hemant Agrawal > > > > > Removed the algorithm strings arrays > > ``rte_crypto_cipher_algorithm_strings``, > > ``rte_crypto_auth_algorithm_strings``, ``rte_crypto_aead_algorithm_strings`` > > and ``rte_crypto_asym_xform_strings``. > > Application can use the new APIs ``rte_cryptodev_g

[PATCH] crypto/openssl: fix memory leaks in SM2 ops

2023-09-19 Thread Gowrishankar Muthukrishnan
Fix memory leaks in SM2 ops, as reported by valgrind. Signed-off-by: Gowrishankar Muthukrishnan --- drivers/crypto/openssl/rte_openssl_pmd.c | 45 ++-- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c b/drivers/crypto/o

RE: [PATCH] examples/ipsec-secgw: add security capabilities mapping

2023-09-19 Thread Akhil Goyal
Recheck-request: iol-unit-testing

Re: [PATCH v3 00/15] Cleanup PCI(e) drivers

2023-09-19 Thread David Marchand
On Thu, Sep 14, 2023 at 2:36 PM David Marchand wrote: > > Rather than rely on Linux headers to find some PCI(e) standard constants > or reinvent the same PCI capability helper, this series complements the > pci library and the pci bus driver. > PCI drivers can then use OS agnostic macros and helpe

RE: [EXT] [PATCH v2] common/qat: enable QAT 2.0c devices

2023-09-19 Thread Akhil Goyal
> > Subject: RE: [EXT] [PATCH v2] common/qat: enable QAT 2.0c devices > > > > > > > This commit enables QAT 2.0c devices in the Intel QuickAssist > > > Technology PMD. > > > These are 4th Generation QAT, 402xx devices. > > > > > > Signed-off-by: Ciara Power > > > > > > --- > > Is it 4944 or 4945?

RE: [EXT] [PATCH v9 0/3] Add Digest Encrypted to aesni_mb PMD

2023-09-19 Thread Akhil Goyal
> This series adds the Digest Encrypted feature to the AESNI_MB PMD. > It also fixes an issue where IV data in SNOW3G and ZUC algorithms > were incorrect and are required to be non-zero length. > > v9: > Added release notes Series applied to dpdk-next-crypto Thanks.

Re: [PATCH 1/2] build: fix list_dir_globs failure in MSYS2

2023-09-19 Thread Ric Li
On 2023/9/19 16:12, Bruce Richardson wrote: > On Sat, Sep 16, 2023 at 09:15:19PM +0800, Ric Li wrote: >> When running 'meson build' in MSYS2, >> "list-dir-globs.py * failed with status 1". >> >> Signed-off-by: Ric Li >> --- >> app/meson.build | 2 +- >> 1 file changed, 1 insertion(+), 1 deleti

RE: [PATCH 1/4] net/mlx5/hws: allow relaxed mode in MPLS matching

2023-09-19 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Erez Shitrit > Sent: Sunday, September 10, 2023 5:03 PM > To: Alex Vesker ; NBU-Contact-Thomas Monjalon > (EXTERNAL) ; Suanming Mou > ; Matan Azrad ; Slava > Ovsiienko ; Ori Kam > Cc: dev@dpdk.org > Subject: [PATCH 1/4] net/mlx5/hws: allow relaxed mode in

RE: [PATCH v1 2/2] test/dma: add source buffer offload free test

2023-09-19 Thread Anoob Joseph
Hi Amit, Please see inline. Thanks, Anoob > -Original Message- > From: Amit Prakash Shukla > Sent: Thursday, September 7, 2023 1:41 PM > To: Chengwen Feng ; Kevin Laatz > ; Bruce Richardson > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; > conor.wa...@intel.com; Vamsi Krishna Attunuru

[PATCH v2] dmadev: get DMA device using device ID

2023-09-19 Thread Amit Prakash Shukla
DMA library has a function to get DMA device based on device name but there is no function to get DMA device using device id. Added a function that lookup for the dma device using device id and returns the pointer to the same. Signed-off-by: Amit Prakash Shukla --- v2: - Dropped patch with dma e

Re: [PATCH 1/1] net/mana: add 32 bit short doorbell

2023-09-19 Thread Ferruh Yigit
On 9/19/2023 4:38 AM, Wei Hu wrote: > > >> -Original Message- >> From: Ferruh Yigit >> Sent: Tuesday, September 19, 2023 2:03 AM >> To: Wei Hu ; dev@dpdk.org; Long Li >> >> Cc: sta...@dpdk.org; Kevin Traynor ; Luca Boccassi >> >> Subject: Re: [PATCH 1/1] net/mana: add 32 bit short door

Re: [PATCH v2 1/1] net/mana: enable 32 bit build for mana driver

2023-09-19 Thread Ferruh Yigit
On 9/19/2023 3:44 AM, Wei Hu wrote: >> -Original Message- >> From: Ferruh Yigit >> Sent: Tuesday, September 19, 2023 1:41 AM >> To: Wei Hu ; dev@dpdk.org; Long Li >> >> Cc: sta...@dpdk.org; Kevin Traynor ; Luca Boccassi >> >> Subject: Re: [PATCH v2 1/1] net/mana: enable 32 bit build for

RE: [EXT] [PATCH v2] common/qat: enable QAT 2.0c devices

2023-09-19 Thread Power, Ciara
Hi Akhil, > -Original Message- > From: Akhil Goyal > Sent: Tuesday, September 19, 2023 6:50 AM > To: Power, Ciara ; dev@dpdk.org > Cc: Kusztal, ArkadiuszX ; > david.march...@redhat.com; Ji, Kai > Subject: RE: [EXT] [PATCH v2] common/qat: enable QAT 2.0c devices > > > > This commit enab

  1   2   >