[dpdk-dev] [PATCH v3 3/3] doc: add rx queue get api detail in rx adapter guide

2021-09-06 Thread Ganapati Kundapura
rte_event_eth_rx_adapter_queue_info_get() api details are added in rx adapter guide Signed-off-by: Ganapati Kundapura --- doc/guides/prog_guide/event_ethernet_rx_adapter.rst | 8 1 file changed, 8 insertions(+) diff --git a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst b/doc/gui

[dpdk-dev] [PATCH v3 2/3] test/event: Add rx queue info get test in rx adapter autotest

2021-09-06 Thread Ganapati Kundapura
Add unit tests for rte_event_eth_rx_adapter_queue_info_get() in rx adapter autotest Signed-off-by: Ganapati Kundapura --- app/test/test_event_eth_rx_adapter.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/app/test/test_event_eth_rx_adapter.c b/app/test/test_event_e

[dpdk-dev] [PATCH v3 1/3] eventdev: add rx queue info get api

2021-09-06 Thread Ganapati Kundapura
Added rte_event_eth_rx_adapter_queue_info_get() API to get rx queue information - event queue identifier, flags for handling received packets, schedular type, event priority, polling frequency of the receive queue and flow identifier in rte_event_eth_rx_adapter_queue_info structure Signed-off-by:

[dpdk-dev] [PATCH v3 3/3] doc: add rx queue get api detail in rx adapter guide

2021-09-06 Thread Ganapati Kundapura
rte_event_eth_rx_adapter_queue_info_get() api details are added in rx adapter guide Signed-off-by: Ganapati Kundapura --- doc/guides/prog_guide/event_ethernet_rx_adapter.rst | 8 1 file changed, 8 insertions(+) diff --git a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst b/doc/gui

[dpdk-dev] [PATCH v3 2/3] test/event: Add rx queue info get test in rx adapter autotest

2021-09-06 Thread Ganapati Kundapura
Add unit tests for rte_event_eth_rx_adapter_queue_info_get() in rx adapter autotest Signed-off-by: Ganapati Kundapura --- app/test/test_event_eth_rx_adapter.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/app/test/test_event_eth_rx_adapter.c b/app/test/test_event_e

[dpdk-dev] [PATCH v3 1/3] eventdev: add rx queue info get api

2021-09-06 Thread Ganapati Kundapura
Added rte_event_eth_rx_adapter_queue_info_get() API to get rx queue information - event queue identifier, flags for handling received packets, schedular type, event priority, polling frequency of the receive queue and flow identifier in rte_event_eth_rx_adapter_queue_info structure Signed-off-by:

Re: [dpdk-dev] [PATCH] eventdev: add rx queue info get api

2021-09-06 Thread Kundapura, Ganapati
> -Original Message- > From: Jayatheerthan, Jay > Sent: 07 September 2021 11:56 > To: Kundapura, Ganapati ; > jerinjac...@gmail.com > Cc: dev@dpdk.org > Subject: RE: [PATCH] eventdev: add rx queue info get api > > Hi Ganapati, > Could you split these patches to logical units to make it

Re: [dpdk-dev] [PATCH] eventdev: add rx queue info get api

2021-09-06 Thread Jayatheerthan, Jay
Hi Ganapati, Could you split these patches to logical units to make it easy to review ? In addition, add patch version in subject field. -Jay > -Original Message- > From: Kundapura, Ganapati > Sent: Tuesday, September 7, 2021 11:07 AM > To: Jayatheerthan, Jay ; jerinjac...@gmail.com >

[dpdk-dev] [PATCH] eventdev: add rx queue info get api

2021-09-06 Thread Ganapati Kundapura
Added rte_event_eth_rx_adapter_queue_info_get() API to get rx queue information - event queue identifier, flags for handling received packets, schedular type, event priority, polling frequency of the receive queue and flow identifier in rte_event_eth_rx_adapter_queue_info structure Signed-off-by:

Re: [dpdk-dev] [PATCH v4] net/virtio: fix repeated memory free of vq

2021-09-06 Thread Xia, Chenbo
> -Original Message- > From: Gaoxiang Liu > Sent: Tuesday, August 31, 2021 10:40 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; liugaoxi...@huawei.com; Gaoxiang Liu ; > sta...@dpdk.org > Subject: [PATCH v4] net/virtio: fix repeated memory free of vq > > When virtio_

[dpdk-dev] [RFC V1] examples/l3fwd-power: fix memory leak for rte_pci_device

2021-09-06 Thread Huisong Li
Calling rte_eth_dev_close() will release resources of eth device and close it. But rte_pci_device struct isn't released when app exit, which will lead to memory leak. Fixes: 613ce6691c0d ("examples/l3fwd-power: implement proper shutdown") Signed-off-by: Huisong Li --- examples/l3fwd-power/main.

Re: [dpdk-dev] [PATCH v4] net/virtio: fix repeated memory free of vq

2021-09-06 Thread Gaoxiang Liu
Hi, chenbo, maxime. Please help to review the patch. The patch has been proposed a month ago. At 2021-08-31 22:39:51, "Gaoxiang Liu" wrote: >When virtio_init_queue returns error, the memory of vq is freed. >But the value of hw->vqs[queue_idx] does not restore. >If virtio_init_queue returns error

[dpdk-dev] [PATCH] vhost: promote some APIs to stable

