RE: [PATCH] gro: fix gro with ethernet tail padding bytes

2022-07-27 Thread Hu, Jiayu
Hi Jun, > -Original Message- > From: Jun Qiu > Sent: Wednesday, July 27, 2022 4:01 PM > To: dev@dpdk.org > Cc: Hu, Jiayu ; sta...@dpdk.org > Subject: [PATCH] gro: fix gro with ethernet tail padding bytes > > Exclude CRC fields, the minimum Ethernet packet length is 60 bytes. When > the a

[PATCH V5 17/17] examples/pipeline: call the code generation and build CLI commands

2022-07-27 Thread Cristian Dumitrescu
Update the example CLI scripts with the commands for code generation and shared object library build. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/examples/ethdev.io | 27 + examples/pipeline/examples/fib.cli| 44 +++---

[PATCH V5 16/17] examples/pipelines: remove obsolete tap CLI command

2022-07-27 Thread Cristian Dumitrescu
Remove the tap CLI command, as the file descriptor I/O ports of the pipeline are now configured trough the I/O specification file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 37 - examples/pipeline/obj.c | 89 -

[PATCH V5 15/17] examples/pipeline: rework the link CLI command

2022-07-27 Thread Cristian Dumitrescu
Rework the link CLI command for better alignment with the naming conventions used in the pipeline I/O specification file. Use the library linked list of devices and remove the application list. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 81 ++

[PATCH V5 14/17] examples/pipeline: use the pipeline name query API

2022-07-27 Thread Cristian Dumitrescu
Convert the CLI commands to use the pipeline name query API and remove the linked list of pipeline objects previously maintained by the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c| 268 - exam

[PATCH V5 12/17] examples/pipeline: remove the obsolete port configuration CLI commands

2022-07-27 Thread Cristian Dumitrescu
The pipeline I/O ports configuration is now done through the I/O specification file, hence these CLI commands are no longer needed. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 465 1 file changed, 465 d

[PATCH V5 10/17] examples/pipeline: add CLI command for shared library build

2022-07-27 Thread Cristian Dumitrescu
Add CLI command for the shared object library build operation. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 157 +++- 1 file changed, 153 insertions(+), 4 deletions(-) diff --git a/examples/pipeline/cli.c b/

[PATCH V5 13/17] examples/pipeline: remove the obsolete mirroring configuration CLI command

2022-07-27 Thread Cristian Dumitrescu
The pipeline mirroring configuration is done through the I/O specification file, so this CLI command is no longer needed. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 76 - 1 file changed, 76 deletions(-)

[PATCH V5 11/17] examples/pipeline: remove the obsolete pipeline create CLI command

2022-07-27 Thread Cristian Dumitrescu
The pipeline configuration is now done through the I/O specification file, hence this CLI command is no longer needed. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 47 - 1 file changed, 47 deletions(-) d

[PATCH V5 09/17] examples/pipeline: add CLI command for pipeline code generation

2022-07-27 Thread Cristian Dumitrescu
Add CLI command for the pipeline code generation operation. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 61 + 1 file changed, 61 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cl

[PATCH V5 08/17] pipeline: add API for shared library-based pipeline build

2022-07-27 Thread Cristian Dumitrescu
Previously, the pipeline build operation was done based on the specification file (typically produced by the P4 compiler), then the C code with optimized functions for the pipeline actions and instructions was generated, built into a shared object library, loaded and installed into the pipeline in

[PATCH V5 07/17] pipeline: add API for pipeline code generation

2022-07-27 Thread Cristian Dumitrescu
Previously, the C code generation for the pipeline was hidden under the hood; now, we make this an explicit API operation. Besides the functions for the pipeline actions and the pipeline instructions, the generated C source code now includes the pipeline specification structure required for the pip

[PATCH V5 06/17] pipeline: add support for pipeline I/O specification

2022-07-27 Thread Cristian Dumitrescu
Add specification data structure and API for the pipeline I/O ports and related pipeline configuration such as packet mirroring. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 852 +++ lib/pipeline/rte_swx_pip

[PATCH V5 05/17] pipeline: generate the code for pipeline specification structure

2022-07-27 Thread Cristian Dumitrescu
Add support to export the pipeline specification data structure to a C source code file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 622 +++ lib/pipeline/rte_swx_pipeline_spec.h | 5 + 2 files changed, 6

