[dpdk-dev] [PATCH v1] net/ice: fix wrong IP RSS configuration template

2021-05-08 Thread Ting Xu
To enable IP fragment RSS hash, ICE_FLOW_SEG_HDR_IPV_FRAG is added to the IP RSS configuration template, together with ICE_FLOW_SEG_HDR_IPV_OTHER. It will cause error when associating flow profile. And packet id field for RSS is not correctly added when IP fragment is enabled. To fix this issue, th

Re: [dpdk-dev] [PATCH] raw/ioat: fix parameter shadow warning

2021-05-08 Thread Pai G, Sunil
Tested-by: Sunil Pai G

[dpdk-dev] [Bug 699] [dpdk-21.05] pvp_virtio_user_multi_queues_port_restart: virtio-user can't recieve packets when use packed ring and ring size is 255

2021-05-08 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=699 Bug ID: 699 Summary: [dpdk-21.05] pvp_virtio_user_multi_queues_port_restart: virtio-user can't recieve packets when use packed ring and ring size is 255 Product:

[dpdk-dev] [PATCH] net/hns3: fix TM QCN error event report by MSIX

2021-05-08 Thread Min Hu (Connor)
From: Chengwen Feng The TM QCN error event should report by RAS other than MSIX. Also this patch adds fifo int enable configuration before the TM QCN error event is enabled. Fixes: f53a793bb7c2 ("net/hns3: add more hardware error types") Fixes: 3903c05382c5 ("net/hns3: remove read when enabling

[dpdk-dev] [RFC] lib/ethdev: add dev configured flag

2021-05-08 Thread Huisong Li
Currently, if dev_configure is not invoked or fails to be invoked, users can still invoke dev_start successfully. This patch adds a "dev_configured" flag in "rte_eth_dev_data" to control whether dev_start can be invoked. Signed-off-by: Huisong Li --- lib/ethdev/rte_ethdev.c | 11 +++

Re: [dpdk-dev] [PATCH v3] vhost: read last used index once

2021-05-08 Thread Ling, WeiX
Hi Balazs Nemeth, Your patch cause a bug about virtio-user can't recieve packets when use packed ring and ring size is 255. Please have a look about it. https://bugs.dpdk.org/show_bug.cgi?id=699 Thanks. Regards, Ling Wei > -Original Message- > From: dev On Behalf Of Balazs Nemeth >

[dpdk-dev] [PATCH v2] net/ice: remove redundant RSS configuration for GTPU

2021-05-08 Thread Wenjun Wu
Originally, the default RSS for GTPU is inner fields. Now, we hope outer RSS for GTPU to be the default. Since RSS for ipv4, RSS for ipv6, RSS for UDP and RSS for TCP can cover the cases of outer RSS for GTPU, this patch deletes redundant default RSS configurations for GTPU. Signed-off-by: Wenjun

Re: [dpdk-dev] [EXT] [PATCH v3 01/15] drivers: introduce mlx5 crypto PMD

2021-05-08 Thread Akhil Goyal
> diff --git a/drivers/crypto/mlx5/meson.build > b/drivers/crypto/mlx5/meson.build > new file mode 100644 > index 00..fd00283665 > --- /dev/null > +++ b/drivers/crypto/mlx5/meson.build > @@ -0,0 +1,26 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright 2021 Mellanox Technologies, L

Re: [dpdk-dev] [EXT] [PATCH v3 15/15] crypto/mlx5: set feature flags and capabilities

2021-05-08 Thread Akhil Goyal
> + > +Overview > + > + > +The device can provide disk encryption services, allowing data encryption > +and decryption towards a disk. Having all encryption/decryption > +operations done in a single device can reduce cost and overheads of the > related > +FIPS certification, as ConnectX-6 i

Re: [dpdk-dev] [EXT] [PATCH v3 13/15] crypto/mlx5: add enqueue and dequeue operations

2021-05-08 Thread Akhil Goyal
> @@ -685,9 +919,8 @@ mlx5_crypto_pci_probe(struct rte_pci_driver > *pci_drv, > DRV_LOG(INFO, > "Crypto device %s was created successfully.", ibv->name); > crypto_dev->dev_ops = &mlx5_crypto_ops; > - crypto_dev->dequeue_burst = NULL; > - crypto_dev->enqueue_burst =

Re: [dpdk-dev] [EXT] [PATCH v3 09/15] crypto/mlx5: adjust to the multiple data unit API

2021-05-08 Thread Akhil Goyal
> From: Shiri Kuzin > > In AES-XTS the data to be encrypted\decrypted does not have to be > in multiples of 16B size, the unit of data is called data-unit. > > As a result of patch [1] a new field is added to the cipher capability, > called dataunit_set, where the devices can report the range of

Re: [dpdk-dev] [EXT] [PATCH v3 10/15] crypto/mlx5: add keytag device argument

2021-05-08 Thread Akhil Goyal
> From: Suanming Mou > > A keytag is a piece of data encrypted together with a DEK. > > When a DEK is referenced by an MKEY.bsf through its index, the keytag is > also supplied in the BSF as plaintext. The HW will decrypt the DEK (and > the attached keytag) and will fail the operation if the key

Re: [dpdk-dev] [EXT] [PATCH v3 03/15] crypto/mlx5: support session operations

2021-05-08 Thread Akhil Goyal
> + > +static void > +mlx5_crypto_sym_session_clear(struct rte_cryptodev *dev, > + struct rte_cryptodev_sym_session *sess) > +{ > + struct mlx5_crypto_priv *priv = dev->data->dev_private; > + struct mlx5_crypto_session *sess_private_data = > + g

Re: [dpdk-dev] [EXT] [dpdk-dev v1] crypto/snow3g: add support for digest appended ops

2021-05-08 Thread Akhil Goyal
> This patch enable out-of-place auth-cipher operations where > digest should be encrypted among with the rest of raw data. > It also adds support for partially encrypted digest when using > auth-cipher operations. > > Fixes: 7c87e2d7b359 ("crypto/snow3g: use IPsec library") > Cc: pablo.de.lara.gu

Re: [dpdk-dev] [EXT] [PATCH v3 0/7] test: refactor crypto unit test framework

2021-05-08 Thread Akhil Goyal
Hi Ciara, I see that case " test_snow3g_auth_cipher_test_case_1 " was unsupported on marvell PMDs and was getting skipped, but now after your series it is causing segmentation fault. I guess there is some check missed for digest encrypted case. Can you check? > The current crypto unit test fram

[dpdk-dev] [PATCH] eal: fix memory mapping for 32-bit targets

2021-05-08 Thread Lance Richardson
For 32-bit targets, size_t is normally a 32-bit type and does not have sufficient range to represent 64-bit offsets that can are needed when mapping PCI addresses. Use uint64_t instead. Found when attempting to run 32-bit Linux dpdk-testpmd using VFIO driver: EAL: pci_map_resource(): cannot m

[dpdk-dev] [PATCH v3] eal: fix memory mapping for 32-bit targets

2021-05-08 Thread Lance Richardson
For 32-bit targets, size_t is normally a 32-bit type and does not have sufficient range to represent 64-bit offsets that can are needed when mapping PCI addresses. Use uint64_t instead. Found when attempting to run 32-bit Linux dpdk-testpmd using VFIO driver: EAL: pci_map_resource(): cannot m

Re: [dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-05-08 Thread Honnappa Nagarahalli
> > Thanks for your suggestions, we found that the -fno-tree-vectorize option > works. > PS: This option is not successfully added in the earliest test. > > Solution: > 1. use the -fno-tree-vectorize option to prevent compiler generate auto > vetorization >code, so tha slow-path will work f

Re: [dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-05-08 Thread Honnappa Nagarahalli
> > > On Fri, Apr 30, 2021 at 5:27 PM fengchengwen > wrote: > > > > > > Hi, ALL > > > We have a question for your help: > > > 1. We have two platforms, both of which are ARM64, one of which > supports > > > both NEON and SVE, the other only support NEON. > > > 2. We want to run on both