[dpdk-dev] [PATCH v3 1/2] devargs: add common key definition

2021-06-13 Thread Xueming Li
Adds common devargs key definition for "bus", "class" and "driver". Signed-off-by: Xueming Li --- drivers/common/mlx5/mlx5_common.h | 2 -- drivers/common/mlx5/mlx5_common_pci.c | 2 +- drivers/common/sfc_efx/sfc_efx.h| 2 -- drivers/net/bonding/rte_eth_bond_args.c | 2 +- dr

[dpdk-dev] [PATCH v3 2/2] bus/auxiliary: introduce auxiliary bus

2021-06-13 Thread Xueming Li
Auxiliary bus [1] provides a way to split function into child-devices representing sub-domains of functionality. Each auxiliary device represents a part of its parent functionality. Auxiliary device is identified by unique device name, sysfs path: /sys/bus/auxiliary/devices/ Devargs syntax of a

[dpdk-dev] [PATCH v2] eal: save error in string copy

2021-06-13 Thread Xueming Li
From: Thomas Monjalon The string copy api rte_strscpy() doesn't set rte_errno during failures, instead it just return negative error number. Sets rte_errrno if the destination buffer is too small. Signed-off-by: Thomas Monjalon Signed-off-by: Xueming Li --- lib/eal/common/eal_common_string_f

Re: [dpdk-dev] [PATCH] net/mlx5: fix switchdev mode recognition

2021-06-13 Thread Matan Azrad
From: Slava Ovsiienko > The new kernels might add the switch_id attribute to the Netlink replies and > this caused the wrong recognition of the E-Switch presence. The single uplink > device was erroneously recognized as master and it caused the extending > match for source vport index on all ins

[dpdk-dev] [PATCH] vdpa/mlx5: fix TSO offload without CSUM

2021-06-13 Thread Xueming Li
Packet was corrupted when TSO requested without CSUM update. Enables CSUM automatically if only TSO requested. Fixes: 2aa8444b0084 ("vdpa/mlx5: support stateless offloads") Cc: ma...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 7 +++ 1

[dpdk-dev] [PATCH v4 1/2] devargs: add common key definition

2021-06-13 Thread Xueming Li
Adds common devargs key definition for "bus", "class" and "driver". Signed-off-by: Xueming Li --- drivers/common/mlx5/mlx5_common.h | 2 -- drivers/common/mlx5/mlx5_common_pci.c | 2 +- drivers/common/sfc_efx/sfc_efx.c| 7 +++ drivers/common/sfc_efx/sfc_efx.h| 2 -

[dpdk-dev] [PATCH v4 2/2] bus/auxiliary: introduce auxiliary bus

2021-06-13 Thread Xueming Li
Auxiliary bus [1] provides a way to split function into child-devices representing sub-domains of functionality. Each auxiliary device represents a part of its parent functionality. Auxiliary device is identified by unique device name, sysfs path: /sys/bus/auxiliary/devices/ Devargs syntax of a

Re: [dpdk-dev] [PATCH 2/2] event/cnxk: add Rx event vector fastpath

2021-06-13 Thread Jerin Jacob
On Mon, May 24, 2021 at 6:36 PM wrote: > > From: Pavan Nikhilesh > > Add Rx event vector fastpath to convert HW defined metadata into > rte_mbuf and rte_event_vector. > > Signed-off-by: Pavan Nikhilesh > --- > drivers/event/cnxk/cn10k_worker.h | 50 +++ > 1 file chan

Re: [dpdk-dev] [PATCH 1/2] event/cnxk: add Rx adapter vector support

2021-06-13 Thread Jerin Jacob
On Mon, May 24, 2021 at 6:36 PM wrote: > > From: Pavan Nikhilesh > > Add event vector support for cnxk event Rx adapter, add control path > APIs to get vector limits and ability to configure event vectorization > on a given Rx queue. > > Signed-off-by: Pavan Nikhilesh > + > +static int > +cn10k

