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
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)
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
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
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__
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
-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
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
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
> >
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
63 matches
Mail list logo