Re: [RFC PATCH 00/29] cover letter for net/qdma PMD

2022-07-19 Thread aman . kumar
On 19/07/22 5:42 pm, Thomas Monjalon wrote: 18/07/2022 20:15, aman.ku...@vvdntech.in: > On 07/07/22 7:49 pm, Hemant Agrawal wrote: >> >> On 7/7/2022 7:45 PM, Thomas Monjalon wrote: >>> 07/07/2022 15:55, Aman Kumar: >>>> On 07/07/22 12:27 pm, Thomas Monjalon

Re: [RFC PATCH 00/29] cover letter for net/qdma PMD

2022-07-18 Thread aman . kumar
On 07/07/22 7:49 pm, Hemant Agrawal wrote: On 7/7/2022 7:45 PM, Thomas Monjalon wrote: > 07/07/2022 15:55, Aman Kumar: >> On 07/07/22 12:27 pm, Thomas Monjalon wrote: >>> 06/07/2022 09:51, Aman Kumar: >>>> This patch series provides net PMD for VVDN's NR(5G)

Re: [RFC PATCH 00/29] cover letter for net/qdma PMD

2022-07-07 Thread Aman Kumar
On 07/07/22 12:27 pm, Thomas Monjalon wrote: 06/07/2022 09:51, Aman Kumar: This patch series provides net PMD for VVDN's NR(5G) Hi-PHY solution over T1 telco card. These telco accelerator NIC cards are targeted for ORAN DU systems to offload inline NR Hi-PHY (split 7.2) operations. For t

Re: [RFC PATCH 05/29] net/qdma: add device init and uninit functions

