[dpdk-dev] [PATCH] net/softnic: initialize meter policy list before use

2021-04-29 Thread dapengx . yu
From: Dapeng Yu Initialize meter policy list before use to avoid segment fault Fixes: 0d73ddf25faa ("net/softnic: add meter profile") Cc: sta...@dpdk.org Signed-off-by: Dapeng Yu --- drivers/net/softnic/rte_eth_softnic_meter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net

[dpdk-dev] [PATCH] doc: fix Arm socs list

2021-04-29 Thread David Marchand
Keep the list of socs in a single place and include it so that the documentation won't get outdated. Fixes: 1b4c86a721c9 ("config/arm: add Marvell CN10K") Fixes: 7cf32a22b240 ("config/arm: add Hisilicon kunpeng") Signed-off-by: David Marchand --- config/arm/meson.build|

Re: [dpdk-dev] [PATCH] config/arm: restore support for Qualcomm servers

2021-04-29 Thread David Marchand
On Wed, Apr 28, 2021 at 6:09 PM Thierry Herbelot wrote: > > Like for other Arm chips, the 'soc' entry is also needed. Please spare some time to explain the reason why it is needed. > > Fixes: fddbe822c3eb ("config/arm: add Qualcomm") This is not the right Fixes: line, since the soc notion in c

Re: [dpdk-dev] [PATCH v4 02/27] event/dlb2: add v2.5 probe

2021-04-29 Thread Jerin Jacob
On Thu, Apr 15, 2021 at 7:20 AM Timothy McDaniel wrote: > > This commit adds dlb v2.5 probe support, and updates > parameter parsing. > > The dlb v2.5 device differs from dlb v2, in that the > number of resources (ports, queues, ...) is different, > so macros have been added to take the device ver

Re: [dpdk-dev] [PATCH v2] eal: fix use wrong time API

2021-04-29 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Min Hu (Connor) > Sent: Thursday, April 29, 2021 4:11 AM > To: dev@dpdk.org > > Currently, the mp uses gettimeofday() API to get the time, and used as > timeout parameter. > > But the time which gets from gettimeofday() API isn't monotonicall

Re: [dpdk-dev] [PATCH v2 0/1] Optimize DLB Dequeue

2021-04-29 Thread Jerin Jacob
On Wed, Apr 14, 2021 at 2:02 AM Timothy McDaniel wrote: > > This commit optimizes dequeue performance by using x86 vector > instructions. > > Changes since V1: > Added devargs interface to disable optimization > > Depends-on: patch-16345 ("Add DLB 2.5") Now that series needs rework. Please rebase

Re: [dpdk-dev] [dpdk-announce] release candidate 21.05-rc1

2021-04-29 Thread Jiang, YuX
All, Update the test status for Intel part. Till now dpdk21.05-rc1 test is almost finished and no critical issue. # Basic Intel(R) NIC testing * Build or compile: *Build: cover the build test combination with latest GCC/Clang/ICC version and the popular OS revision such as Ubuntu20.04, CentOS S

Re: [dpdk-dev] [PATCH v6 01/10] eal: add thread id and simple thread functions