2021-09-06 Thread Chenbo Xia
As reported by symbol bot, APIs listed in this patch have been experimental for more than two years. This patch promotes these 18 APIs to stable. Signed-off-by: Chenbo Xia --- lib/vhost/rte_vhost.h| 13 - lib/vhost/rte_vhost_crypto.h | 5 - lib/vhost/version.map|

Re: [dpdk-dev] [PATCH 2/2] net/cnxk: callback for getting link status

2021-09-06 Thread Jerin Jacob
On Fri, Jul 30, 2021 at 9:38 PM Harman Kalra wrote: > > Adding a new callback for reading the link status. PF can read it's > link status and can forward the same to VF once it comes up. > > Signed-off-by: Harman Kalra Series applied to dpdk-next-net-mrvl/for-next-net. Thanks. > --- > drivers/

Re: [dpdk-dev] [PATCH] app/testpmd: fix random number of Tx segments

2021-09-06 Thread Zhang, AlvinX
> -Original Message- > From: Li, Xiaoyun > Sent: Monday, September 6, 2021 6:55 PM > To: Zhang, AlvinX ; Ananyev, Konstantin > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH] app/testpmd: fix random number of Tx segments > > > > > -Original Message- > > From: Zhang,

[dpdk-dev] [PATCH v3] net/ice: fix representor port segmentation fault

2021-09-06 Thread dapengx . yu
From: Dapeng Yu If DCF representor port is closed after DCF port is closed, there will be segmentation fault because representor accesses the released resource of DCF port. This patch checks if the resource is present before accessing. Fixes: 5674465a32c8 ("net/ice: add DCF VLAN handling") Cc:

Re: [dpdk-dev] [PATCH] common/cnxk: support for dual VLAN insert and strip actions

2021-09-06 Thread Jerin Jacob
On Mon, Jul 19, 2021 at 11:12 AM wrote: > > From: Satheesh Paul > > Add roc API to configure dual VLAN tag addition and removal. > > Signed-off-by: Satheesh Paul Added following in release notes +* **Updated Marvell cnxk ethdev driver.** + + * Added rte_flow support for dual VLAN insert and st

Re: [dpdk-dev] [PATCH v2] vhost: add log print of socket path on adding connection

2021-09-06 Thread Xia, Chenbo
> -Original Message- > From: Gaoxiang Liu > Sent: Tuesday, September 7, 2021 8:51 AM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; liugaoxi...@huawei.com; Gaoxiang Liu ; > sta...@dpdk.org > Subject: [PATCH v2] vhost: add log print of socket path on adding connection >

Re: [dpdk-dev] [RFC PATCH v2 0/7] heterogeneous computing library

2021-09-06 Thread Wang, Haiyue
> -Original Message- > From: Elena Agostini > Sent: Tuesday, September 7, 2021 01:23 > To: Wang, Haiyue ; Jerin Jacob > Cc: NBU-Contact-Thomas Monjalon ; Jerin Jacob > ; dpdk-dev > ; Stephen Hemminger ; David Marchand > ; Andrew Rybchenko > ; Honnappa Nagarahalli > ; Yigit, Ferruh ; >

[dpdk-dev] [PATCH v2] vhost: add log print of socket path on adding connection

2021-09-06 Thread Gaoxiang Liu
Add log print of socket path in vhost_user_add_connection. It's useful when adding a mass of socket connections, because the information of every connection is clearer. Fixes: 8f972312b8f4 ("vhost: support vhost-user") Cc: sta...@dpdk.org Signed-off-by: Gaoxiang Liu --- lib/vhost/socket.c | 2 +

Re: [dpdk-dev] [PATCH] vhost: add log print of socket path on adding connection

2021-09-06 Thread Gaoxiang Liu
Hi chenbo, I will fix the issues in [PATCH v2]. Thanks. Gaoxiang. At 2021-09-06 13:35:23, "Xia, Chenbo" wrote: >Hi Gaoxiang, > >> -Original Message- >> From: Gaoxiang Liu >> Sent: Saturday, September 4, 2021 10:28 PM >> To: maxime.coque...@redhat.com; Xia, Chenbo >> Cc: dev@dpdk.org;

Re: [dpdk-dev] [PATCH 4/5] test/thash: add tests for a new Toeplitz hash function