2022-07-06 Thread Aman Kumar
On 06/07/22 9:05 pm, Stephen Hemminger wrote: On Wed, 6 Jul 2022 13:21:55 +0530 Aman Kumar wrote: +/* parse a sysfs file containing one integer value */ +static int parse_sysfs_value(const char *filename, uint32_t *val) +{ + FILE *f; + char buf[BUFSIZ]; + char *end = NULL

Re: [RFC PATCH 04/29] net/qdma: add logging support

2022-07-06 Thread Aman Kumar
On 06/07/22 8:57 pm, Stephen Hemminger wrote: On Wed, 6 Jul 2022 13:21:54 +0530 Aman Kumar wrote: +extern int qdma_logtype_pmd; +#define PMD_DRV_LOG(level, fmt, args...) \ + rte_log(RTE_LOG_ ## level, qdma_logtype_pmd, "%s(): " \ + fmt "\n", __func__

[RFC PATCH 29/29] net/qdma: add stats PMD ops for PF and VF

2022-07-06 Thread Aman Kumar
This patch implements PMD ops related to stats for both PF and VF functions. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma.h | 3 +- drivers/net/qdma/qdma_devops.c| 114 +++--- drivers/net/qdma/qdma_rxtx.c | 4 ++ drivers/net/qdma

[RFC PATCH 28/29] net/qdma: add additional debug APIs

2022-07-06 Thread Aman Kumar
this patch implements function to debug and dump PMD/QDMA specific data. Signed-off-by: Aman Kumar --- drivers/net/qdma/meson.build |1 + drivers/net/qdma/qdma_xdebug.c | 1072 2 files changed, 1073 insertions(+) create mode 100644 drivers/net/qdma

[RFC PATCH 27/29] net/qdma: add device specific APIs for export

2022-07-06 Thread Aman Kumar
this patch defines few PMD specific APIs to be directly used by the apps. such an example is to select queue modes between MM(memory mapped) or ST(streaming). Signed-off-by: Aman Kumar --- drivers/net/qdma/meson.build|1 + drivers/net/qdma/rte_pmd_qdma.c | 1728

[RFC PATCH 26/29] net/qdma: add datapath burst API for VF

2022-07-06 Thread Aman Kumar
this patch implements routine for dev_start and dev_stop PMD ops and adds support for RX/TX datapath burst APIs for VF. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma_vf_ethdev.c | 61 +++ 1 file changed, 61 insertions(+) diff --git a/drivers/net/qdma

[RFC PATCH 25/29] net/qdma: add basic PMD ops for VF

2022-07-06 Thread Aman Kumar
this patch adds dev_configure, queue start/stop ops for VF devices. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma_vf_ethdev.c | 641 ++ 1 file changed, 641 insertions(+) diff --git a/drivers/net/qdma/qdma_vf_ethdev.c b/drivers/net/qdma/qdma_vf_ethdev.c index

[RFC PATCH 24/29] net/qdma: add Rx/Tx queue setup routine for VF devices

2022-07-06 Thread Aman Kumar
Rx/Tx queue initialization routine for VFs is same as that of phys function. define separate ops structure for VF devices. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma_vf_ethdev.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/net/qdma

[RFC PATCH 23/29] net/qdma: add support for VF interfaces

2022-07-06 Thread Aman Kumar
This patch registers supported virtual function and initialization/deinit routines for the same. Signed-off-by: Aman Kumar --- drivers/net/qdma/meson.build | 1 + drivers/net/qdma/qdma.h | 9 + drivers/net/qdma/qdma_ethdev.c| 22 +++ drivers/net/qdma/qdma_vf_ethdev.c

[RFC PATCH 22/29] net/qdma: mbox API adaptation in Rx/Tx init

2022-07-06 Thread Aman Kumar
add mbox initialization and handling to enable virtual functions queue setup. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma.h| 1 + drivers/net/qdma/qdma_devops.c | 196 ++--- drivers/net/qdma/qdma_ethdev.c | 47 3 files changed, 226

[RFC PATCH 21/29] net/qdma: add mailbox communication library

2022-07-06 Thread Aman Kumar
this patch implements mailbox communication mechanism to enable communication between virtual functions and physical function. Signed-off-by: Aman Kumar --- drivers/net/qdma/meson.build | 1 + drivers/net/qdma/qdma.h | 2 + drivers/net/qdma/qdma_mbox.c | 400

[RFC PATCH 20/29] net/qdma: add Rx burst API

2022-07-06 Thread Aman Kumar
add Rx data path burst API support for device. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma_devops.c | 10 - drivers/net/qdma/qdma_rxtx.c | 709 + drivers/net/qdma/qdma_rxtx.h | 8 +- 3 files changed, 716 insertions(+), 11 deletions(-) diff --git a

[RFC PATCH 19/29] net/qdma: add callback function for Tx desc status

2022-07-06 Thread Aman Kumar
This patch implements dev->tx_descriptor_status function for net_qdma PMD. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma_devops.c | 1 + drivers/net/qdma/qdma_rxtx.c | 47 ++ 2 files changed, 48 insertions(+) diff --git a/drivers/net/qdma/qdma_devop

[RFC PATCH 18/29] net/qdma: add Tx queue reclaim routine

2022-07-06 Thread Aman Kumar
define function for dev->tx_done_cleanup for net_qdma PMD. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma_devops.c | 8 drivers/net/qdma/qdma_rxtx.c | 28 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/drivers/net/qdma/qdma_devop

[RFC PATCH 17/29] net/qdma: add Tx burst API

2022-07-06 Thread Aman Kumar
add Tx data path burst API for the device. Signed-off-by: Aman Kumar --- drivers/net/qdma/meson.build | 2 + drivers/net/qdma/qdma_devops.c | 10 - drivers/net/qdma/qdma_rxtx.c | 422 + drivers/net/qdma/qdma_rxtx.h | 10 + drivers/net/qdma/qdma_user.c

[RFC PATCH 16/29] net/qdma: add start and stop apis

2022-07-06 Thread Aman Kumar
this patch implements definitions for dev_start and dev_stop apis. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma_devops.c | 53 -- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/drivers/net/qdma/qdma_devops.c b/drivers/net/qdma/qdma_devops.c

[RFC PATCH 15/29] net/qdma: add queue cleanup PMD ops

2022-07-06 Thread Aman Kumar
defined routines for rx and tx queue cleanup functions. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma_devops.c | 83 -- 1 file changed, 79 insertions(+), 4 deletions(-) diff --git a/drivers/net/qdma/qdma_devops.c b/drivers/net/qdma/qdma_devops.c index

[RFC PATCH 14/29] net/qdma: add routine for Tx queue initialization

2022-07-06 Thread Aman Kumar
defined routines to handle tx queue related ops. this patch add support to rte_eth_dev_tx_queue* apis for this PMD. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma.h| 8 + drivers/net/qdma/qdma_common.c | 74 + drivers/net/qdma/qdma_devops.c | 270

[RFC PATCH 13/29] net/qdma: add callback support for Rx queue count

2022-07-06 Thread Aman Kumar
this patch implements callback support to read rx_desc and fetch rx_queue_count info. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma_devops.c | 2 + drivers/net/qdma/qdma_devops.h | 6 +- drivers/net/qdma/qdma_rxtx.c | 120 + 3 files changed, 124

[RFC PATCH 12/29] net/qdma: add routine for Rx queue initialization

2022-07-06 Thread Aman Kumar
defined routines to handle rx queue related ops. this patch add support to rte_eth_dev_rx_queue* apis for this PMD. Signed-off-by: Aman Kumar --- drivers/net/qdma/meson.build | 2 + drivers/net/qdma/qdma.h| 74 +++- drivers/net/qdma/qdma_common.c | 157 drivers/net/qdma

[RFC PATCH 11/29] net/qdma: add configure close and reset ethdev ops

2022-07-06 Thread Aman Kumar
add routines for below ethdev ops: 1. dev_configure 2. dev_reset 3. dev_close Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma.h| 11 +- drivers/net/qdma/qdma_devops.c | 292 - drivers/net/qdma/qdma_devops.h | 42 + drivers/net/qdma

[RFC PATCH 10/29] net/qdma: add net PMD ops template

2022-07-06 Thread Aman Kumar
define dpdk pmd ops function for the device. routines are added as dummy calls. Signed-off-by: Aman Kumar --- drivers/net/qdma/meson.build| 5 +- drivers/net/qdma/qdma.h | 1 + drivers/net/qdma/qdma_devops.c | 464 ++ drivers/net/qdma/qdma_devops.h

[RFC PATCH 09/29] net/qdma: define device modes and data structure

2022-07-06 Thread Aman Kumar
define enums and structure for supported device modes adapt macros into the routines. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma.h | 21 +++ drivers/net/qdma/qdma_common.c | 22 ++- drivers/net/qdma/qdma_ethdev.c | 17 ++- drivers/net/qdma/rte_pmd_qdma.h | 262

[RFC PATCH 08/29] net/qdma: qdma hardware initialization

2022-07-06 Thread Aman Kumar
add hardware initialization as per qdma_access lib. Fetch hardware version and other details and bind to proper qdma layer. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma.h| 13 +- drivers/net/qdma/qdma_common.c | 52 +++- drivers/net/qdma/qdma_ethdev.c | 225

[RFC PATCH 07/29] net/qdma: add supported qdma version

2022-07-06 Thread Aman Kumar
qdma-20.2 is supported for latest firmware. Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma_version.h | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 drivers/net/qdma/qdma_version.h diff --git a/drivers/net/qdma/qdma_version.h b/drivers/net/qdma

[RFC PATCH 05/29] net/qdma: add device init and uninit functions

2022-07-06 Thread Aman Kumar
upon device initialization, initialize mac and other private data. Handle cleanup on uninit. defines basic device/queue data structures. Signed-off-by: Aman Kumar --- drivers/net/qdma/meson.build | 1 + drivers/net/qdma/qdma.h| 225 drivers/net/qdma

[RFC PATCH 04/29] net/qdma: add logging support

2022-07-06 Thread Aman Kumar
define macro for logging across PMD files Signed-off-by: Aman Kumar --- drivers/net/qdma/qdma_ethdev.c | 1 + drivers/net/qdma/qdma_log.h| 16 2 files changed, 17 insertions(+) create mode 100644 drivers/net/qdma/qdma_log.h diff --git a/drivers/net/qdma/qdma_ethdev.c b

[RFC PATCH 03/29] net/meson.build: add support to compile net qdma

2022-07-06 Thread Aman Kumar
meson will default attempt to compile qdma net PMD. conditions on which qdma will be compiled are added in qdma local meson.build. Signed-off-by: Aman Kumar --- drivers/net/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/meson.build b/drivers/net/meson.build index

[RFC PATCH 02/29] maintainers: add maintainer for net/qdma PMD

2022-07-06 Thread Aman Kumar
add myself as maintainer for net/qdma PMD Signed-off-by: Aman Kumar --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bfeeb7d1b4..983899b29f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -906,6 +906,10 @@ F: drivers/net/bnx2x/ F: doc/guides

[RFC PATCH 01/29] net/qdma: add net PMD template

2022-07-06 Thread Aman Kumar
add probe and remove function template for qdma PMD. define supported PCI device table. Signed-off-by: Aman Kumar --- drivers/net/qdma/meson.build | 18 ++ drivers/net/qdma/qdma_ethdev.c | 107 + drivers/net/qdma/version.map | 3 + 3 files changed, 128

[RFC PATCH 00/29] cover letter for net/qdma PMD

2022-07-06 Thread Aman Kumar
cess library is part of PMD [PATCH 06] - The DPDK version of documents (doc/guide/nics/*) for this device is WIP and will be included in the next version of patchset. Aman Kumar (29): net/qdma: add net PMD template maintainers: add maintainer for net/qdma PMD net/meson.build: add support

[dpdk-dev] [PATCH] config/x86: add support for AMD platform

2021-11-02 Thread Aman Kumar
-Dcpu_instruction_set=znverX meson option can be used to build dpdk for AMD platforms. Supported options are znver1, znver2 and znver3. Signed-off-by: Aman Kumar --- config/x86/meson.build | 9 + doc/guides/linux_gsg/build_dpdk.rst | 2 +- 2 files changed, 10 insertions

Re: [dpdk-dev] [PATCH v4 2/2] lib/eal: add temporal store memcpy support for AMD platform

2021-10-27 Thread Aman Kumar
On Wed, Oct 27, 2021 at 5:53 PM Ananyev, Konstantin < konstantin.anan...@intel.com> wrote > > > > Hi Mattias, > > > > > > 6) What is the use-case for this? When would a user *want* to use > this instead > > > of rte_memcpy()? > > > > If the data being loaded is relevant to datapath/packets, presum

[dpdk-dev] [PATCH v4 2/2] lib/eal: add temporal store memcpy support for AMD platform

2021-10-27 Thread Aman Kumar
This patch provides a rte_memcpy* call with temporal stores. Use -Dcpu_instruction_set=znverX with build to enable this API. Signed-off-by: Aman Kumar --- config/x86/meson.build | 2 + lib/eal/x86/include/rte_memcpy.h | 114 +++ 2 files changed, 116

[dpdk-dev] [PATCH v4 1/2] config/x86: add support for AMD platform

2021-10-27 Thread Aman Kumar
-Dcpu_instruction_set=znverX meson option can be used to build dpdk for AMD platforms. Supported options are znver1, znver2 and znver3. Signed-off-by: Aman Kumar --- config/x86/meson.build | 9 + doc/guides/linux_gsg/build_dpdk.rst | 2 +- 2 files changed, 10 insertions

Re: [dpdk-dev] [PATCH v3 3/3] lib/eal: add temporal store memcpy support on AMD platform

2021-10-26 Thread Aman Kumar
On Wed, Oct 27, 2021 at 2:41 AM Stephen Hemminger < step...@networkplumber.org> wrote: > On Tue, 26 Oct 2021 21:26:45 +0530 > Aman Kumar wrote: > > > This patch provides a rte_memcpy* call with temporal stores. > > Use -Dcpu_instruction_set=znverX with build to enab

Re: [dpdk-dev] [PATCH v3 3/3] lib/eal: add temporal store memcpy support on AMD platform

2021-10-26 Thread Aman Kumar
On Tue, Oct 26, 2021 at 9:44 PM Thomas Monjalon wrote: > 26/10/2021 17:56, Aman Kumar: > > This patch provides a rte_memcpy* call with temporal stores. > > Use -Dcpu_instruction_set=znverX with build to enable this API. > > > > Signed-off-by: Aman Kumar > >

Re: [dpdk-dev] [PATCH v3 2/3] doc/guides: add dpdk build instruction for AMD platforms

2021-10-26 Thread Aman Kumar
On Tue, Oct 26, 2021 at 9:37 PM Thomas Monjalon wrote: > 26/10/2021 17:56, Aman Kumar: > > linux guide updated with AMD platform related build > > instructions. > > > > Signed-off-by: Aman Kumar > > --- > > doc/guides/linux_gsg/build_dpdk.rst | 4

Re: [dpdk-dev] [PATCH v3 1/3] config/x86: add support for AMD platform

2021-10-26 Thread Aman Kumar
On Tue, Oct 26, 2021 at 9:31 PM Thomas Monjalon wrote: > 26/10/2021 17:56, Aman Kumar: > > -Dcpu_instruction_set=znverX meson option can be used > > to build dpdk for AMD platform. Supported options are > > znver1, znver2 and znver3. > > OK that approach looks good. &g

[dpdk-dev] [PATCH v3 3/3] lib/eal: add temporal store memcpy support on AMD platform

2021-10-26 Thread Aman Kumar
This patch provides a rte_memcpy* call with temporal stores. Use -Dcpu_instruction_set=znverX with build to enable this API. Signed-off-by: Aman Kumar --- config/x86/meson.build | 2 + lib/eal/x86/include/rte_memcpy.h | 114 +++ 2 files changed, 116

[dpdk-dev] [PATCH v3 2/3] doc/guides: add dpdk build instruction for AMD platforms

2021-10-26 Thread Aman Kumar
linux guide updated with AMD platform related build instructions. Signed-off-by: Aman Kumar --- doc/guides/linux_gsg/build_dpdk.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/linux_gsg/build_dpdk.rst b/doc/guides/linux_gsg/build_dpdk.rst index 0b08492ca2..3110448467

[dpdk-dev] [PATCH v3 1/3] config/x86: add support for AMD platform

2021-10-26 Thread Aman Kumar
-Dcpu_instruction_set=znverX meson option can be used to build dpdk for AMD platform. Supported options are znver1, znver2 and znver3. Signed-off-by: Aman Kumar --- config/x86/meson.build | 9 + 1 file changed, 9 insertions(+) diff --git a/config/x86/meson.build b/config/x86

Re: [dpdk-dev] [PATCH 2/2] net/mlx5: optimize mprq memcpy for AMD EPYC2 platforms

2021-10-19 Thread Aman Kumar
and enabled by default in V2, once it is cross built. Please let us know your comments. *With Best Regards* Aman Kumar VVDN Technologies Pvt. Ltd. *web:* www.vvdntech.com On Wed, Oct 13, 2021 at 10:23 PM Thomas Monjalon wrote: > 23/08/2021 10:44, Aman Kumar: > > add non temporal loa

[dpdk-dev] [PATCH v2 2/2] net/mlx5: optimize mprq memcpy for AMD EPYC2 plaform

2021-10-19 Thread Aman Kumar
add non temporal load and temporal store for mprq memcpy. This utilizes AMD EPYC2 optimized rte_memcpy* routines and only enabled if config/x86/x86_amd_epyc_linux_gcc is build. Signed-off-by: Aman Kumar --- drivers/net/mlx5/mlx5_rx.h | 19 +++ 1 file changed, 19 insertions

[dpdk-dev] [PATCH v2 1/2] lib/eal: add amd epyc2 memcpy routine to eal

2021-10-19 Thread Aman Kumar
This patch provides rte_memcpy* calls optimized for AMD EPYC platforms. Use config/x86/x86_amd_epyc_linux_gcc as cross-file with meson to build dpdk for AMD EPYC platforms. Signed-off-by: Aman Kumar --- config/x86/meson.build| 7 + config/x86/x86_amd_epyc_linux_gcc | 16 + lib

Re: [dpdk-dev] [PATCH 1/2] lib/eal: add amd epyc2 memcpy routine to eal

2021-08-30 Thread Aman Kumar
Hi Jerin, Thanks for your comments and suggestions. I will try to update this in V2. On Mon, Aug 23, 2021 at 8:51 PM Jerin Jacob wrote: > On Mon, Aug 23, 2021 at 2:14 PM Aman Kumar wrote: > > > > This patch provides rte_memcpy* calls optimized for > > AMD EPYC Gen2 plat

[dpdk-dev] [PATCH 2/2] net/mlx5: optimize mprq memcpy for AMD EPYC2 platforms

2021-08-23 Thread Aman Kumar
add non temporal load and temporal store for mprq memcpy. define mlx5_ntload_tstore in meson build configuration to enable this optimization. This utilizes AMD EPYC2 optimized rte_memcpy* routines. Signed-off-by: Aman Kumar --- drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c

[dpdk-dev] [PATCH 1/2] lib/eal: add amd epyc2 memcpy routine to eal

2021-08-23 Thread Aman Kumar
This patch provides rte_memcpy* calls optimized for AMD EPYC Gen2 platforms. This option is disabled by default and can be enabled by defining 'rte_memcpy_amdepyc2' in the meson build. Signed-off-by: Aman Kumar --- lib/eal/x86/include/meson.build | 1 + lib/eal/x86/include/rte_memc

Re: [dpdk-dev] [PATCH v3 1/2] net/mlx5: optimize mprq memcpy

2021-02-08 Thread Aman Kumar
ove memory copy instructions to lib/librte_eal/* and update this patchset. Thanks. *Regards* Aman Kumar On Thu, Feb 4, 2021 at 7:45 PM Slava Ovsiienko wrote: > Hi, > > I'm sorry for asking the questions very late. > Is still this patch set actual and should it be updated a

[dpdk-dev] [PATCH v4 2/2] net/mlx5: add non temporal store for WQE fields

2020-10-29 Thread Aman Kumar
add non temporal store for few WQE fields to optimize data path. Define RTE_LIBRTE_MLX5_NT_STORE in build configurations to enable this optimization. Signed-off-by: Aman Kumar --- drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c | 17 ++ drivers/net/mlx5/mlx5.h

[dpdk-dev] [PATCH v4 1/2] net/mlx5: optimize mprq memcpy

2020-10-29 Thread Aman Kumar
add non temporal load and temporal store for mprq memcpy. define RTE_LIBRTE_MLX5_NTLOAD_TSTORE_ALIGN_COPY in build configuration to enable this optimization. Signed-off-by: Aman Kumar --- drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c | 12 drivers/net/mlx5/mlx5.h

[dpdk-dev] [PATCH v3 1/2] net/mlx5: optimize mprq memcpy

2020-10-10 Thread Aman Kumar
add non temporal load and temporal store for mprq memcpy. define RTE_LIBRTE_MLX5_NTLOAD_TSTORE_ALIGN_COPY in build configuration to enable this optimization. Signed-off-by: Aman Kumar --- drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c | 12 drivers/net/mlx5/mlx5.h

[dpdk-dev] [PATCH v3 2/2] net/mlx5: add non temporal store for WQE fields

2020-10-10 Thread Aman Kumar
add non temporal store for few WQE fields to optimize data path. Define RTE_LIBRTE_MLX5_NT_STORE in build configurations to enable this optimization. Signed-off-by: Aman Kumar --- drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c | 17 ++ drivers/net/mlx5/mlx5.h

[dpdk-dev] [PATCH v3 2/2] net/mlx5: add non temporal store for WQE fields

2020-10-10 Thread Aman Kumar
add non temporal store for few WQE fields to optimize data path. Define RTE_LIBRTE_MLX5_NT_STORE in build configurations to enable this optimization. Signed-off-by: Aman Kumar --- drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c | 17 ++ drivers/net/mlx5/mlx5.h

[dpdk-dev] [PATCH v3 1/2] net/mlx5: optimize mprq memcpy

2020-10-10 Thread Aman Kumar
add non temporal load and temporal store for mprq memcpy. define RTE_LIBRTE_MLX5_NTLOAD_TSTORE_ALIGN_COPY in build configuration to enable this optimization. Signed-off-by: Aman Kumar --- drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c | 12 drivers/net/mlx5/mlx5.h

[dpdk-dev] [PATCH v2 2/2] net/mlx5: add non temporal store for WQE fields

2020-09-24 Thread Aman Kumar
add non temporal store for few WQE fields to optimize data path. Define RTE_LIBRTE_MLX5_NT_STORE in build configurations to enable this optimization. Signed-off-by: Aman Kumar --- drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c | 17 + drivers/net/mlx5

[dpdk-dev] [PATCH v2 1/2] net/mlx5: optimize mprq memcpy

2020-09-24 Thread Aman Kumar
add non temporal load and temporal store for mprq memcpy. define RTE_LIBRTE_MLX5_NTLOAD_TSTORE_ALIGN_COPY in build configuration to enable this optimization. Signed-off-by: Aman Kumar --- drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c | 12 drivers/net/mlx5/mlx5.h

[dpdk-dev] [PATCH 3/3] config: added build config file for AMD EPYC platform

2020-09-07 Thread Aman Kumar
add build config specific to AMD EPYC platform Signed-off-by: Aman Kumar --- config/defconfig_x86_64-amdEPYC-linux-gcc | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 config/defconfig_x86_64-amdEPYC-linux-gcc diff --git a/config/defconfig_x86_64-amdEPYC-linux-gcc

[dpdk-dev] [PATCH 1/3] net/mlx5: optimize mprq memcpy

2020-09-07 Thread Aman Kumar
add non temporal load and temporal store for mprq memcpy. Enabling CONFIG_RTE_LIBRTE_MLX5_NTLOAD_TSTORE_ALIGN_COPY=y in dpdk config will enable this optimization. Signed-off-by: Aman Kumar --- config/common_base | 1 + drivers/net/mlx5/mlx5.c | 12

[dpdk-dev] [PATCH 2/3] net/mlx5: add non temporal store for WQE fields

2020-09-07 Thread Aman Kumar
add non temporal store for few WQE fields to optimize data path. This can be enable by making CONFG_RTE_LIBRTE_MLX5_NT_STORE=y in dpdk config. Signed-off-by: Aman Kumar --- config/common_base | 1 + drivers/net/mlx5/mlx5.c | 17 + drivers/net/mlx5/mlx5.h