[PATCH V5 04/17] pipeline: rework the specification file-based pipeline build

2022-07-27 Thread Cristian Dumitrescu
Rework the specification file-based pipeline build operation to first parse the specification file into the previously introduced pipeline specification data structure, then use this structure to configure and build the pipeline. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R.

[PATCH V5 03/17] pipeline: add pipeline specification data structure

2022-07-27 Thread Cristian Dumitrescu
Add specification data structure for the entire pipeline. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 21 ++ lib/pipeline/rte_swx_pipeline_spec.h | 32 2 files changed, 53 insertions(+)

[PATCH V5 02/17] pipeline: move specification data structures to internal header

2022-07-27 Thread Cristian Dumitrescu
Move all the pipeline object specification data structures to an internal header file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 126 +-- lib/pipeline/rte_swx_pipeline_spec.h | 176 +++ 2

[PATCH V5 01/17] pipeline: add pipeline name

2022-07-27 Thread Cristian Dumitrescu
Add an unique name to every pipeline. This enables the library to maintain a list of the existing pipeline objects, which can be queried by the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/obj.c | 2 +- lib/pipeline/rte_

[PATCH V4 17/17] examples/pipeline: call the code generation and build CLI commands

2022-07-27 Thread Cristian Dumitrescu
Update the example CLI scripts with the commands for code generation and shared object library build. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/examples/ethdev.io | 27 + examples/pipeline/examples/fib.cli| 44 +++---

[PATCH V4 16/17] examples/pipelines: remove obsolete tap CLI command

2022-07-27 Thread Cristian Dumitrescu
Remove the tap CLI command, as the file descriptor I/O ports of the pipeline are now configured trough the I/O specification file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 37 - examples/pipeline/obj.c | 89 -

[PATCH V4 15/17] examples/pipeline: rework the link CLI command

2022-07-27 Thread Cristian Dumitrescu
Rework the link CLI command for better alignment with the naming conventions used in the pipeline I/O specification file. Use the library linked list of devices and remove the application list. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 81 ++

[PATCH V4 14/17] examples/pipeline: use the pipeline name query API

2022-07-27 Thread Cristian Dumitrescu
Convert the CLI commands to use the pipeline name query API and remove the linked list of pipeline objects previously maintained by the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c| 268 - exam

[PATCH V4 13/17] examples/pipeline: remove the obsolete mirroring configuration CLI command

2022-07-27 Thread Cristian Dumitrescu
The pipeline mirroring configuration is done through the I/O specification file, so this CLI command is no longer needed. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 76 - 1 file changed, 76 deletions(-)

[PATCH V4 12/17] examples/pipeline: remove the obsolete port configuration CLI commands

2022-07-27 Thread Cristian Dumitrescu
The pipeline I/O ports configuration is now done through the I/O specification file, hence these CLI commands are no longer needed. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 465 1 file changed, 465 d

[PATCH V4 11/17] examples/pipeline: remove the obsolete pipeline create CLI command

2022-07-27 Thread Cristian Dumitrescu
The pipeline configuration is now done through the I/O specification file, hence this CLI command is no longer needed. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 47 - 1 file changed, 47 deletions(-) d

[PATCH V4 10/17] examples/pipeline: add CLI command for shared library build

2022-07-27 Thread Cristian Dumitrescu
Add CLI command for the shared object library build operation. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 157 +++- 1 file changed, 153 insertions(+), 4 deletions(-) diff --git a/examples/pipeline/cli.c b/

[PATCH V4 09/17] examples/pipeline: add CLI command for pipeline code generation

2022-07-27 Thread Cristian Dumitrescu
Add CLI command for the pipeline code generation operation. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 61 + 1 file changed, 61 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cl

[PATCH V4 08/17] pipeline: add API for shared library-based pipeline build

2022-07-27 Thread Cristian Dumitrescu
Previously, the pipeline build operation was done based on the specification file (typically produced by the P4 compiler), then the C code with optimized functions for the pipeline actions and instructions was generated, built into a shared object library, loaded and installed into the pipeline in

[PATCH V4 07/17] pipeline: add API for pipeline code generation

2022-07-27 Thread Cristian Dumitrescu
Previously, the C code generation for the pipeline was hidden under the hood; now, we make this an explicit API operation. Besides the functions for the pipeline actions and the pipeline instructions, the generated C source code now includes the pipeline specification structure required for the pip