2021-04-29 Thread Thomas Monjalon
29/04/2021 02:50, Dmitry Kozlyuk: > 2021-04-02 18:38 (UTC-0700), Narcisa Ana Maria Vasile: > > --- /dev/null > > +++ b/lib/librte_eal/windows/include/rte_windows_thread_types.h > > @@ -0,0 +1,12 @@ > > +/* SPDX-License-Identifier: BSD-3-Clause > > + * Copyright(c) 2021 Microsoft Corporation > > + *

Re: [dpdk-dev] [PATCH v2 1/2] net/mlx5: fix tunnel offload private items location

2021-04-29 Thread Gregory Etelson
Hello Ferruh, > [snip] > > > I am OK to get both to next-net, as long as driver patch is Ack'ed. > > > > [PATCH v2 1/2] net/mlx5: fix tunnel offload private items location was sent > with Ack from Viacheslav Ovsiienko > > > It seems there is a relation between driver and testpmd patch, but I >

Re: [dpdk-dev] [PATCH v6 02/10] eal: add thread attributes

2021-04-29 Thread Thomas Monjalon
29/04/2021 02:50, Dmitry Kozlyuk: > 2021-04-02 18:39 (UTC-0700), Narcisa Ana Maria Vasile: > > +int > > +rte_thread_attr_init(rte_thread_attr_t *attr) > > +{ > > + if (attr == NULL) { > > + RTE_LOG(DEBUG, EAL, > > + "Unable to init thread attributes, invalid parameter\n"); > >

Re: [dpdk-dev] [PATCH] net/softnic: initialize meter policy list before use

2021-04-29 Thread Dumitrescu, Cristian
> -Original Message- > From: Yu, DapengX > Sent: Thursday, April 29, 2021 8:06 AM > To: Singh, Jasvinder ; Dumitrescu, Cristian > > Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org > Subject: [PATCH] net/softnic: initialize meter policy list before use > > From: Dapeng Yu > > Initial

Re: [dpdk-dev] L3fwd mode in testpmd

2021-04-29 Thread Stanislaw Kardach
On Wed, Apr 28, 2021 at 09:44:54PM +, Honnappa Nagarahalli wrote: > [Honnappa] Sorry, I do not understand this. I see that vector code is under > compile time flag as below > > #if defined RTE_ARCH_X86 || defined __ARM_NEON > l3fwd_em_send_packets(nb_rx, pkts_burst, >

[dpdk-dev] [PATCH] doc/cross_build: update the list supported Arm SoCs

2021-04-29 Thread Thierry Herbelot
Align the list of supported targets with config/arm/meson.build Fixes: f2340c858046 ("config/arm: add platform config option") Signed-off-by: Thierry Herbelot --- doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/guides/linux_gsg/cr

Re: [dpdk-dev] [PATCH] ethdev: add missing buses in dev iterator

2021-04-29 Thread Thomas Monjalon
29/04/2021 07:55, Hemant Agrawal: > This patch fixes issue with OVS 2.15 not working on > DPAA/FSLMC based platform due to missing support for > these busses in dev_iterate. > This patch adds dpaa_bus and fslmc to dev iterator > for bus arguments. I think we should add VMBus as well.

Re: [dpdk-dev] [PATCH v2 1/4] ethdev: fix integrity flow item

2021-04-29 Thread Thomas Monjalon
29/04/2021 08:16, Gregory Etelson: > Add integrity item definition to the rte_flow_desc_item array. > The new entry allows to build RTE flow item from a data > stored in rte_flow_item_integrity type. > > Add bitmasks to the integrity item value. > The masks allow to query multiple integrity filter

Re: [dpdk-dev] [PATCH] ethdev: add missing buses in dev iterator

2021-04-29 Thread Hemant Agrawal
On 4/29/2021 1:26 PM, Thomas Monjalon wrote: 29/04/2021 07:55, Hemant Agrawal: This patch fixes issue with OVS 2.15 not working on DPAA/FSLMC based platform due to missing support for these busses in dev_iterate. This patch adds dpaa_bus and fslmc to dev iterator for bus arguments. I think we

[dpdk-dev] [PATCH v2 0/4] Offload flags fixes

2021-04-29 Thread David Marchand
The important part is the last patch on vhost handling of offloading requests coming from a virtio guest interface. The rest are small fixes that I accumulated while reviewing the mbuf offload flags. On this last patch, it has the potential of breaking existing applications using the vhost librar

[dpdk-dev] [PATCH v2 1/4] mbuf: mark old offload flag as deprecated

2021-04-29 Thread David Marchand
PKT_RX_EIP_CKSUM_BAD has been declared deprecated but there was no warning to applications still using it. Fix this by marking as deprecated with the newly introduced RTE_DEPRECATED. Fixes: e8a419d6de4b ("mbuf: rename outer IP checksum macro") Signed-off-by: David Marchand Reviewed-by: Flavio Le

[dpdk-dev] [PATCH v2 2/4] net/virtio: do not touch Tx offload flags

2021-04-29 Thread David Marchand
Tx offload flags are of the application responsibility. Leave the mbuf alone and use a local storage for implicit tcp checksum offloading in case of TSO. Signed-off-by: David Marchand Reviewed-by: Maxime Coquelin --- drivers/net/virtio/virtqueue.h | 6 -- 1 file changed, 4 insertions(+), 2

[dpdk-dev] [PATCH v2 3/4] net/virtio: refactor Tx offload helper

2021-04-29 Thread David Marchand
Purely cosmetic but it is rather odd to have an "offload" helper that checks if it actually must do something. We already have the same checks in most callers, so move this branch in them. Signed-off-by: David Marchand Reviewed-by: Flavio Leitner Reviewed-by: Ruifeng Wang --- drivers/net/virti

[dpdk-dev] [PATCH v2 4/4] vhost: fix offload flags in Rx path

2021-04-29 Thread David Marchand
The vhost library current configures Tx offloading (PKT_TX_*) on any packet received from a guest virtio device which asks for some offloading. This is problematic, as Tx offloading is something that the application must ask for: the application needs to configure devices to support every used off

[dpdk-dev] [PATCH-V2] config/arm: restore support for Qualcomm servers

2021-04-29 Thread Thierry Herbelot
>From the documentation: "The SoC configuration is a combination of implementer and CPU part number configuration and SoC-specific configuration." Align Qualcomm SoC configuration with the configuration of other server SoCs (eMAG, Kunpeng 9x0): add a soc configuration to the existing implementer

[dpdk-dev] [PATCH v5 0/1] add new hdr for gtp qfi

2021-04-29 Thread Raslan Darawsheh
This is introducin a new hdr definition of gtp psc support to match the RFC 38415-g30 v2: introduce new header definition for gtp psc update commit msg for rte flow item change. v3: fixed typo in comment Cc relevant people. v4: update hdr definition to have hdr suffix. update variabl

[dpdk-dev] [PATCH v5 1/1] ethdev: add new ext hdr for gtp psc

2021-04-29 Thread Raslan Darawsheh
Define new rte header for gtp PDU session container based on RFC 38415-g30 Signed-off-by: Raslan Darawsheh --- lib/net/rte_gtp.h | 78 +++ 1 file changed, 78 insertions(+) diff --git a/lib/net/rte_gtp.h b/lib/net/rte_gtp.h index 6a6f9b238d..5a850a26e4

Re: [dpdk-dev] [EXT] [PATCH] app/testeventdev: fix buffer overflow

2021-04-29 Thread Jerin Jacob
On Fri, Apr 23, 2021 at 2:38 PM Pavan Nikhilesh Bhagavatula wrote: > > >Tainted and unvalidated integer 'idx' used as an index, which may > >lead to buffer overflow. > > > >This patch fixed it. > > > >Fixes: 89e5eb118017 ("app/testeventdev: add string parsing helpers") > >Cc: sta...@dpdk.org > > >

Re: [dpdk-dev] [PATCH] net/bnxt: drop the unused attribute

2021-04-29 Thread Kalesh Anakkur Purayil
Hi Ferruh, On Wed, Apr 28, 2021 at 9:18 PM Ferruh Yigit wrote: > On 4/23/2021 6:22 AM, Kalesh A P wrote: > > From: Kalesh AP > > > > Remove "__rte_unused" instances that are wrongly marked. > > > > Can you please provide the fixes tags, so that patch can be backported to > required stable versi

Re: [dpdk-dev] [PATCH v2] raw/ifpga: fix ifpga device name format

2021-04-29 Thread Zhang, Qi Z
> -Original Message- > From: Huang, Wei > Sent: Thursday, April 29, 2021 10:34 AM > To: dev@dpdk.org; Xu, Rosen ; Zhang, Qi Z > > Cc: sta...@dpdk.org; Zhang, Tianfei ; Yigit, Ferruh > ; Huang, Wei > Subject: [PATCH v2] raw/ifpga: fix ifpga device name format > > The device name forma

Re: [dpdk-dev] nvgre inner rss problem in mlx5

2021-04-29 Thread wenxu
Hi Asaf, I using the upstream dpdk. There are the same issue. So I think thi s problem I mentioned is not fixed Could you help us handle with this? Br wenxu 发件人:Asaf Penso 发送日期:2021-04-28 17:31:03 收件人:wenxu 抄送人:"dev@dpdk.org" 主题:RE: Re:Re: [dpdk-dev] nvgre inner rss problem in mlx5 Wha

Re: [dpdk-dev] L3fwd mode in testpmd

2021-04-29 Thread Ananyev, Konstantin
Hi Stanislaw, > > On Wed, Apr 28, 2021 at 09:44:54PM +, Honnappa Nagarahalli wrote: > > > [Honnappa] Sorry, I do not understand this. I see that vector code is under > > compile time flag as below > > > > #if defined RTE_ARCH_X86 || defined __ARM_NEON > > l3fwd_em_se

Re: [dpdk-dev] [PATCH v2 1/2] net/iavf: fix missing set primary MAC type when start port

2021-04-29 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Robin Zhang > Sent: Wednesday, April 28, 2021 4:05 PM > To: dev@dpdk.org > Cc: Xing, Beilei ; Guo, Jia ; Yang, > Qiming ; Yang, SteveX ; > Zhang, RobinX > Subject: [dpdk-dev] [PATCH v2 1/2] net/iavf: fix missing set primary MAC type > when

Re: [dpdk-dev] [PATCH v2 2/2] net/i40e: fix missing set primary MAC type when start port

2021-04-29 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Robin Zhang > Sent: Wednesday, April 28, 2021 4:05 PM > To: dev@dpdk.org > Cc: Xing, Beilei ; Guo, Jia ; Yang, > Qiming ; Yang, SteveX ; > Zhang, RobinX > Subject: [dpdk-dev] [PATCH v2 2/2] net/i40e: fix missing set primary MAC type > when

Re: [dpdk-dev] [PATCH v2 2/2] app/testpmd: fix link speed for a specified port

2021-04-29 Thread Li, Xiaoyun
> -Original Message- > From: Min Hu (Connor) > Sent: Wednesday, April 28, 2021 16:37 > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Li, Xiaoyun > Subject: [PATCH v2 2/2] app/testpmd: fix link speed for a specified port > > From: Huisong Li > > When we use the following cmd to modify the link

[dpdk-dev] [PATCH v5] net/i40e: extend VF reset waiting time

2021-04-29 Thread Wenjun Wu
When starting VF, VF will issue reset command to PF, wait a fixed amount of time, and assume VF reset is done on PF side. However, compared with kernel PF, DPDK PF needs more time to setup. If we run DPDK PF to support DPDK VF, the original delay will not be enough. When we first start VF after PF

Re: [dpdk-dev] [PATCH v2 0/2] event/octeontx2: fixes for crypto adapter

2021-04-29 Thread Jerin Jacob
On Mon, Apr 26, 2021 at 5:51 PM Shijith Thotton wrote: > > Fixes for OCTEON TX2 crypto adapter implementation. > > v2: > - Fixed adapter xae count updation. Series applied to dpdk-next-net-eventdev/for-main. Thanks > > Shijith Thotton (2): > event/octeontx2: fix crypto adapter queue pair ops

[dpdk-dev] [PATCH] net/hns3: fix MAC enable failed rollback

2021-04-29 Thread Min Hu (Connor)
From: Huisong Li If driver fails to enable MAC, it does not need to rollback the MAC configuration. This patch fixes it. Fixes: bdaf190f8235 ("net/hns3: support link speed autoneg for PF") Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_ethdev.c | 6 --

[dpdk-dev] [Bug 695] ipsec-secgw packet validation test fail

2021-04-29 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=695 Bug ID: 695 Summary: ipsec-secgw packet validation test fail Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal

Re: [dpdk-dev] [PATCH v2 01/33] event/cnxk: add build infra and device setup

2021-04-29 Thread Jerin Jacob
On Mon, Apr 26, 2021 at 11:15 PM wrote: > > From: Pavan Nikhilesh > > Add meson build infra structure along with the event device s/infra structure/ infrastructure > SSO initialization and teardown functions. > > Signed-off-by: Shijith Thotton > Signed-off-by: Pavan Nikhilesh > --- > new file

Re: [dpdk-dev] nvgre inner rss problem in mlx5

2021-04-29 Thread Asaf Penso
Sure, let’s take it offline and come back here with updated results. Regards, Asaf Penso From: wenxu Sent: Thursday, April 29, 2021 11:30 AM To: Asaf Penso Cc: dev@dpdk.org Subject: Re:RE: Re:Re: [dpdk-dev] nvgre inner rss problem in mlx5 Hi Asaf, I using the upstream dpdk. There are the same

Re: [dpdk-dev] [PATCH v3 1/3] examples/flow_classify: fix check of port and core

2021-04-29 Thread Iremonger, Bernard
> -Original Message- > From: Min Hu (Connor) > Sent: Thursday, April 29, 2021 1:51 AM > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Iremonger, Bernard > ; tho...@monjalon.net > Subject: [PATCH v3 1/3] examples/flow_classify: fix check of port and core > > According to the comments and logging,

Re: [dpdk-dev] [PATCH] doc/cross_build: update the list supported Arm SoCs

2021-04-29 Thread Juraj Linkeš
> -Original Message- > From: Thierry Herbelot > Sent: Thursday, April 29, 2021 9:54 AM > To: dev@dpdk.org > Cc: Thierry Herbelot ; Thomas Monjalon > ; Juraj Linkeš ; Honnappa > Nagarahalli ; Ruifeng Wang > > Subject: [PATCH] doc/cross_build: update the list supported Arm SoCs > > Alig

Re: [dpdk-dev] [PATCH v5 3/5] test/hash: add additional thash tests

2021-04-29 Thread David Marchand
Hello Vladimir, On Mon, Apr 19, 2021 at 6:00 PM Vladimir Medvedkin wrote: > +static int > +test_adjust_tuple(void) > +{ > + struct rte_thash_ctx *ctx; > + struct rte_thash_subtuple_helper *h; > + const int key_len = 40; > + const uint8_t *new_key; > + uint8_t tuple[T

Re: [dpdk-dev] [PATCH v4 2/3] examples/ipsec-secgw: add UDP encapsulation support

2021-04-29 Thread Medvedkin, Vladimir
Hello, This patch breaks the packet validation test. https://bugs.dpdk.org/show_bug.cgi?id=695 Please take a look. Thanks! On 15/04/2021 10:22, Tejasree Kondoj wrote: Adding lookaside IPsec UDP encapsulation support for NAT traversal. Application has to add udp-encap option to sa config file t

Re: [dpdk-dev] [PATCH-V2] config/arm: restore support for Qualcomm servers

2021-04-29 Thread Juraj Linkeš
> -Original Message- > From: Thierry Herbelot > Sent: Thursday, April 29, 2021 10:07 AM > To: dev@dpdk.org > Cc: Thierry Herbelot ; Thomas Monjalon > ; Juraj Linkeš ; Honnappa > Nagarahalli ; Ruifeng Wang > > Subject: [PATCH-V2] config/arm: restore support for Qualcomm servers > > Fro

Re: [dpdk-dev] [PATCH v5 3/5] test/hash: add additional thash tests

2021-04-29 Thread Medvedkin, Vladimir
Hello David, Oh, interesting, thanks for the report, I'll take a look! On 29/04/2021 12:13, David Marchand wrote: Hello Vladimir, On Mon, Apr 19, 2021 at 6:00 PM Vladimir Medvedkin wrote: +static int +test_adjust_tuple(void) +{ + struct rte_thash_ctx *ctx; + struct rte_thash_subt

Re: [dpdk-dev] [PATCH] doc/cross_build: update the list supported Arm SoCs

2021-04-29 Thread David Marchand
On Thu, Apr 29, 2021 at 11:12 AM Juraj Linkeš wrote: > > -Original Message- > > From: Thierry Herbelot > > Sent: Thursday, April 29, 2021 9:54 AM > > To: dev@dpdk.org > > Cc: Thierry Herbelot ; Thomas Monjalon > > ; Juraj Linkeš ; Honnappa > > Nagarahalli ; Ruifeng Wang > > > > Subject:

[dpdk-dev] [PATCH] net/hns3: fix IEEE 1588 PTP

2021-04-29 Thread Min Hu (Connor)
When jumbo frame is enabled, Rx function will choose 'Scalar Scattered' function which has no PTP handling. This patche fixed it by add PTP handling in 'Scalar Scattered' function. Fixes: 38b539d96eb6 ("net/hns3: support IEEE 1588 PTP") Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_

Re: [dpdk-dev] [PATCH] doc: fix Arm socs list

2021-04-29 Thread Jerin Jacob
On Thu, Apr 29, 2021 at 12:38 PM David Marchand wrote: > > Keep the list of socs in a single place and include it so that the > documentation won't get outdated. > > Fixes: 1b4c86a721c9 ("config/arm: add Marvell CN10K") > Fixes: 7cf32a22b240 ("config/arm: add Hisilicon kunpeng") > > Signed-off-by:

[dpdk-dev] [PATCH-V3] config/arm: restore support for Qualcomm servers

2021-04-29 Thread Thierry Herbelot
>From the documentation: "The SoC configuration is a combination of implementer and CPU part number configuration and SoC-specific configuration." Align Qualcomm SoC configuration with the configuration of other server SoCs (eMAG, Kunpeng 9x0): add a soc configuration to the existing implementer

Re: [dpdk-dev] [PATCH v3 1/3] examples/flow_classify: fix check of port and core

2021-04-29 Thread Min Hu (Connor)
Thanks Bernard . Hi, Thomas, Ferruh, any other comments? 在 2021/4/29 17:07, Iremonger, Bernard 写道: -Original Message- From: Min Hu (Connor) Sent: Thursday, April 29, 2021 1:51 AM To: dev@dpdk.org Cc: Yigit, Ferruh ; Iremonger, Bernard ; tho...@monjalon.net Subject: [PATCH v3 1/3] examp

Re: [dpdk-dev] [PATCH] vdpa/mlx5: improve interrupt management

2021-04-29 Thread Maxime Coquelin
Hi Matan, On 4/11/21 11:07 AM, Thomas Monjalon wrote: > 07/04/2021 08:49, Xia, Chenbo: >>> Signed-off-by: Matan Azrad >>> Acked-by: Xueming Li >> >> Patch applied to next-virtio/main with conflict resolved. >> >> Thanks! > > Sorry it cannot be pulled in the main tree because it breaks > compila

Re: [dpdk-dev] [PATCH v9 2/4] vhost: add support for packed ring in async vhost

2021-04-29 Thread Maxime Coquelin
On 4/27/21 10:03 AM, Cheng Jiang wrote: > For now async vhost data path only supports split ring. This patch > enables packed ring in async vhost data path to make async vhost > compatible with virtio 1.1 spec. > > Signed-off-by: Cheng Jiang > --- > lib/vhost/rte_vhost_async.h | 1 + > lib/

Re: [dpdk-dev] [PATCH] doc: fix Arm socs list

2021-04-29 Thread Juraj Linkeš
> -Original Message- > From: dev On Behalf Of David Marchand > Sent: Thursday, April 29, 2021 9:08 AM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob ; Ruifeng Wang > ; Jan Viktorin ; Bruce > Richardson ; Pavan Nikhilesh > ; Nithin Dabilpuram > ; Lijun Ou ; Chengchang > Tang

Re: [dpdk-dev] [PATCH] doc: fix Arm socs list

2021-04-29 Thread Juraj Linkeš
> -Original Message- > From: Jerin Jacob > Sent: Thursday, April 29, 2021 11:23 AM > To: David Marchand ; Juraj Linkeš > > Cc: dpdk-dev ; Thomas Monjalon ; > Jerin Jacob ; Ruifeng Wang ; > Jan Viktorin ; Bruce Richardson > ; Pavan Nikhilesh ; > Nithin Dabilpuram ; Lijun Ou > ; Chengchan

[dpdk-dev] [PATCH v2 0/5] Add support of indirect action API for count action.

2021-04-29 Thread Viacheslav Ovsiienko
v1: http://patches.dpdk.org/project/dpdk/patch/20210426124250.42771-2-michae...@nvidia.com/ V2: patch rebase Michael Baum (5): net/mlx5: support flow count action handle app/testpmd: remove indirect RSS action query app/testpmd: support indirect counter action query net/mlx5: fix flow ag

[dpdk-dev] [PATCH v2 2/5] app/testpmd: remove indirect RSS action query

2021-04-29 Thread Viacheslav Ovsiienko
From: Michael Baum The port_action_handle_query function supports query operation for indirect RSS action. No driver currently supports this operation, and this support is unnecessary. Remove it. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- app/test-pmd/config.c | 7 --- 1 file

[dpdk-dev] [PATCH v2 1/5] net/mlx5: support flow count action handle

2021-04-29 Thread Viacheslav Ovsiienko
From: Michael Baum Existing API supports counter action to count traffic of a single flow. The user can share the count action among different flows using the shared flag and the same counter ID in the count action configuration. Recent patch [1] introduced the indirect action API. Using this AP

[dpdk-dev] [PATCH v2 3/5] app/testpmd: support indirect counter action query

2021-04-29 Thread Viacheslav Ovsiienko
From: Michael Baum Counter action query was implemented as part of flow query, but was not implemented as part of indirect action query. This patch adds the required implementation. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- app/test-pmd/config.c | 145 ++--

[dpdk-dev] [PATCH v2 4/5] net/mlx5: fix flow age event triggering

2021-04-29 Thread Viacheslav Ovsiienko
From: Michael Baum A FLOW_AGE event should be invoked when a new aged-out flow is detected by the PMD after the last user get-aged query calling. The PMD manages 2 flags for this information and check them in order to decide if an event should be invoked: MLX5_AGE_EVENT_NEW - a new aged-out flow

[dpdk-dev] [PATCH v2 5/5] net/mlx5: use aging by counter when counter is existed

2021-04-29 Thread Viacheslav Ovsiienko
From: Michael Baum The driver support 2 mechanisms in order to support AGE action: 1. Aging by counter - HW counter will be configured to the flow traffic, the driver polls the counter values efficiently to detect flow timeout. 2. Aging by ASO flow hit bit - HW ASO flow-hit bit is allocated for t

Re: [dpdk-dev] [PATCH v9 3/4] vhost: add batch datapath for async vhost packed ring

2021-04-29 Thread Maxime Coquelin
On 4/27/21 10:03 AM, Cheng Jiang wrote: > Add batch datapath for async vhost packed ring to improve the > performance of small packet processing. > > Signed-off-by: Cheng Jiang > --- > lib/vhost/virtio_net.c | 42 +- > 1 file changed, 37 insertions(+),

Re: [dpdk-dev] [PATCH v9 4/4] doc: add release note for vhost async packed ring

2021-04-29 Thread Maxime Coquelin
On 4/27/21 10:03 AM, Cheng Jiang wrote: > Add release note for the support of vhost async packed ring. > > Signed-off-by: Cheng Jiang > --- > doc/guides/rel_notes/release_21_05.rst | 4 > 1 file changed, 4 insertions(+) > > diff --git a/doc/guides/rel_notes/release_21_05.rst > b/doc/gu

Re: [dpdk-dev] [PATCH] doc: fix Arm socs list

2021-04-29 Thread David Marchand
On Thu, Apr 29, 2021 at 11:53 AM Juraj Linkeš wrote: > > -Original Message- > > From: dev On Behalf Of David Marchand > > Sent: Thursday, April 29, 2021 9:08 AM > > To: dev@dpdk.org > > Cc: tho...@monjalon.net; Jerin Jacob ; Ruifeng Wang > > ; Jan Viktorin ; Bruce > > Richardson ; Pavan N

Re: [dpdk-dev] [PATCH-V3] config/arm: restore support for Qualcomm servers

2021-04-29 Thread Juraj Linkeš
> -Original Message- > From: Thierry Herbelot > Sent: Thursday, April 29, 2021 11:23 AM > To: dev@dpdk.org > Cc: Thierry Herbelot ; Thomas Monjalon > ; Juraj Linkeš ; Honnappa > Nagarahalli ; Ruifeng Wang > > Subject: [PATCH-V3] config/arm: restore support for Qualcomm servers > > Fro

[dpdk-dev] [PATCH-V4] config/arm: restore support for Qualcomm servers

2021-04-29 Thread Thierry Herbelot
>From the documentation: "The SoC configuration is a combination of implementer and CPU part number configuration and SoC-specific configuration." Align Qualcomm SoC configuration with the configuration of other server SoCs (eMAG, Kunpeng 9x0): add a soc configuration to the existing implementer

Re: [dpdk-dev] [PATCH v2 1/4] ethdev: fix integrity flow item

2021-04-29 Thread Ori Kam
Hi Gregory, > -Original Message- > From: Gregory Etelson > Sent: Thursday, April 29, 2021 9:17 AM > Subject: [PATCH v2 1/4] ethdev: fix integrity flow item > > Add integrity item definition to the rte_flow_desc_item array. > The new entry allows to build RTE flow item from a data stored

[dpdk-dev] [PATCH v2 3/5] net/txgbe: support VXLAN-GPE

2021-04-29 Thread Jiawen Wu
Support VXLAN-GPE in udp tunnel port add and delete. Fix to parsing packet type to pass hardware checksum. Signed-off-by: Jiawen Wu --- doc/guides/rel_notes/release_21_05.rst | 1 + drivers/net/txgbe/txgbe_ethdev.c | 20 ++-- drivers/net/txgbe/txgbe_ptypes.c | 24 +++

[dpdk-dev] [PATCH v2 0/5] Fixes and supports for txgbe

2021-04-29 Thread Jiawen Wu
Fix some bugs, remove redundant code, add copyright. v2: - Add a separate condition to enable and disable QINQ strip. - Add support for VXLAN-GPE. - Reword commit logs. - Remove redundant 'retval' variable. Jiawen Wu (5): net/txgbe: fix RSS in QINQ net/txgbe: fix VF MTU limit setting net/tx

[dpdk-dev] [PATCH v2 2/5] net/txgbe: fix VF MTU limit setting

2021-04-29 Thread Jiawen Wu
Add the dev_started check to remove the limitation of VF MTU setting. When device is stopped, it is allowed to set MTU bigger than mbuf size. Scattered rx may be enabled in next starting, exempt from setting in EAL parameters. Fixes: a2beaa4a769e ("net/txgbe: support VF MTU update") Cc: sta...@dpd

[dpdk-dev] [PATCH v2 5/5] net/txgbe: add copyright owner

2021-04-29 Thread Jiawen Wu
All rights reserved by Beijing Wangxun Technology Co., Ltd. Part of the code references Intel. Signed-off-by: Jiawen Wu --- doc/guides/nics/txgbe.rst | 2 +- drivers/net/txgbe/base/meson.build| 2 +- drivers/net/txgbe/base/txgbe.h| 2 +- drivers/net/txgbe/base/txgbe_dcb.c

[dpdk-dev] [PATCH v2 1/5] net/txgbe: fix RSS in QINQ

2021-04-29 Thread Jiawen Wu
Support to enable and disable QINQ hardware strip, when configure vlan offload with QINQ strip mask, to avoid RSS does not work for QINQ packets. Fixes: 220b0e49bc47 ("net/txgbe: support VLAN") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_ethdev.c | 39 ++

[dpdk-dev] [PATCH v2 4/5] net/txgbe: remove port representor

2021-04-29 Thread Jiawen Wu
Remove port representor in device probe process, because it is not supported by the driver yet. Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_ethdev.c | 28 ++-- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/drivers/net/txgbe/txgbe_ethdev.c b/drive

Re: [dpdk-dev] [PATCH v1 1/4] test/power: fix check for cpu frequency

2021-04-29 Thread Pattan, Reshma
> -Original Message- > From: dev On Behalf Of David Hunt > + TEST_POWER_SYSFILE_SCALING_FREQ, lcore_id) < 0) { > return 0; [Reshma]: Do we need to return -1 here and in other failure scenarios below. > } > f = fopen(fullpath, "r"); > if (f

Re: [dpdk-dev] [dpdk-announce] release candidate 21.05-rc1

2021-04-29 Thread Jiawen Wu
Hi, Update the test status for Wangxun part. # Basic Wangxun NIC testing * Build or compile: - Build: all passed in CentOS Stream 8. - Compile: all passed in CentOS Stream 8. * PF/VF(txgbe): 90% is tested. - 4 bugs are found about QINQ&VXLAN&VF-MTU&module dump issues. 3 bugs fixed currently.

Re: [dpdk-dev] L3fwd mode in testpmd

2021-04-29 Thread Stanislaw Kardach
On Thu, Apr 29, 2021 at 08:31:03AM +, Ananyev, Konstantin wrote: > Hi Stanislaw, > > > > > On Wed, Apr 28, 2021 at 09:44:54PM +, Honnappa Nagarahalli wrote: > > > > > [Honnappa] Sorry, I do not understand this. I see that vector code is > > > under compile time flag as below > > > > > >

[dpdk-dev] [PATCH] examples/ipsec-secgw: fix handling IPv6 extension headers

2021-04-29 Thread Konstantin Ananyev
Recent patch to support UDP encapsulation introduced problem with handling inbound IPv6 packets with header extensions. This patch aims to fix the issue. Bugzilla ID: 695 Fixes: 9a1cc8f1ed74 ("examples/ipsec-secgw: support UDP encapsulation") Reported-by: Vladimir Medvedkin Signed-off-by: Konsta

Re: [dpdk-dev] [PATCH v4 0/6] net: ngbe PMD

2021-04-29 Thread Jiawen Wu
On Friday, April 9, 2021 10:47 PM, Ferruh Yigit wrote: > On 4/6/2021 10:30 AM, Jiawen Wu wrote: > > This patch set provides a skeleton of ngbe PMD, which adapted to > > Wangxun WX1860 series NICs. > > > > v4: > > - Fix compile error. > > > > v3: > > - Use rte_ether functions to define marcos. > > >

[dpdk-dev] [PATCH V1 0/2] examples/ethtool: fix MTU set and add MTU query

2021-04-29 Thread Min Hu (Connor)
From: Huisong Li This patchset fixes MTU data type when set MTU, and supports the query of MTU. Huisong Li (2): examples/ethtool: fix data type of MTU examples/ethtool: support the query of MTU examples/ethtool/ethtool-app/ethapp.c | 54 ++-- examples/ethtool/lib/rt

[dpdk-dev] [PATCH V1 1/2] examples/ethtool: fix data type of MTU

2021-04-29 Thread Min Hu (Connor)
From: Huisong Li This patch changes the data type of 'mtu' in rte_ethtool_net_change_mtu() from 'int' to 'uint16_t'. Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample application") Cc: sta...@dpdk.org Signed-off-by: Huisong Li --- examples/ethtool/ethtool-app/ethapp.c | 6

[dpdk-dev] [PATCH V1 2/2] examples/ethtool: support the query of MTU

2021-04-29 Thread Min Hu (Connor)
From: Huisong Li This patch supports the query of MTU. Signed-off-by: Huisong Li --- examples/ethtool/ethtool-app/ethapp.c | 48 +-- examples/ethtool/lib/rte_ethtool.c| 7 + examples/ethtool/lib/rte_ethtool.h| 14 ++ 3 files changed, 56 inse

Re: [dpdk-dev] [PATCH v13] app/testpmd: support multi-process

2021-04-29 Thread Min Hu (Connor)
Thanks Aman. Hi, Thomas, Ferruh, any other comments about this patch? 在 2021/4/28 20:10, Singh, Aman Deep 写道: This patch adds multi-process support for testpmd. The test cmd example as follows: the primary cmd: ./dpdk-testpmd -a xxx --proc-type=auto -l 0-1 -- -i \ --rxq=4 --txq=4 --num-proc

[dpdk-dev] DPDK Release Status Meeting 29/04/2021

2021-04-29 Thread Ferruh Yigit
Release status meeting minutes {Date} = :Date: 29 April 2021 :toc: .Agenda: * Release Dates * -rc1 status * Subtrees * LTS * Defects .Participants: * Broadcom * Intel * Marvell * Nvidia * Red Hat Release Dates - * `v21.05` dates - -rc2:

Re: [dpdk-dev] [PATCH v5] net/i40e: extend VF reset waiting time

2021-04-29 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Wenjun Wu > Sent: Thursday, April 29, 2021 4:27 PM > To: dev@dpdk.org; Xing, Beilei > Cc: Wu, Wenjun1 > Subject: [dpdk-dev] [PATCH v5] net/i40e: extend VF reset waiting time > > When starting VF, VF will issue reset command to PF, wait a

Re: [dpdk-dev] DPDK Release Status Meeting 29/04/2021

2021-04-29 Thread Thomas Monjalon
29/04/2021 13:03, Ferruh Yigit: > * `v21.08` draft dates, please comment: > - Proposal/V1:Wednesday, 2 June > - -rc1: Wednesday, 7 July I would prefer Monday 5 for -rc1, > - Release:Friday, 6 August and release on Tuesday 3? > * Expecting a small `v21.08` release. Y

Re: [dpdk-dev] [PATCH] net/bnxt: drop the unused attribute

2021-04-29 Thread Ferruh Yigit
On 4/29/2021 5:20 AM, Kalesh Anakkur Purayil wrote: > Hi Ferruh, > > On Wed, Apr 28, 2021 at 9:18 PM Ferruh Yigit > wrote: > > On 4/23/2021 6:22 AM, Kalesh A P wrote: > > From: Kalesh AP > > > > > Rem

Re: [dpdk-dev] [dpdk-announce] release candidate 21.05-rc1

2021-04-29 Thread Ferruh Yigit
On 4/29/2021 11:38 AM, Jiawen Wu wrote: > Hi, > > Update the test status for Wangxun part. > # Basic Wangxun NIC testing > * Build or compile: > - Build: all passed in CentOS Stream 8. > - Compile: all passed in CentOS Stream 8. > * PF/VF(txgbe): 90% is tested. > - 4 bugs are found about QINQ&

Re: [dpdk-dev] [PATCH v4 0/6] net: ngbe PMD

2021-04-29 Thread Ferruh Yigit
On 4/29/2021 11:52 AM, Jiawen Wu wrote: > On Friday, April 9, 2021 10:47 PM, Ferruh Yigit wrote: >> On 4/6/2021 10:30 AM, Jiawen Wu wrote: >>> This patch set provides a skeleton of ngbe PMD, which adapted to >>> Wangxun WX1860 series NICs. >>> >>> v4: >>> - Fix compile error. >>> >>> v3: >>> - Use

[dpdk-dev] [PATCH v2] app/crypto-perf: fix dereference of null return

2021-04-29 Thread Min Hu (Connor)
Return value of a function 'rte_zmalloc' is dereferenced without checking, and it may call segmentation fault. This patch fixed it. Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Cc: sta...@dpdk.org Signed-off-by: Min Hu (Connor) --- v2: * fix compiling warning.

Re: [dpdk-dev] [PATCH v13] app/testpmd: support multi-process

2021-04-29 Thread Ferruh Yigit
On 4/29/2021 11:57 AM, Min Hu (Connor) wrote: > Thanks Aman. > > Hi, Thomas, Ferruh, any other comments about this patch? > Hi Connor, There is no outstanding comments, also the patch has review/test tags in place. But the multi-process support may affect many operations, and assuming it is no

Re: [dpdk-dev] [PATCH] build: reduce max_lcores for ppc

2021-04-29 Thread Luca Boccassi
On Wed, 28 Apr 2021 at 21:10, David Christensen wrote: > > When setting RTE_MAX_LCORES to the maximum value supported by ppc > hardware (1536), the lcores_autotest may timeout after 30 seconds > because the test takes nearly 60 seconds to complete. Set max_lcores to > a lower value because the max

Re: [dpdk-dev] [PATCH v13] app/testpmd: support multi-process

2021-04-29 Thread Min Hu (Connor)
Got it, thanks Ferruh. 在 2021/4/29 19:25, Ferruh Yigit 写道: On 4/29/2021 11:57 AM, Min Hu (Connor) wrote: Thanks Aman. Hi, Thomas, Ferruh, any other comments about this patch? Hi Connor, There is no outstanding comments, also the patch has review/test tags in place. But the multi-process s

Re: [dpdk-dev] [PATCH v2 1/4] ethdev: fix integrity flow item

2021-04-29 Thread Thomas Monjalon
29/04/2021 12:13, Ori Kam: > From: Gregory Etelson > > > > Add integrity item definition to the rte_flow_desc_item array. > > The new entry allows to build RTE flow item from a data stored in > > rte_flow_item_integrity type. > > > > Add bitmasks to the integrity item value. > > The masks allow

Re: [dpdk-dev] [PATCH] doc: fix Arm socs list

2021-04-29 Thread Thomas Monjalon
29/04/2021 11:54, Juraj Linkeš: > From: Jerin Jacob > > On Thu, Apr 29, 2021 at 12:38 PM David Marchand > > wrote: > > > > > > Keep the list of socs in a single place and include it so that the > > > documentation won't get outdated. > > > > > > Fixes: 1b4c86a721c9 ("config/arm: add Marvell CN10K

Re: [dpdk-dev] [PATCH v3 1/3] examples/flow_classify: fix check of port and core

2021-04-29 Thread Thomas Monjalon
Hi, 29/04/2021 11:37, Min Hu (Connor): > Thanks Bernard . > > Hi, Thomas, Ferruh, any other comments? No need to ask for more comments after each ack. We are very busy and we'll come to this patch on time. You are sending a lot of fixes. That's very good but we need time to digest them :) Thanks

Re: [dpdk-dev] L3fwd mode in testpmd

2021-04-29 Thread Ananyev, Konstantin
> > On Thu, Apr 29, 2021 at 08:31:03AM +, Ananyev, Konstantin wrote: > > Hi Stanislaw, > > > > > > > > On Wed, Apr 28, 2021 at 09:44:54PM +, Honnappa Nagarahalli wrote: > > > > > > > [Honnappa] Sorry, I do not understand this. I see that vector code is > > > > under compile time flag a

[dpdk-dev] [PATCH v1] net/ixgbe: configure EXVET_T register

2021-04-29 Thread Lingyu Liu
According to X550 datasheet (section 8.2.1.2), when setting vlan tpid, the register EXVET_T on X550 NICs also need to be configured. Signed-off-by: Lingyu Liu --- drivers/net/ixgbe/base/ixgbe_type.h | 1 + drivers/net/ixgbe/ixgbe_ethdev.c| 33 + 2 files changed,

Re: [dpdk-dev] L3fwd mode in testpmd

2021-04-29 Thread Stanislaw Kardach
On Thu, Apr 29, 2021 at 11:47:30AM +, Ananyev, Konstantin wrote: > > > > It looks as if implementing em_mask_key() is enough to get l3fwd > > working. However to me this ifdef seems tricky. How should a scalar > > implementation handle the xmm_t type? rte_xmm_t looks like an API > > type/unio

Re: [dpdk-dev] [PATCH v6 01/10] eal: add thread id and simple thread functions

2021-04-29 Thread Kinsella, Ray
On 29/04/2021 08:44, Thomas Monjalon wrote: > 29/04/2021 02:50, Dmitry Kozlyuk: >> 2021-04-02 18:38 (UTC-0700), Narcisa Ana Maria Vasile: >>> --- /dev/null >>> +++ b/lib/librte_eal/windows/include/rte_windows_thread_types.h >>> @@ -0,0 +1,12 @@ >>> +/* SPDX-License-Identifier: BSD-3-Clause >>> +

Re: [dpdk-dev] [PATCH v3 1/3] examples/flow_classify: fix check of port and core

2021-04-29 Thread Min Hu (Connor)
在 2021/4/29 19:44, Thomas Monjalon 写道: Hi, 29/04/2021 11:37, Min Hu (Connor): Thanks Bernard . Hi, Thomas, Ferruh, any other comments? No need to ask for more comments after each ack. We are very busy and we'll come to this patch on time. You are sending a lot of fixes. That's very good b

Re: [dpdk-dev] [PATCH 0/2] bugfix for link for hns3 PMD

2021-04-29 Thread Ferruh Yigit
On 4/25/2021 1:06 PM, Min Hu (Connor) wrote: > This patch set contains two bugfixes for hns3 PMD. > > Huisong Li (2): > net/hns3: fix link status when port is stopped > net/hns3: fix link speed when port is down > Series applied to dpdk-next-net/main, thanks.

Re: [dpdk-dev] [PATCH v2 3/4] net/virtio: refactor Tx offload helper

2021-04-29 Thread Maxime Coquelin
On 4/29/21 10:04 AM, David Marchand wrote: > Purely cosmetic but it is rather odd to have an "offload" helper that > checks if it actually must do something. > We already have the same checks in most callers, so move this branch > in them. > > Signed-off-by: David Marchand > Reviewed-by: Flavi

  1   2   3   >