[dpdk-dev] [v2] security: add telemetry endpoint for cryptodev security capabilities

2021-10-30 Thread Gowrishankar Muthukrishnan
Add telemetry endpoint for cryptodev security capabilities. Signed-off-by: Gowrishankar Muthukrishnan --- v2: - updated doc and release notes --- doc/guides/prog_guide/rte_security.rst | 22 ++ doc/guides/rel_notes/release_21_11.rst | 5 ++ lib/security/rte_security.c| 98 +

Re: [dpdk-dev] [PATCH v13 4/7] net/iavf: add iAVF IPsec inline crypto support

2021-10-30 Thread David Marchand
On Thu, Oct 28, 2021 at 6:21 PM Radu Nicolau wrote: > +static const struct rte_cryptodev_symmetric_capability * > +get_capability(struct iavf_security_ctx *iavf_sctx, > + uint32_t algo, uint32_t type) > +{ > + const struct rte_cryptodev_capabilities *capability; > + int i = 0; >

[dpdk-dev] [v1] security: add telemetry endpoint for cryptodev security capabilities

2021-10-30 Thread Gowrishankar Muthukrishnan
Add telemetry endpoint for cryptodev security capabilities. Signed-off-by: Gowrishankar Muthukrishnan --- v1: - forked from patch 20009 "crypto/cnxk: add telemetry endpoints to cryptodev" to integrate changes in lib/rte_security itself. --- lib/security/rte_security.c | 98 ++

[dpdk-dev] [v9] crypto/cnxk: add telemetry endpoints to cryptodev

2021-10-30 Thread Gowrishankar Muthukrishnan
Add telemetry endpoints to cnxk secure cryptodev capabilities. Signed-off-by: Gowrishankar Muthukrishnan --- v9: - moved rte_security_capability into rte_security lib telemetry. --- .../crypto/cnxk/cnxk_cryptodev_telemetry.c| 81 +++ drivers/crypto/cnxk/meson.build

Re: [dpdk-dev] [PATCH 1/3] eventdev: allow for event devices requiring maintenance

2021-10-30 Thread Mattias Rönnblom
On 2021-10-29 17:17, Jerin Jacob wrote: > On Fri, Oct 29, 2021 at 8:33 PM Mattias Rönnblom > wrote: >> On 2021-10-29 16:38, Jerin Jacob wrote: >>> On Tue, Oct 26, 2021 at 11:02 PM Mattias Rönnblom >>> wrote: Extend Eventdev API to allow for event devices which require various forms of i

Re: [dpdk-dev] [PATCH v2] vhost: remove async dma map status

2021-10-30 Thread Ding, Xuan
Hi Maxime, >-Original Message- >From: Maxime Coquelin >Sent: Friday, October 29, 2021 6:36 PM >To: Ding, Xuan ; dev@dpdk.org; Xia, Chenbo > >Cc: Hu, Jiayu ; Burakov, Anatoly > >Subject: Re: [PATCH v2] vhost: remove async dma map status > > > >On 10/27/21 12:00, Xuan Ding wrote: >> Async d

Re: [dpdk-dev] [PATCH 1/3] event/cnxk: fix packet Tx overflow

2021-10-30 Thread Jerin Jacob
On Mon, Oct 4, 2021 at 2:07 PM wrote: > > From: Pavan Nikhilesh > > The transmit loop incorrectly assumes that nb_mbufs is always > a multiple of 4 when transmitting an event vector. The max > size of the vector might not be reached and pushed out early > due to timeout. > > Fixes: 761a321acf91 (

Re: [dpdk-dev] [PATCH] common/cnxk: add telemetry endpoints to sso

2021-10-30 Thread Jerin Jacob
On Thu, Sep 2, 2021 at 1:23 PM wrote: > > From: Pavan Nikhilesh > > Add telemetry endpoints for sso > sso -> SSO Please rebase for-main]dell[dpdk-next-eventdev] $ git pw series apply 18616 Applying: common/cnxk: add telemetry endpoints to sso error: sha1 information is lacking or useless (driv

Re: [dpdk-dev] [PATCH v1] test/crypto: fix: test vectors for zuc 256 bit key

2021-10-30 Thread Vidya Sagar Velumuri
Hi Pablo, Tried the test vector zuc256_test_case_auth_1 and the digest did not match with the generated digest in our platform. As per spec, IV[i] for i = 17 to 24 are 6-bit string occupying the 6 least signi cant bits of a byte. But in the vectors, The values in the IV(byte -17 to 24) are > 0

[dpdk-dev] [PATCH 1/6] dma/hisilicon: add device probe and remove functions

2021-10-30 Thread Chengwen Feng
Add the basic device probe and remove functions and initial documentation for new hisilicon DMA drivers. Maintainers update is also included in this patch. Signed-off-by: Chengwen Feng --- MAINTAINERS| 5 ++ doc/guides/dmadevs/hisilicon.rst | 21 + doc/gu

[dpdk-dev] [PATCH 3/6] dma/hisilicon: add control path functions

2021-10-30 Thread Chengwen Feng
This patch add control path functions for Kunpeng DMA devices. Signed-off-by: Chengwen Feng --- doc/guides/dmadevs/hisilicon.rst| 10 + drivers/dma/hisilicon/hisi_dmadev.c | 385 drivers/dma/hisilicon/hisi_dmadev.h | 99 +++ 3 files changed, 494 insertions(

[dpdk-dev] [PATCH 2/6] dma/hisilicon: add dmadev instances create and destroy

2021-10-30 Thread Chengwen Feng
This patch add dmadev instances create during the PCI probe, and destroy them during the PCI remove. Internal structures and HW definitions was also included. Signed-off-by: Chengwen Feng --- doc/guides/dmadevs/hisilicon.rst| 10 ++ drivers/dma/hisilicon/hisi_dmadev.c | 212

[dpdk-dev] [PATCH 4/6] dma/hisilicon: add data path functions

2021-10-30 Thread Chengwen Feng
This patch add data path functions for Kunpeng DMA devices. Signed-off-by: Chengwen Feng --- drivers/dma/hisilicon/hisi_dmadev.c | 206 drivers/dma/hisilicon/hisi_dmadev.h | 16 +++ 2 files changed, 222 insertions(+) diff --git a/drivers/dma/hisilicon/hisi_dmadev.c

[dpdk-dev] [PATCH 0/6] dma: add hisilicon DMA driver

2021-10-30 Thread Chengwen Feng
This patch set add hisilicon DMA driver. Chengwen Feng (6): dma/hisilicon: add device probe and remove functions dma/hisilicon: add dmadev instances create and destroy dma/hisilicon: add control path functions dma/hisilicon: add data path functions dma/hisilicon: support multi-process

[dpdk-dev] [PATCH 5/6] dma/hisilicon: support multi-process

2021-10-30 Thread Chengwen Feng
This patch add multi-process support for Kunpeng DMA devices. Signed-off-by: Chengwen Feng --- drivers/dma/hisilicon/hisi_dmadev.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/dma/hisilicon/hisi_dmadev.c b/drivers/dma/hisilicon/hisi_dmadev.c

[dpdk-dev] [PATCH 6/6] devbind: add Kunpeng DMA to dmadev category

2021-10-30 Thread Chengwen Feng
add Kunpeng DMA device ID to dmadev category. Signed-off-by: Chengwen Feng --- usertools/dpdk-devbind.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py index bb00f43702..a74a68ed82 100755 --- a/usertools/dpdk-devbind

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-30 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Honnappa > Nagarahalli > Sent: Monday, 4 October 2021 18.36 > > > > > > > > > > > Current mempool per core cache implementation is based on > pointer > > > > > For most architectures, each pointer consumes 64b Replace it > with > > > > > inde

Re: [dpdk-dev] [RFC] ethdev: improve link speed to string

2021-10-30 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Min Hu (Connor) > Sent: Friday, 17 September 2021 02.44 > > Agree with you. Thanks Andrew > > 在 2021/9/16 16:21, Andrew Rybchenko 写道: > > On 9/16/21 11:16 AM, Min Hu (Connor) wrote: > >> Hi, Andrew, > >> > >> 在 2021/9/16 14:22, Andrew Rybchen