[PATCH V4 06/17] pipeline: add support for pipeline I/O specification

2022-07-27 Thread Cristian Dumitrescu
Add specification data structure and API for the pipeline I/O ports and related pipeline configuration such as packet mirroring. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 852 +++ lib/pipeline/rte_swx_pip

[PATCH V4 05/17] pipeline: generate the code for pipeline specification structure

2022-07-27 Thread Cristian Dumitrescu
Add support to export the pipeline specification data structure to a C source code file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 622 +++ lib/pipeline/rte_swx_pipeline_spec.h | 5 + 2 files changed, 6

[PATCH V4 04/17] pipeline: rework the specification file-based pipeline build

2022-07-27 Thread Cristian Dumitrescu
Rework the specification file-based pipeline build operation to first parse the specification file into the previously introduced pipeline specification data structure, then use this structure to configure and build the pipeline. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R.

[PATCH V4 03/17] pipeline: add pipeline specification data structure

2022-07-27 Thread Cristian Dumitrescu
Add specification data structure for the entire pipeline. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 21 ++ lib/pipeline/rte_swx_pipeline_spec.h | 32 2 files changed, 53 insertions(+)

[PATCH V4 02/17] pipeline: move specification data structures to internal header

2022-07-27 Thread Cristian Dumitrescu
Move all the pipeline object specification data structures to an internal header file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 126 +-- lib/pipeline/rte_swx_pipeline_spec.h | 176 +++ 2

[PATCH V4 01/17] pipeline: add pipeline name

2022-07-27 Thread Cristian Dumitrescu
Add an unique name to every pipeline. This enables the library to maintain a list of the existing pipeline objects, which can be queried by the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/obj.c | 2 +- lib/pipeline/rte_

[PATCH V3 17/17] examples/pipeline: call the code generation and build CLI commands

2022-07-27 Thread Cristian Dumitrescu
Update the example CLI scripts with the commands for code generation and shared object library build. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/examples/ethdev.io | 27 + examples/pipeline/examples/fib.cli| 44 +++---

[PATCH V3 16/17] examples/pipelines: remove obsolete tap CLI command

2022-07-27 Thread Cristian Dumitrescu
Remove the tap CLI command, as the file descriptor I/O ports of the pipeline are now configured trough the I/O specification file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 37 - examples/pipeline/obj.c | 89 -

[PATCH V3 15/17] examples/pipeline: rework the link CLI command

2022-07-27 Thread Cristian Dumitrescu
Rework the link CLI command for better alignment with the naming conventions used in the pipeline I/O specification file. Use the library linked list of devices and remove the application list. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 81 ++

[PATCH V3 14/17] examples/pipeline: use the pipeline name query API

2022-07-27 Thread Cristian Dumitrescu
Convert the CLI commands to use the pipeline name query API and remove the linked list of pipeline objects previously maintained by the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c| 268 - exam

[PATCH V3 13/17] examples/pipeline: remove the obsolete mirroring configuration CLI command

2022-07-27 Thread Cristian Dumitrescu
The pipeline mirroring configuration is done through the I/O specification file, so this CLI command is no longer needed. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 76 - 1 file changed, 76 deletions(-)

[PATCH V3 12/17] examples/pipeline: remove the obsolete port configuration CLI commands

2022-07-27 Thread Cristian Dumitrescu
The pipeline I/O ports configuration is now done through the I/O specification file, hence these CLI commands are no longer needed. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 465 1 file changed, 465 d

[PATCH V3 11/17] examples/pipeline: remove the obsolete pipeline create CLI command

2022-07-27 Thread Cristian Dumitrescu
The pipeline configuration is now done through the I/O specification file, hence this CLI command is no longer needed. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 47 - 1 file changed, 47 deletions(-) d

[PATCH V3 10/17] examples/pipeline: add CLI command for shared library build

2022-07-27 Thread Cristian Dumitrescu
Add CLI command for the shared object library build operation. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 157 +++- 1 file changed, 153 insertions(+), 4 deletions(-) diff --git a/examples/pipeline/cli.c b/

[PATCH V3 09/17] examples/pipeline: add CLI command for pipeline code generation

2022-07-27 Thread Cristian Dumitrescu
Add CLI command for the pipeline code generation operation. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 61 + 1 file changed, 61 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cl

[PATCH V3 08/17] pipeline: add API for shared library-based pipeline build