Re: [dpdk-dev] [PATCH v2 00/62] Marvell CNXK Ethdev Driver

2021-06-13 Thread Jerin Jacob
On Mon, Jun 7, 2021 at 11:33 PM Nithin Dabilpuram wrote: > > This patchset adds support for Marvell CN106XX SoC based on 'common/cnxk' > driver. In future, CN9K a.k.a octeontx2 will also be supported by same > driver when code is ready and 'net/octeontx2' will be deprecated. A couple of checkpat

Re: [dpdk-dev] [PATCH v2 02/62] common/cnxk: update Rx inline IPsec mbox message format

2021-06-13 Thread Jerin Jacob
On Mon, Jun 7, 2021 at 11:33 PM Nithin Dabilpuram wrote: > > From: Srujana Challa > > Updates Rx inline IPSEC mailbox message format to make it > sync with latest CPT PF driver. > > Signed-off-by: Srujana Challa > --- > drivers/common/cnxk/roc_mbox.h | 3 +++ > 1 file changed, 3 insertions(+) >

Re: [dpdk-dev] [PATCH v2 06/62] common/cnxk: allocate lmt region in userspace

2021-06-13 Thread Jerin Jacob
On Mon, Jun 7, 2021 at 11:33 PM Nithin Dabilpuram wrote: > > From: Harman Kalra > > As per the new LMTST design, userspace shall allocate lmt region, > setup the DMA translation and share the IOVA with kernel via MBOX. > Kernel will convert this IOVA to physical memory and update the > LMT table

Re: [dpdk-dev] [PATCH v2 09/62] net/cnxk: add build infra and common probe

2021-06-13 Thread Jerin Jacob
On Mon, Jun 7, 2021 at 11:34 PM Nithin Dabilpuram wrote: > > Add build infrastructure and common probe and remove for cnxk driver > which is used by both CN10K and CN9K SoC. > > Signed-off-by: Nithin Dabilpuram > --- > MAINTAINERS | 3 + > doc/guides/nics/cnxk.rst

Re: [dpdk-dev] [PATCH v2 11/62] net/cnxk: add common devargs parsing function

2021-06-13 Thread Jerin Jacob
On Mon, Jun 7, 2021 at 11:34 PM Nithin Dabilpuram wrote: > > Add various devargs parsing command line arguments > parsing functions supported by CN9K and CN10K. > > Signed-off-by: Nithin Dabilpuram > --- > doc/guides/nics/cnxk.rst | 94 +++ > drivers/net/cnxk/cnxk_

Re: [dpdk-dev] 19.11.9 patches review and test - V2

2021-06-13 Thread Christian Ehrhardt
On Fri, Jun 11, 2021 at 10:55 AM Jiang, YuX wrote: > > Hi Christian, > > Testing with dpdk v19.11.9-rc2 from Intel is almost finished, some build > issues and telemetry issue are found. Thank you for completing this on -rc2 and thereby giving us a preview of the final results. > # Basic Intel(R

Re: [dpdk-dev] [PATCH 02/11] common/cnxk: add CPT dev config routines

2021-06-13 Thread Akhil Goyal
> diff --git a/drivers/common/cnxk/roc_cpt_priv.h > b/drivers/common/cnxk/roc_cpt_priv.h > new file mode 100644 > index 000..8cb2dbd > --- /dev/null > +++ b/drivers/common/cnxk/roc_cpt_priv.h > @@ -0,0 +1,28 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright(C) 2021 Marvell. > + */

Re: [dpdk-dev] [PATCH 01/11] common/cnxk: add CPT HW defines

2021-06-13 Thread Akhil Goyal
> From: Vidya Sagar Velumuri > > Add CPT hardware definitions. CPT is the hardware block on > cnxk family of processors, that can be used to offload > cryptographic operations. > > Signed-off-by: Anoob Joseph > Signed-off-by: Vidya Sagar Velumuri > Acked-by: Akhil Goyal