2021-09-06 Thread Stephen Hemminger
On Mon, 6 Sep 2021 17:03:58 +0100 Vladimir Medvedkin wrote: > +uint8_t big_rss_key[] = { > +0x6d, 0x5a, 0x56, 0xda, 0x25, 0x5b, 0x0e, 0xc2, > +0x41, 0x67, 0x25, 0x3d, 0x43, 0xa3, 0x8f, 0xb0, > +0xd0, 0xca, 0x2b, 0xcb, 0xae, 0x7b, 0x30, 0xb4, > +0x77, 0xcb, 0x2d, 0xa3, 0x80, 0x30, 0xf2, 0x0c, > +

Re: [dpdk-dev] [PATCH] fib: promote experimental API's to stable

2021-09-06 Thread Stephen Hemminger
On Mon, 6 Sep 2021 17:01:15 +0100 Vladimir Medvedkin wrote: > diff --git a/lib/fib/version.map b/lib/fib/version.map > index be975ea..af76add 100644 > --- a/lib/fib/version.map > +++ b/lib/fib/version.map > @@ -1,4 +1,4 @@ > -EXPERIMENTAL { > +DPDK_22 { > global: > > rte_fib_add; >

[dpdk-dev] [RFC PATCH v2] raw/ptdma: introduce ptdma driver

2021-09-06 Thread Selwin Sebastian
Add support for PTDMA driver Signed-off-by: Selwin Sebastian --- MAINTAINERS | 5 + doc/guides/rawdevs/ptdma.rst | 220 ++ drivers/raw/meson.build | 1 + drivers/raw/ptdma/meson.build| 16 + drivers/raw/ptdma/

Re: [dpdk-dev] [RFC PATCH v2 0/7] heterogeneous computing library

2021-09-06 Thread Elena Agostini
> -Original Message- > From: Jerin Jacob > Sent: Thursday, September 2, 2021 3:12 PM > To: Elena Agostini > Cc: Wang, Haiyue ; NBU-Contact-Thomas > Monjalon ; Jerin Jacob ; > dpdk-dev ; Stephen Hemminger > ; David Marchand > ; Andrew Rybchenko > ; Honnappa Nagarahalli > ; Yigit, Ferruh

[dpdk-dev] [RFC PATCH v2] raw/ptdma: introduce ptdma driver

2021-09-06 Thread Selwin Sebastian
From: Selwin Sebastian Add support for PTDMA driver Signed-off-by: Selwin Sebastian --- MAINTAINERS | 5 + doc/guides/rawdevs/ptdma.rst | 220 ++ drivers/raw/meson.build | 1 + drivers/raw/ptdma/meson.build|

Re: [dpdk-dev] [EXT] [PATCH V2] compress/mlx5: allow partial transformations support

2021-09-06 Thread Akhil Goyal
> -- > Currently compress, decompress and dma are allowed only when all 3 > capabilities are on. > A case where the user wants decompress offload, if decompress capability > is on but one of compress, dma is off, is not allowed. >

Re: [dpdk-dev] [PATCH] crypto/openssl: fix CCM processing 0 length source

2021-09-06 Thread Akhil Goyal
> > > > When given a source length 0 for CCM, the encryption and decryption > > functions did not call the EVP_ENCRYPTUPDATE/EVP_DECRYPTUPDATE > > functions > > with a src and dst, causing some FIPS validation failures for testcases > > with PLen=0: > > > > process_openssl_auth_encryption_ccm() lin

Re: [dpdk-dev] [PATCH] test/crypto: refactor scheduler test worker PMDs

2021-09-06 Thread Akhil Goyal
> > > > Previously, the scheduler unit test only created and attached 1 or 2 > > AESNI-MB cryptodev PMDs as workers if less than 2 AESNI-MB PMDs had > > already been initialized. > > > > This commit changes this to always create and attach 2 new AESNI-MB > > cryptodev PMDs, regardless of previously

Re: [dpdk-dev] [PATCH 3/8] crypto/cnxk: add cn9k IPsec session related functions

2021-09-06 Thread Akhil Goyal
> Add helper functions useful in implementing IPsec outbound > and inbound session create apis. > > Signed-off-by: Archana Muniganti > Signed-off-by: Tejasree Kondoj > Signed-off-by: Vamsi Attunuru > --- Clang compilation broken on this patch ../drivers/crypto/cnxk/cn9k_ipsec.c:18:1: error: un

[dpdk-dev] [RFC PATCH v2] raw/ptdma: introduce ptdma driver

2021-09-06 Thread Selwin Sebastian
Add support for PTDMA driver Signed-off-by: Selwin Sebastian --- MAINTAINERS | 5 + doc/guides/rawdevs/ptdma.rst | 220 ++ drivers/raw/meson.build | 1 + drivers/raw/ptdma/meson.build| 16 + drivers/raw/ptdma/

Re: [dpdk-dev] [PATCH 0/7] Improvements and fixes in crypto/cnxk PMDs

2021-09-06 Thread Akhil Goyal
> Improvements and fixes to crypto_cn9k & crypto_cn10k PMDs. > - Updated IPsec completion codes to match latest firmware > - Updated ZUC API to match latest firmware > - Added dual submission in crypto_cn9k PMD > > Depends on: > http://patches.dpdk.org/project/dpdk/list/?series=18627 > > Anoob

Re: [dpdk-dev] [PATCH v2 3/3] test/crypto: add outbound known vector tests

2021-09-06 Thread Akhil Goyal
> Add outbound known vector tests. The tests would be skipped on PMDs > which do not support IV provided by application. > > Signed-off-by: Anoob Joseph > --- Acked-by: Akhil Goyal

Re: [dpdk-dev] [PATCH v2 2/3] crypto/cnxk: add IV in SA in lookaside IPsec debug mode

2021-09-06 Thread Akhil Goyal
> From: Tejasree Kondoj > > Adding IV in SA in lookaside IPsec debug mode. It helps > to verify lookaside PMD using known outbound vectors in > lookaside autotest. > > Signed-off-by: Anoob Joseph > Signed-off-by: Tejasree Kondoj Acked-by: Akhil Goyal

Re: [dpdk-dev] [PATCH v2 1/3] security: support user specified IV

2021-09-06 Thread Akhil Goyal
> Enable user to provide IV to be used per security operation. This > would be used with lookaside protocol offload for comparing > against known vectors. > > By default, PMD would generate IV internally and would be random. > > Signed-off-by: Anoob Joseph > --- Acked-by: Akhil Goyal

Re: [dpdk-dev] [PATCH v4 3/4] examples/ipsec-secgw: update event mode inline path

2021-09-06 Thread Akhil Goyal
> Update mbuf.l2_len with L2 header size for outbound > inline processing. > > This patch also fixes a bug in arg parsing. > > Signed-off-by: Nithin Dabilpuram > --- Acked-by: Akhil Goyal

Re: [dpdk-dev] [PATCH v4 2/4] security: add option for faster udata or mdata access

2021-09-06 Thread Akhil Goyal
> Currently rte_security_set_pkt_metadata() and rte_security_get_userdata() > methods to set pkt metadata on Inline outbound and get userdata > after Inline inbound processing is always driver specific callbacks. > > For drivers that do not have much to do in the callbacks but just > to update met

Re: [dpdk-dev] [PATCH v4 2/4] security: add option for faster udata or mdata access

2021-09-06 Thread Akhil Goyal
> -Original Message- > From: Nithin Dabilpuram > Sent: Thursday, August 12, 2021 6:03 PM > To: dev@dpdk.org > Cc: Jerin Jacob Kollanukkaran ; Akhil Goyal > ; hemant.agra...@nxp.com; tho...@monjalon.net; > g.si...@nxp.com; ferruh.yi...@intel.com; roy.fan.zh...@intel.com; > olivier.m...@6

Re: [dpdk-dev] [PATCH v4 1/4] security: enforce semantics for Tx inline processing

2021-09-06 Thread Akhil Goyal
> Not all net PMD's/HW can parse packet and identify L2 header and > L3 header locations on Tx. This is inline with other Tx offloads > requirements such as L3 checksum, L4 checksum offload, etc, > where mbuf.l2_len, mbuf.l3_len etc, needs to be set for HW to be > able to generate checksum. Since I

Re: [dpdk-dev] [PATCH v4 4/4] doc: remove deprecation notice for security fast path change

2021-09-06 Thread Akhil Goyal
> Remove deprecation notice for security fast path change. > > Signed-off-by: Nithin Dabilpuram > --- > doc/guides/rel_notes/deprecation.rst | 4 > 1 file changed, 4 deletions(-) > > diff --git a/doc/guides/rel_notes/deprecation.rst > b/doc/guides/rel_notes/deprecation.rst > index 76a4abf.

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

2021-09-06 Thread Akhil Goyal
> This patch series adds support for raw vector API in dpaax_sec drivers > This also enhances the raw vector APIs to support OOP and security > protocol support. > > Gagandeep Singh (11): > crypto: add total raw buffer length > crypto: fix raw process for multi-seg case > crypto/dpaa2_sec: s

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

2021-09-06 Thread Akhil Goyal
> This patch add support for RAW API testing with ZUC > and SNOW test cases. > > Signed-off-by: Gagandeep Singh > Signed-off-by: Hemant Agrawal > --- Please fix compilation.

Re: [dpdk-dev] [RFC 2/7] eth: make drivers to use new API for Rx

2021-09-06 Thread Ferruh Yigit
On 8/20/2021 5:28 PM, Konstantin Ananyev wrote: > ethdev: > - make changes so drivers can start using new API for rx_pkt_burst(). > - provide helper functions/macros. > - remove rx_pkt_burst() from 'struct rte_eth_dev'. > drivers/net: > - adjust to new rx_burst API. > Overall this enables us

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

2021-09-06 Thread Akhil Goyal
> 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

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

2021-09-06 Thread Akhil Goyal
> 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

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

2021-09-06 Thread Akhil Goyal
> 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 encrypt

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

2021-09-06 Thread Akhil Goyal
> 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

Re: [dpdk-dev] [PATCH 0/8] cryptodev: hide internal strutures

2021-09-06 Thread Akhil Goyal
Hi All, Please review this series as soon as possible. Would like to merge this series as early as possible so that we have Lesser conflicts for other series. Thanks and Regards, Akhil > -Original Message- > From: Akhil Goyal > Sent: Sunday, August 29, 2021 6:22 PM > To: dev@dpdk.org >

Re: [dpdk-dev] [EXT] [PATCH 0/4] drivers/qat: isolate implementations of qat generations

2021-09-06 Thread Akhil Goyal
> This patchset introduces new qat driver structure and updates > existing symmetric crypto qat PMD. > > The purpose of the change is to isolate QAT generation specific > implementations from one to another. > > It is expected the changes to the specific generation driver code does > minimum impa

Re: [dpdk-dev] [EXT] [PATCH v2] crypto/mlx5: fix timestamp format configuration

2021-09-06 Thread Akhil Goyal
> This patch adds support for the timestamp format settings for > the receive and send queues. If the firmware version x.30.1000 > or above is installed and the NIC timestamps are configured > with the real-time format, the default zero values for newly > added fields cause the queue creation to fa

Re: [dpdk-dev] [RFC 0/7] hide eth dev related structures

2021-09-06 Thread Ferruh Yigit
On 8/26/2021 1:37 PM, Jerin Jacob wrote: > On Fri, Aug 20, 2021 at 9:59 PM Konstantin Ananyev > wrote: >> >> NOTE: This is just an RFC to start further discussion and collect the >> feedback. >> Due to significant amount of work, changes required are applied only to two >> PMDs so far: net/i40e a

Re: [dpdk-dev] [RFC PATCH v2] raw/ptdma: introduce ptdma driver

2021-09-06 Thread David Marchand
On Mon, Sep 6, 2021 at 6:56 PM Selwin Sebastian wrote: > > Add support for PTDMA driver - This description is rather short. Can this new driver be implemented as a dmadev? See (current revision): https://patchwork.dpdk.org/project/dpdk/list/?series=18677&state=%2A&archive=both - In any case, q

Re: [dpdk-dev] [RFC PATCH v2 0/7] heterogeneous computing library

2021-09-06 Thread Wang, Haiyue
> -Original Message- > From: Elena Agostini > Sent: Tuesday, September 7, 2021 00:11 > To: Jerin Jacob > Cc: Wang, Haiyue ; NBU-Contact-Thomas Monjalon > ; Jerin > Jacob ; dpdk-dev ; Stephen Hemminger > ; > David Marchand ; Andrew Rybchenko > ; Honnappa > Nagarahalli ; Yigit, Ferruh >

Re: [dpdk-dev] [PATCH] telemetry: add support for dicts of dicts

2021-09-06 Thread Power, Ciara
Hi Radu, >-Original Message- >From: Nicolau, Radu >Sent: Friday 3 September 2021 11:57 >To: Power, Ciara >Cc: dev@dpdk.org; Nicolau, Radu ; Doherty, Declan > >Subject: [PATCH] telemetry: add support for dicts of dicts > >Add support for dicts of dicts to telemetry library. > >Signed-of

Re: [dpdk-dev] [PATCH v4] ethdev: fix representor port ID search by name

2021-09-06 Thread Viacheslav Galaktionov
On 2021-09-01 17:55, Ferruh Yigit wrote: On 8/31/2021 5:06 PM, Andrew Rybchenko wrote: From: Viacheslav Galaktionov Getting a list of representors from a representor does not make sense. Instead, a parent device should be used. Which code is getting list of the representors? As far as I ca

[dpdk-dev] [PATCH 5/5] test/thash: add performance tests for the Toeplitz hash

2021-09-06 Thread Vladimir Medvedkin
This patch adds performance tests for different implementations of the Toeplitz hash function. Signed-off-by: Vladimir Medvedkin --- app/test/meson.build | 2 + app/test/test_thash_perf.c | 125 + 2 files changed, 127 insertions(+) create mode

[dpdk-dev] [PATCH 4/5] test/thash: add tests for a new Toeplitz hash function

2021-09-06 Thread Vladimir Medvedkin
This patch provides a set of tests for verifying the new implementation of Toeplitz hash function using GFNI. Signed-off-by: Vladimir Medvedkin --- app/test/test_thash.c | 231 ++ 1 file changed, 231 insertions(+) diff --git a/app/test/test_thash.

[dpdk-dev] [PATCH 3/5] doc/hash: update documentation for the thash library

2021-09-06 Thread Vladimir Medvedkin
This patch adds documentation for the new optimized Toeplitz hash implementation using GFNI. Signed-off-by: Vladimir Medvedkin --- doc/guides/prog_guide/toeplitz_hash_lib.rst | 37 + doc/guides/rel_notes/release_21_11.rst | 4 2 files changed, 37 insertions

[dpdk-dev] [PATCH 2/5] hash: enable gfni thash implementation

2021-09-06 Thread Vladimir Medvedkin
This patch enables new GFNI Toeplitz hash in predictable RSS library. Signed-off-by: Vladimir Medvedkin --- lib/hash/rte_thash.c | 43 +++ lib/hash/rte_thash.h | 19 +++ lib/hash/version.map | 1 + 3 files changed, 59 insertions(+), 4 dele

[dpdk-dev] [PATCH 1/5] hash: add new toeplitz hash implementation

2021-09-06 Thread Vladimir Medvedkin
This patch add a new Toeplitz hash implementation using Galios Fields New Instructions (GFNI). Signed-off-by: Vladimir Medvedkin --- doc/api/doxy-api-index.md | 1 + lib/hash/meson.build | 1 + lib/hash/rte_thash.c | 26 ++ lib/hash/rte_thash.h | 22 + lib/hash/rte_t

[dpdk-dev] [PATCH 0/5] optimized Toeplitz hash implementation

2021-09-06 Thread Vladimir Medvedkin
This patch series adds a new optimized implementation for the Toeplitz hash function using Galois Fields New instruction (GFNI). The main use case of this function is to calculate the hash value for a single data, so there is no bulk implementation. For performance reasons, the implementation was p

[dpdk-dev] [PATCH] hash: fix doxygen comments

2021-09-06 Thread Vladimir Medvedkin
Fixes: 7574c3ef7428 ("hash: add toeplitz algorithm used by RSS") Cc: sta...@dpdk.org Signed-off-by: Vladimir Medvedkin --- lib/hash/rte_thash.h | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lib/hash/rte_thash.h b/lib/hash/rte_thash.h index 6e6861c..b3cedea 100

[dpdk-dev] [PATCH] fib: promote experimental API's to stable

2021-09-06 Thread Vladimir Medvedkin
The fib and fib6 API's have been in since 19.11 and should be marked as stable. Signed-off-by: Vladimir Medvedkin --- Notes: This patch should be applied after https://patches.dpdk.org/project/dpdk/patch/1630943759-362969-1-git-send-email-vladimir.medved...@intel.com/ lib/fib/rte_fib.

[dpdk-dev] [PATCH] fib: add rib extension size parameter

2021-09-06 Thread Vladimir Medvedkin
This patch adds a new parameter to the fib configuration to specify the size of the extension for internal RIB structure. Signed-off-by: Vladimir Medvedkin --- app/test-fib/main.c| 2 ++ app/test/test_fib.c| 5 + app/test/test_fib6.c | 5 + app/test/test_fib6_perf.c

[dpdk-dev] [PATCH] rib: fix the IPv6 depth mask

2021-09-06 Thread Vladimir Medvedkin
Fixes: 03b8372a9a73 ("rib: fix max depth IPv6 lookup") Cc: ohily...@iol.unh.edu Cc: sta...@dpdk.org Signed-off-by: Vladimir Medvedkin --- lib/rib/rte_rib6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c index 96424e9..b00c7fb 100644 -

Re: [dpdk-dev] Intel FW 8.15 with DPDK 20.11 & 21.02

2021-09-06 Thread Korolevskiy, Igor
Beilei, hello. Yes, we saw this table, thank you. My question was if we are using 8.15 FW with DPDK 20.11 - how are you going to work with Dell / MTS / Nokia - you will say that version is not supported, or you will help us to troubleshoot problem ( if any ) I don’t think 8.00 is strictly t

[dpdk-dev] [PATCH] eventdev: add rx queue info get api

2021-09-06 Thread Ganapati Kundapura
Added rte_event_eth_rx_adapter_queue_info_get() API to get rx queue information - event queue identifier, flags for handling received packets, schedular type, event priority, polling frequency of the receive queue and flow identifier in rte_event_eth_rx_adapter_queue_info structure Signed-off-by:

[dpdk-dev] [PATCH v2 3/3] test/crypto: add outbound known vector tests

2021-09-06 Thread Anoob Joseph
Add outbound known vector tests. The tests would be skipped on PMDs which do not support IV provided by application. Signed-off-by: Anoob Joseph --- app/test/test_cryptodev.c| 44 app/test/test_cryptodev_security_ipsec.c | 16 +++- 2 files

[dpdk-dev] [PATCH v2 2/3] crypto/cnxk: add IV in SA in lookaside IPsec debug mode

2021-09-06 Thread Anoob Joseph
From: Tejasree Kondoj Adding IV in SA in lookaside IPsec debug mode. It helps to verify lookaside PMD using known outbound vectors in lookaside autotest. Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_ipsec.c | 16 + drivers/cr

[dpdk-dev] [PATCH v2 1/3] security: support user specified IV

2021-09-06 Thread Anoob Joseph
Enable user to provide IV to be used per security operation. This would be used with lookaside protocol offload for comparing against known vectors. By default, PMD would generate IV internally and would be random. Signed-off-by: Anoob Joseph --- doc/guides/rel_notes/release_21_11.rst | 5

[dpdk-dev] [PATCH v2 0/3] Add user specified IV with lookaside IPsec

2021-09-06 Thread Anoob Joseph
Add support for using user provided IV with lookaside protocol (IPsec). Using this option, application can provide IV to be used per operation. This option can be used for knownn vector tests (which is otherwise impossible due to random nature of IV) as well as if application wishes to use its own

Re: [dpdk-dev] [PATCH] eventdev: cryptodev start in crypto adapter spec

2021-09-06 Thread Jerin Jacob
On Fri, Sep 3, 2021 at 12:12 PM Akhil Goyal wrote: > > > Event crypto adapter spec does not mention about cryptodev start and > > stop. Cryptodev attached to the adapter should be started before calling > > crypto adapter start. Added the same in spec and test application. > > > > Signed-off-by: S

Re: [dpdk-dev] [PATCH] ethdev: promote sibling iterators to stable

2021-09-06 Thread Andrew Rybchenko
On 9/6/21 4:02 PM, David Marchand wrote: > This API saw no update since its introduction and will help applications > like OVS ([1] and [2]) that currently look at rte_eth_devices[] to > achieve the same. > > 1: https://github.com/openvswitch/ovs/blob/master/lib/netdev-dpdk.c#L1285 > 2: https://gi

Re: [dpdk-dev] Running DPDK application with non-previlege mode

2021-09-06 Thread Kamaraj P
Hi Thomas/Antoly, We have tried with the below capability to start a DPDK application as a container. --cap-add=NET_ADMIN --cap-add=SYS_RESOURCE --cap-add=SYS_NICE Still We could see the failures when rte_eali_init() .. 09-06-2021 10:48:37.423583 EAL: NUMA is not supported. *09-06-2021 10:48:

Re: [dpdk-dev] [EXT] [PATCH v4 03/10] security: add ESN field to ipsec_xform

2021-09-06 Thread Anoob Joseph
Hi Radu, Akhil, Please see inline Thanks, Anoob > > On 9/6/2021 12:36 PM, Anoob Joseph wrote: > > Hi Radu, > > > >> Hi Akhil, I suppose they can be complementary, with this one being a > >> hard ESN limit that the user can enforce by setting the initial ESN > >> value - but there is no requirem

Re: [dpdk-dev] [PATCH] doc: announce change in vfio dma mapping

2021-09-06 Thread Ferruh Yigit
On 9/6/2021 9:51 AM, Ding, Xuan wrote: > Hi, > >> -Original Message- >> From: Kinsella, Ray >> Sent: Friday, September 3, 2021 12:13 AM >> To: Yigit, Ferruh ; Burakov, Anatoly >> ; Ding, Xuan ; >> dev@dpdk.org >> Cc: maxime.coque...@redhat.com; Xia, Chenbo ; Hu, >> Jiayu ; Richardson, Bru

Re: [dpdk-dev] [EXT] [PATCH v4 03/10] security: add ESN field to ipsec_xform

2021-09-06 Thread Nicolau, Radu
On 9/6/2021 12:36 PM, Anoob Joseph wrote: Hi Radu, Hi Akhil, I suppose they can be complementary, with this one being a hard ESN limit that the user can enforce by setting the initial ESN value - but there is no requirement to do so. Also, this change doesn't need explicit support added in th

Re: [dpdk-dev] [PATCH v20 0/7] support dmadev

2021-09-06 Thread Bruce Richardson
On Sat, Sep 04, 2021 at 06:10:20PM +0800, Chengwen Feng wrote: > This patch set contains seven patch for new add dmadev. > > Chengwen Feng (7): > dmadev: introduce DMA device library public APIs > dmadev: introduce DMA device library internal header > dmadev: introduce DMA device library PMD

Re: [dpdk-dev] [PATCH v20 2/7] dmadev: introduce DMA device library internal header

2021-09-06 Thread Bruce Richardson
On Sat, Sep 04, 2021 at 06:10:22PM +0800, Chengwen Feng wrote: > This patch introduce DMA device library internal header, which contains > internal data types that are used by the DMA devices in order to expose > their ops to the class. > > Signed-off-by: Chengwen Feng > Acked-by: Bruce Richardso

Re: [dpdk-dev] [PATCH] eal: add log to print dpdk version at start

2021-09-06 Thread Singh, Aman Deep
On 9/2/2021 3:57 PM, Bruce Richardson wrote: On Thu, Sep 02, 2021 at 11:11:39AM +0100, Ferruh Yigit wrote: On 9/1/2021 6:12 PM, Stephen Hemminger wrote: On Wed, 1 Sep 2021 11:48:21 +0530 Aman Singh wrote: From the logs it is difficult to get the DPDK version that was used. So added a deb

Re: [dpdk-dev] [PATCH v2] event/cnxk: reduce max timer chunk pool cache size

2021-09-06 Thread Jerin Jacob
On Mon, Aug 30, 2021 at 9:45 PM Shijith Thotton wrote: > > Reduced max chunk pool cache size from RTE_MEMPOOL_CACHE_MAX_SIZE(512) > to 128. > > If chunk pool cache is empty, it gets filled during arm. Filling 512 > entries at a time will fail arm if timeout is shorter. > > Fixes: 0e792433d051 ("ev

[dpdk-dev] [PATCH] ethdev: promote sibling iterators to stable

2021-09-06 Thread David Marchand
This API saw no update since its introduction and will help applications like OVS ([1] and [2]) that currently look at rte_eth_devices[] to achieve the same. 1: https://github.com/openvswitch/ovs/blob/master/lib/netdev-dpdk.c#L1285 2: https://github.com/openvswitch/ovs/blob/master/lib/netdev-dpdk.

Re: [dpdk-dev] DPDK/ipv4_mcast sample application doesn't work

2021-09-06 Thread Ferruh Yigit
On 9/6/2021 8:34 AM, KESHAVARAO, RASHMI wrote: > Hi, > We are trying to use the ipv4_multicast app in DPDK examples. > However, we are not able to get it to run as expected. > > The behavior that we are seeing is that packets are being sent from a packet > generator but they are not being receive

[dpdk-dev] [dpdk-announce] DPDK 20.11.3 released

2021-09-06 Thread luca . boccassi
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-20.11.3.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=20.11 Luca Boccassi --- MAINTAINERS | 1 + VERSION |

Re: [dpdk-dev] [EXT] [PATCH v4 10/10] ipsec: add ol_flags support

2021-09-06 Thread Nicolau, Radu
On 9/5/2021 4:14 PM, Akhil Goyal wrote: Set mbuff->ol_flags for IPsec packets. Could you please add more information in the description About the need of the patch and what issue this patch is resolving. I will add something like below, is that ok? "Update the IPsec library to set mbuff->o

Re: [dpdk-dev] [EXT] [PATCH v4 03/10] security: add ESN field to ipsec_xform

2021-09-06 Thread Anoob Joseph
Hi Radu, > Hi Akhil, I suppose they can be complementary, with this one being a hard > ESN limit that the user can enforce by setting the initial ESN value - but > there > is no requirement to do so. Also, this change doesn't need explicit support > added in the PMDs. What is the actual use case

Re: [dpdk-dev] [EXT] [PATCH v4 07/10] ipsec: add support for NAT-T

2021-09-06 Thread Nicolau, Radu
On 9/5/2021 4:00 PM, Akhil Goyal wrote: Add support for the IPsec NAT-Traversal use case for Tunnel mode packets. Signed-off-by: Declan Doherty Signed-off-by: Radu Nicolau Signed-off-by: Abhijit Sinha Signed-off-by: Daniel Martin Buckley --- These ports are not getting used in this patch,

Re: [dpdk-dev] [EXT] [PATCH v4 03/10] security: add ESN field to ipsec_xform

2021-09-06 Thread Nicolau, Radu
On 9/5/2021 3:47 PM, Akhil Goyal wrote: Hi Radu, -- Update ipsec_xform definition to include ESN field. Signed-off-by: Declan Doherty Signed-off-by: Radu Nicolau Signed-off-by: Abhijit Sinha Signed-off-by: Daniel Martin B

Re: [dpdk-dev] [EXT] [PATCH v4 02/10] security: add UDP params for IPsec NAT-T

2021-09-06 Thread Nicolau, Radu
On 9/5/2021 3:19 PM, Akhil Goyal wrote: Hi Radu, Add support for specifying UDP port params for UDP encapsulation option. Signed-off-by: Declan Doherty Signed-off-by: Radu Nicolau Signed-off-by: Abhijit Sinha Signed-off-by: Daniel Martin Buckley Do we really need to specify the port num

[dpdk-dev] [dpdk-announce] DPDK 19.11.10 released

2021-09-06 Thread christian . ehrhardt
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-19.11.10.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=19.11 Thanks to all the involved testers, developers and backporters. I could not provide it without you! Two late patches that seem ri

Re: [dpdk-dev] [PATCH] app/testpmd: fix random number of Tx segments

2021-09-06 Thread Li, Xiaoyun
> -Original Message- > From: Zhang, AlvinX > Sent: Monday, September 6, 2021 18:04 > To: Li, Xiaoyun ; Ananyev, Konstantin > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH] app/testpmd: fix random number of Tx segments > > > -Original Message- > > From: Li, Xiaoyun

Re: [dpdk-dev] [PATCH] net/af_packet: fix ignoring full ring on tx

2021-09-06 Thread Tudor Cornea
Hi Ferruh, Would you mind separate timestamp status fix to its own patch? I think > better to > fix 'ignoring full Tx ring' first, to not make it dependent to timestamp > patch. Agreed. There are two issues solved by this patch. We will break it in two different patches. I can see 'TP_STATUS_TS

Re: [dpdk-dev] Intel FW 8.15 with DPDK 20.11 & 21.02

2021-09-06 Thread Xing, Beilei
Hi Igor, As I know, 8.15 is not validated by DPDK team, the recommended matching list is validated. Why did you use FW 8.15 with DPDK 20.11? How about updating FW to FW 8.30? the matching DPDK version is 21.05 & 21.08. And if there's any problem during using Intel NIC, you can find Intel PAE for

Re: [dpdk-dev] [PATCH] app/testpmd: fix random number of Tx segments

2021-09-06 Thread Zhang, AlvinX
> -Original Message- > From: Li, Xiaoyun > Sent: Monday, September 6, 2021 4:59 PM > To: Zhang, AlvinX ; Ananyev, Konstantin > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH] app/testpmd: fix random number of Tx segments > > Hi > > > -Original Message- > > From: Zhang

Re: [dpdk-dev] 19.11.10 patches review and test

2021-09-06 Thread Christian Ehrhardt
On Mon, Sep 6, 2021 at 11:33 AM Jiang, YuX wrote: > > > -Original Message- > > From: dev On Behalf Of > > christian.ehrha...@canonical.com > > Sent: Wednesday, September 1, 2021 5:19 PM > > To: sta...@dpdk.org > > Cc: dev@dpdk.org; Abhishek Marathe ; > > Akhil Goyal ; Ali Alnubani ; > > W

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/i40e: extend the polling times of vf reset

2021-09-06 Thread David Marchand
On Mon, Sep 6, 2021 at 9:08 AM Qiming Chen wrote: > > In the embedded RTOS environment, the x722 controller Ethernet card of > the d2146nt chip, the vfio user mode driver takes over 8 vf ports in > turn, but i40evf_check_vf_reset_done will probably fail. > > This issue has been discussed with inte

Re: [dpdk-dev] 19.11.10 patches review and test

2021-09-06 Thread Jiang, YuX
> -Original Message- > From: dev On Behalf Of > christian.ehrha...@canonical.com > Sent: Wednesday, September 1, 2021 5:19 PM > To: sta...@dpdk.org > Cc: dev@dpdk.org; Abhishek Marathe ; > Akhil Goyal ; Ali Alnubani ; > Walker, Benjamin ; David Christensen > ; Govindharajan, Hariprasad > ;

Re: [dpdk-dev] [PATCH] app/testpmd: fix random number of Tx segments

2021-09-06 Thread Li, Xiaoyun
Hi > -Original Message- > From: Zhang, AlvinX > Sent: Thursday, September 2, 2021 16:20 > To: Li, Xiaoyun ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Zhang, AlvinX ; sta...@dpdk.org > Subject: [PATCH] app/testpmd: fix random number of Tx segments > > When random number of segments in Tx

[dpdk-dev] [PATCH 4/4] examples/vhost: support vhost async dequeue data path

2021-09-06 Thread Wenwu Ma
This patch is to add vhost async dequeue data-path in vhost sample. vswitch can leverage IOAT to accelerate vhost async dequeue data-path. Signed-off-by: Wenwu Ma Reviewed-by: Maxime Coquelin --- doc/guides/sample_app_ug/vhost.rst | 9 +- examples/vhost/ioat.c | 61 +++-- ex

[dpdk-dev] [PATCH 3/4] examples/vhost: use a new API to query remaining ring space

2021-09-06 Thread Wenwu Ma
A new API for querying the remaining descriptor ring capacity is available, so we use the new one instead of the old one. Signed-off-by: Wenwu Ma Reviewed-by: Maxime Coquelin --- examples/vhost/ioat.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/vhost/ioat.c

  1   2   >