2022-07-27 Thread Cristian Dumitrescu
Previously, the pipeline build operation was done based on the specification file (typically produced by the P4 compiler), then the C code with optimized functions for the pipeline actions and instructions was generated, built into a shared object library, loaded and installed into the pipeline in

[PATCH V3 07/17] pipeline: add API for pipeline code generation

2022-07-27 Thread Cristian Dumitrescu
Previously, the C code generation for the pipeline was hidden under the hood; now, we make this an explicit API operation. Besides the functions for the pipeline actions and the pipeline instructions, the generated C source code now includes the pipeline specification structure required for the pip

[PATCH V3 06/17] pipeline: add support for pipeline I/O specification

2022-07-27 Thread Cristian Dumitrescu
Add specification data structure and API for the pipeline I/O ports and related pipeline configuration such as packet mirroring. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 852 +++ lib/pipeline/rte_swx_pip

[PATCH V3 05/17] pipeline: generate the code for pipeline specification structure

2022-07-27 Thread Cristian Dumitrescu
Add support to export the pipeline specification data structure to a C source code file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 622 +++ lib/pipeline/rte_swx_pipeline_spec.h | 5 + 2 files changed, 6

[PATCH V3 04/17] pipeline: rework the specification file-based pipeline build

2022-07-27 Thread Cristian Dumitrescu
Rework the specification file-based pipeline build operation to first parse the specification file into the previously introduced pipeline specification data structure, then use this structure to configure and build the pipeline. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R.

[PATCH V3 03/17] pipeline: add pipeline specification data structure

2022-07-27 Thread Cristian Dumitrescu
Add specification data structure for the entire pipeline. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 21 ++ lib/pipeline/rte_swx_pipeline_spec.h | 32 2 files changed, 53 insertions(+)

[PATCH V3 02/17] pipeline: move specification data structures to internal header

2022-07-27 Thread Cristian Dumitrescu
Move all the pipeline object specification data structures to an internal header file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 126 +-- lib/pipeline/rte_swx_pipeline_spec.h | 176 +++ 2

[PATCH V3 01/17] pipeline: add pipeline name

2022-07-27 Thread Cristian Dumitrescu
Add an unique name to every pipeline. This enables the library to maintain a list of the existing pipeline objects, which can be queried by the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/obj.c | 2 +- lib/pipeline/rte_

Re: [RFC v2] non-temporal memcpy

2022-07-27 Thread Stanisław Kardach
On Wed, 27 Jul 2022, 21:53 Honnappa Nagarahalli, < honnappa.nagaraha...@arm.com> wrote: > > > > > > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > > > Sent: Wednesday, 27 July 2022 19.38 > > > > > > > [...] > > > > > > > > > > > > Yes, x86 needs 16B alignment for NT load/store

Re: [RFC] EAL: legacy memory fixed address translations

2022-07-27 Thread Don Wallwork
On 7/27/2022 4:36 PM, Dmitry Kozlyuk wrote: I now understand more about_why_ you want this feature but became less confident_what_ do you're proposing specifically. Let me try to give a trivial example of how it would work to make sure we're on the same page and then we can get back to detail

Re: [RFC] EAL: legacy memory fixed address translations

2022-07-27 Thread Dmitry Kozlyuk
I now understand more about _why_ you want this feature but became less confident _what_ do you're proposing specifically. >> 2022-07-26 14:33 (UTC-0400), Don Wallwork: >>> This proposal describes a method for translating any huge page >>> address from virtual to physical or vice versa using sim

RE: [RFC v2] non-temporal memcpy

2022-07-27 Thread Honnappa Nagarahalli
> > > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > > Sent: Wednesday, 27 July 2022 19.38 > > > > [...] > > > > > > > > > Yes, x86 needs 16B alignment for NT load/stores But that's > > supposed > > > > to be arch > > > > > specific limitation, that we probably want to hide,

Re: [RFC] EAL: legacy memory fixed address translations

2022-07-27 Thread Don Wallwork
On 7/27/2022 3:12 PM, Stephen Hemminger wrote: On Wed, 27 Jul 2022 13:20:22 -0400 Don Wallwork wrote: When drivers need to process a large number of memory blocks, these are typically packets in the form of mbufs, which already have IOVA attached, so there is no translation. Does translation o

Re: [RFC] EAL: legacy memory fixed address translations

2022-07-27 Thread Stephen Hemminger
On Wed, 27 Jul 2022 13:20:22 -0400 Don Wallwork wrote: > > > > When drivers need to process a large number of memory blocks, > > these are typically packets in the form of mbufs, > > which already have IOVA attached, so there is no translation. > > Does translation of mbuf VA to PA with the propo

Re: [RFC v2] non-temporal memcpy

2022-07-27 Thread Stephen Hemminger
On Wed, 27 Jul 2022 20:49:59 +0200 Morten Brørup wrote: > I'm considering rte_memcpy_nt() a performance optimized variant of memcpy(), > where the performance gain is less cache pollution. Thus, silent fallback to > memcpy() should suffice. Have you looked at existing Glibc code? last time I

RE: [RFC v2] non-temporal memcpy

2022-07-27 Thread Morten Brørup
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Wednesday, 27 July 2022 19.38 > [...] > > > > > > Yes, x86 needs 16B alignment for NT load/stores But that's > supposed > > > to be arch > > > > specific limitation, that we probably want to hide, no? > > > > Correct. How

RE: [PATCH 2/2] crypto/ipsec_mb: enable IPsec on Arm platform

2022-07-27 Thread Honnappa Nagarahalli
> > > > On Wed, Jul 27, 2022 at 10:14 AM Ruifeng Wang > > wrote: > > > > > > Arm port of ipsec_mb library [1] has different header file name than > > > the Intel ipsec_mb library. Proper header name is picked according > > > to the architecture to get the code compile when ipsec_mb is > > > inst

RE: [RFC v2] non-temporal memcpy

2022-07-27 Thread Honnappa Nagarahalli
> > > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > > Sent: Monday, 25 July 2022 03.18 > > > > [...] > > > > Yes, x86 needs 16B alignment for NT load/stores But that's supposed > > to be arch > > > specific limitation, that we probably want to hide, no? > > Correct. Howev

Re: [RFC] EAL: legacy memory fixed address translations

2022-07-27 Thread Don Wallwork
On 7/26/2022 3:59 PM, Dmitry Kozlyuk wrote: Hi Don, 2022-07-26 14:33 (UTC-0400), Don Wallwork: This proposal describes a method for translating any huge page address from virtual to physical or vice versa using simple addition or subtraction of a single fixed value. This allows devices to effic

[PATCH] net/mlx5: fix detection of LRO support

2022-07-27 Thread Michael Baum
One of the conditions to allow LRO offload is the DV configuration. The function incorrectly checks the DV configuration before initializing it by the user devarg; hence, LRO cannot be allowed. This patch moves this check to mlx5_shared_dev_ctx_args_config, where DV configuration is initialized.

RE: [PATCH v11] sched: enable CMAN at runtime

2022-07-27 Thread Danilewicz, MarcinX
Hi Thomas, Could you merge this change with the latest DPDK? Thanks! Kind Regards, /Marcin > -Original Message- > From: Singh, Jasvinder > Sent: Tuesday, July 26, 2022 3:49 PM > To: Danilewicz, MarcinX ; dev@dpdk.org; > Dumitrescu, Cristian > Cc: Ajmera, Megha > Subject: RE: [PATCH

RE: [RFC v2] non-temporal memcpy

2022-07-27 Thread Morten Brørup
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Monday, 25 July 2022 03.18 > [...] > > Yes, x86 needs 16B alignment for NT load/stores But that's supposed > to be arch > > specific limitation, that we probably want to hide, no? Correct. However, optional hints for opt

RE: [PATCH v2 00/13] telemetry JSON escaping and other enhancements

2022-07-27 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Wednesday, 27 July 2022 11.13 > > On Wed, Jul 27, 2022 at 09:51:04AM +0800, fengchengwen wrote: > > Hi Bruce, > > > > I think escape the string at begin (following function) seem more > simple: > > rte_tel_data_string > >

[PATCH v2 1/3] net: rename octeon ep PMD

2022-07-27 Thread Sathesh Edara
This patch renames octeon end point driver from octeontx_ep to octeon_ep to enable single unified driver to support current OcteonTx and future Octeon PCI endpoint NICs to reflect common driver for all Octeon based PCI endpoint NICs. Signed-off-by: Sathesh Edara --- MAINTAINERS

[PATCH v2 0/3] net/octeon_ep: rename driver and add features

2022-07-27 Thread Sathesh Edara
This patch set renames the net/octeontx_ep driver to net/octeon_ep and 2nd and 3rd patches add support for basic stats and link status. changes in v2: Added new features in the renamed driver. Sathesh Edara (3): net: rename octeon ep PMD net/octeon_ep: support basic stats net/octeon_ep: su

[PATCH v2 3/3] net/octeon_ep: support link status

2022-07-27 Thread Sathesh Edara
Added functionality to update link speed, duplex mode and link state. Signed-off-by: Sathesh Edara --- doc/guides/nics/features/octeon_ep.ini | 1 + drivers/net/octeon_ep/otx_ep_ethdev.c | 17 + 2 files changed, 18 insertions(+) diff --git a/doc/guides/nics/features/octeon_ep.

[PATCH v2 2/3] net/octeon_ep: support basic stats

2022-07-27 Thread Sathesh Edara
Added functionality to fetch and reset ethdev stats. Signed-off-by: Sathesh Edara --- doc/guides/nics/features/octeon_ep.ini | 1 + drivers/net/octeon_ep/otx_ep_ethdev.c | 52 ++ 2 files changed, 53 insertions(+) diff --git a/doc/guides/nics/features/octeon_ep.ini b/d

Re: [PATCH v2 00/13] telemetry JSON escaping and other enhancements

2022-07-27 Thread Bruce Richardson
On Wed, Jul 27, 2022 at 09:51:04AM +0800, fengchengwen wrote: > Hi Bruce, > > I think escape the string at begin (following function) seem more simple: > rte_tel_data_string > rte_tel_data_add_array_string > rte_tel_data_add_dict_string > > int > rte_tel_data_string(struct rte_t

[PATCH] net/ice: refactor proto_ext to remove global variable

2022-07-27 Thread Kevin Liu
The ice has the feature to extract protocol fields into flex descriptor by programming per queue. However, the dynamic field for proto_ext are allocated by PMD, it is the responsibility of application to reserved the field, before start DPDK. Application with parse the offset and proto_ext name to

Re: [PATCH 1/1] vhost: support VIRTIO_F_RING_RESET for vhost-user

2022-07-27 Thread Kangjie Xu
This patch will be updated in the future. We'll fix some issues based on some review comments from QEMU community. We intend to add a new vhost protocol message for virtqueue reset. Please let me know any questions or suggestions you might have. Thanks 在 2022/7/19 15:26, Kangjie Xu 写道: Add V

[PATCH 2/2] crypto/ipsec_mb: enable IPsec on Arm platform

2022-07-27 Thread Ashwin Sekhar T K
Acked-by: Ashwin Sekhar T K

RE: [PATCH v2] crypto/ipsec_mb: enable support for arm64

2022-07-27 Thread Ashwin Sekhar Thalakalath Kottilveetil
Hi Ruifeng, Thanks for this. Initially, I had made a local hack to my IPSEC MB build script which was creating intel-ipsec-mb.h as a softlink to ipsec-mb.h . Later I forgot to remove this hack. So I didn't catch this. Regards, Ashwin Sekhar T K > -Original Message- > From: Ruifeng Wa

RE: [PATCH] gro: fix gro with tcp push flag

2022-07-27 Thread Jun Qiu
I think this delay is tolerable. Many TCP stacks do not take special care of PUSH packets when receiving them. All received packets with data will trigger Poll events. The patch is simple to implement and easy to understand, similar to how the kernel stack is handled. From: kumaraparameshwaran

RE: [PATCH 2/2] crypto/ipsec_mb: enable IPsec on Arm platform

2022-07-27 Thread Ruifeng Wang
> -Original Message- > From: David Marchand > Sent: Wednesday, July 27, 2022 4:34 PM > To: Ruifeng Wang > Cc: Fan Zhang ; Pablo de Lara > ; Wang, Yipeng1 > ; Gobriel, Sameh ; > Bruce Richardson ; Vladimir Medvedkin > ; Akhil Goyal ; dev > ; Honnappa Nagarahalli ; > nd ; tho...@monjalon.ne

Re: [PATCH 2/2] crypto/ipsec_mb: enable IPsec on Arm platform

2022-07-27 Thread David Marchand
On Wed, Jul 27, 2022 at 10:14 AM Ruifeng Wang wrote: > > Arm port of ipsec_mb library [1] has different header file name than > the Intel ipsec_mb library. Proper header name is picked according to > the architecture to get the code compile when ipsec_mb is installed on > Arm platform. > > And the

RE: [PATCH v2] crypto/ipsec_mb: enable support for arm64

2022-07-27 Thread Ruifeng Wang
> -Original Message- > From: Ashwin Sekhar T K > Sent: Thursday, June 30, 2022 11:41 PM > To: dev@dpdk.org; Fan Zhang ; Pablo de Lara > > Cc: jer...@marvell.com; sk...@marvell.com; skotesh...@marvell.com; > pbhagavat...@marvell.com; kirankum...@marvell.com; > psathe...@marvell.com; asek..

Re: [PATCH v2 02/13] telemetry: fix escaping of invalid json characters

2022-07-27 Thread Bruce Richardson
On Wed, Jul 27, 2022 at 09:13:18AM +0800, fengchengwen wrote: > On 2022/7/26 0:35, Bruce Richardson wrote: > > For string values returned from telemetry, escape any values that cannot > > normally appear in a json string. According to the json spec[1], the > > characters than need to be handled are

Re: [PATCH] eal: change alloc_sz calculation which may cause unnecessarily allocation

2022-07-27 Thread Dmitry Kozlyuk
2022-07-18 09:11 (UTC+0500), Fidaullah Noonari: > In try_expand_heap() alloc_sz is calculated > which may result in unnecessary allocation of whole huge page, > this may cause allocation limit from system or eal Let me suggest a rewording: The amount of memory to allocate from the system for heap

Re: [PATCH v2 02/13] telemetry: fix escaping of invalid json characters

2022-07-27 Thread Bruce Richardson
On Tue, Jul 26, 2022 at 08:25:05PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Monday, 25 July 2022 18.36 > > To: dev@dpdk.org > > Cc: Bruce Richardson; Ciara Power; Keith Wiles > > Subject: [PATCH v2 02/13] telemetry: fix escaping of invalid

[PATCH 2/2] crypto/ipsec_mb: enable IPsec on Arm platform

2022-07-27 Thread Ruifeng Wang
Arm port of ipsec_mb library [1] has different header file name than the Intel ipsec_mb library. Proper header name is picked according to the architecture to get the code compile when ipsec_mb is installed on Arm platform. And the Arm port currently supports ZUC and SNOW3g. Call to other algorith

[PATCH 1/2] crypto/ipsec_mb: remove redundant includes

2022-07-27 Thread Ruifeng Wang
The intel-ipsec-mb header is included by ipsec_mb_private header file. Hence removed intel-ipsec-mb from files that have ipsec_mb_private included. Signed-off-by: Ruifeng Wang --- drivers/crypto/ipsec_mb/pmd_aesni_gcm_priv.h | 2 -- drivers/crypto/ipsec_mb/pmd_aesni_mb_priv.h | 2 -- 2 files ch

[PATCH 0/2] IPsec on Arm

2022-07-27 Thread Ruifeng Wang
This patch set integrates Arm port of ipsec_mb library. ZUC and SNOW3g PMDs are available on Arm platform with this integration. This series depends on: http://patches.dpdk.org/project/dpdk/patch/20220630154123.2565439-1-asek...@marvell.com/ Depends-on: patch-113578 ("crypto/ipsec_mb: enable supp

[PATCH] gro: fix gro with ethernet tail padding bytes

2022-07-27 Thread Jun Qiu
Exclude CRC fields, the minimum Ethernet packet length is 60 bytes. When the actual packet length is less than 60 bytes, padding is added to the tail. When GRO is performed on a packet containing a padding field, mbuf->pkt_len is the one that contains the padding field, which leads to the error of

[Bug 1044] [dpdk-22.07] ice_iavf_fdir: the ipv4/6 gtpu_eh rule not take effect

2022-07-27 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1044 Huang,zhimin (zhiminx.hu...@intel.com) changed: What|Removed |Added Resolution|--- |FIXED Status

[PATCH] event/cnxk: move crypto adapter ops to respective files

2022-07-27 Thread Shijith Thotton
Moved the common crypto adapter ops to file specific to eventdev adapters. Signed-off-by: Shijith Thotton --- drivers/event/cnxk/cnxk_eventdev.c | 121 --- drivers/event/cnxk/cnxk_eventdev.h | 10 +- drivers/event/cnxk/cnxk_eventdev_adptr.c | 115