[PATCH v2] net/i40e: remove redundant judgment

2023-03-28 Thread Feifei Wang
Merged variable updates under the same condition. It reduces branch. In ampere-altra, there is no performance improvement with this patch. In x86 sse and avx2 path, there is also no performance improvement. v2: 1. add change for avx and altivec path. Suggested-by: Honnappa Nagarahalli Signed-o

Re: release candidate 23.03-rc3

2023-03-28 Thread David Marchand
On Mon, Mar 20, 2023 at 5:29 PM Thomas Monjalon wrote: > > A new DPDK release candidate is ready for testing: > https://git.dpdk.org/dpdk/tag/?id=v23.03-rc3 > > There are 110 new patches in this snapshot. > > Release notes: > https://doc.dpdk.org/guides/rel_notes/release_23_03.html

RE: [PATCH] net/mlx5: fix CQEs dumping for Tx

2023-03-28 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Alexander Kozyrev > Sent: Friday, March 24, 2023 1:52 AM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko ; Matan Azrad > Subject: [PATCH] net/mlx5: fix CQEs dumping for Tx > > The regular CQE size can be 64 bytes or 128 byt

RE: [PATCH v3] net/mlx5: fix the sysfs port name translation

2023-03-28 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bing Zhao > Sent: Thursday, March 23, 2023 12:54 PM > To: Slava Ovsiienko ; Matan Azrad > ; step...@networkplumber.org > Cc: dev@dpdk.org; Raslan Darawsheh ; > sta...@dpdk.org > Subject: [PATCH v3] net/mlx5: fix the sysfs port name translation > > With so

Re: [PATCH 1/2] net/gve: switch copyright from MIT to BSD-3

2023-03-28 Thread Ferruh Yigit
On 3/28/2023 3:08 AM, Junfeng Guo wrote: > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -714,6 +714,9 @@ F: doc/guides/nics/features/enic.ini > > Google Virtual Ethernet > M: Junfeng Guo > +M: Jeroen de Borst > +M: Rushil Gupta > +M: Joshua Washington > F: drivers/net/gve/ > F: doc/guides/n

Re: [PATCH 1/2] net/gve: switch copyright from MIT to BSD-3

2023-03-28 Thread Ferruh Yigit
On 3/28/2023 3:08 AM, Junfeng Guo wrote: > Switch copyright from MIT to BSD-3 for GVE base code. > In the meantime, remove MIT license exception for GVE driver. > Also update the maintainers for GVE driver. > I guess you are switching 'license' from MIT to BSD-3, not copyright. Copyright holder i

Re: [PATCH 2/2] net/gve: update copyright holders

2023-03-28 Thread Ferruh Yigit
On 3/28/2023 3:08 AM, Junfeng Guo wrote: > Add Google LLC as one of the copyright holders for GVE. > > Signed-off-by: Rushil Gupta > Signed-off-by: Joshua Washington > Signed-off-by: Junfeng Guo > Signed-off-by: Jeroen de Borst > --- > drivers/net/gve/gve_ethdev.c | 32 +++

RE: [PATCH 1/2] net/gve: switch copyright from MIT to BSD-3

2023-03-28 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, March 28, 2023 16:51 > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, > Beilei > Cc: dev@dpdk.org; Rushil Gupta ; Joshua > Washington ; Jeroen de Borst > > Subject: Re: [PATCH 1/2] net/gve: switch copyright from MIT to

RE: [PATCH 1/2] net/gve: switch copyright from MIT to BSD-3

2023-03-28 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, March 28, 2023 16:55 > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, > Beilei > Cc: dev@dpdk.org; Rushil Gupta ; Joshua > Washington ; Jeroen de Borst > > Subject: Re: [PATCH 1/2] net/gve: switch copyright from MIT to

Re: [PATCH 1/2] net/gve: switch copyright from MIT to BSD-3

2023-03-28 Thread Ferruh Yigit
On 3/28/2023 10:06 AM, Guo, Junfeng wrote: > > >> -Original Message- >> From: Ferruh Yigit >> Sent: Tuesday, March 28, 2023 16:55 >> To: Guo, Junfeng ; Zhang, Qi Z >> ; Wu, Jingjing ; Xing, >> Beilei >> Cc: dev@dpdk.org; Rushil Gupta ; Joshua >> Washington ; Jeroen de Borst >> >> Subje

RE: [PATCH 2/2] net/gve: update copyright holders

2023-03-28 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, March 28, 2023 16:57 > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, > Beilei > Cc: dev@dpdk.org; Rushil Gupta ; Joshua > Washington ; Jeroen de Borst > > Subject: Re: [PATCH 2/2] net/gve: update copyright holders >

RE: [PATCH 1/2] net/gve: switch copyright from MIT to BSD-3

2023-03-28 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, March 28, 2023 17:09 > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, > Beilei > Cc: dev@dpdk.org; Rushil Gupta ; Joshua > Washington ; Jeroen de Borst > > Subject: Re: [PATCH 1/2] net/gve: switch copyright from MIT to

[PATCH v2 1/3] net/gve: switch license from MIT to BSD-3

2023-03-28 Thread Junfeng Guo
Switch license from MIT to BSD-3 for GVE base code. In the meantime, remove MIT license exception for GVE driver. Signed-off-by: Rushil Gupta Signed-off-by: Joshua Washington Signed-off-by: Junfeng Guo Signed-off-by: Jeroen de Borst --- .mailmap| 1 + drivers/net/g

[PATCH v2 0/3] update license and copyright holders

2023-03-28 Thread Junfeng Guo
This patch set contains: 1. switch license from MIT to BSD-3 for GVE base code. 2. remove MIT license exception 3. add maintainers 4. update copyright holders for GVE v2: 1. correct patch title & commit log 2. separate the maintainers' file update into a different patch Junfeng Guo (3): net/gve

[PATCH v2 2/3] net/gve: update copyright holders

2023-03-28 Thread Junfeng Guo
Add Google LLC as one of the copyright holders for GVE. Signed-off-by: Rushil Gupta Signed-off-by: Joshua Washington Signed-off-by: Junfeng Guo Signed-off-by: Jeroen de Borst --- drivers/net/gve/gve_ethdev.c | 4 +++- drivers/net/gve/gve_ethdev.h | 3 ++- drivers/net/gve/gve_logs.h | 4 +++-

[PATCH v2 3/3] net/gve: add maintainers for GVE

2023-03-28 Thread Junfeng Guo
Add maintainers from Google for GVE. Signed-off-by: Junfeng Guo --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1a33ad8592..988c7aecfa 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -714,6 +714,9 @@ F: doc/guides/nics/features/enic.ini Goo

[PATCH v1] app/testpmd: set srv6 header without any TLV

2023-03-28 Thread Rongwei Liu
When the type field of the IPv6 routing extension is 4, it means segment routing header. In this case, set the last_entry to be segment_left minus 1 if the user doesn't specify the header length explicitly. Signed-off-by: Rongwei Liu --- app/test-pmd/cmdline_flow.c | 3 +++ 1 file changed, 3 in

[PATCH v3 0/3] update license and copyright holders

2023-03-28 Thread Junfeng Guo
This patch set contains: 1. switch license from MIT to BSD-3 for GVE base code. 2. remove MIT license exception 3. add maintainers 4. update copyright holders for GVE v3: 1. remove redundant blank line v2: 1. correct patch title & commit log 2. separate the maintainers' file update into a differe

[PATCH v3 1/3] net/gve: switch license from MIT to BSD-3

2023-03-28 Thread Junfeng Guo
Switch license from MIT to BSD-3 for GVE base code. In the meantime, remove MIT license exception for GVE driver. Signed-off-by: Rushil Gupta Signed-off-by: Joshua Washington Signed-off-by: Junfeng Guo Signed-off-by: Jeroen de Borst --- .mailmap| 1 + drivers/net/g

[PATCH v3 2/3] net/gve: update copyright holders

2023-03-28 Thread Junfeng Guo
Add Google LLC as one of the copyright holders for GVE. Signed-off-by: Rushil Gupta Signed-off-by: Joshua Washington Signed-off-by: Junfeng Guo Signed-off-by: Jeroen de Borst --- drivers/net/gve/gve_ethdev.c | 3 ++- drivers/net/gve/gve_ethdev.h | 3 ++- drivers/net/gve/gve_logs.h | 3 ++-

[PATCH v3 3/3] net/gve: add maintainers for GVE

2023-03-28 Thread Junfeng Guo
Add maintainers from Google for GVE. Signed-off-by: Junfeng Guo --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1a33ad8592..988c7aecfa 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -714,6 +714,9 @@ F: doc/guides/nics/features/enic.ini Goo

RE: [PATCH v3 3/3] net/gve: add maintainers for GVE

2023-03-28 Thread Guo, Junfeng
+ Rushil Gupta > -Original Message- > From: Guo, Junfeng > Sent: Tuesday, March 28, 2023 17:45 > To: Zhang, Qi Z ; Wu, Jingjing > ; ferruh.yi...@amd.com; Xing, Beilei > > Cc: dev@dpdk.org; Guo, Junfeng > Subject: [PATCH v3 3/3] net/gve: add maintainers for GVE > > Add maintainers from

Re: [PATCH 2/2] net/gve: update copyright holders

2023-03-28 Thread Ferruh Yigit
On 3/28/2023 10:35 AM, Guo, Junfeng wrote: > > >> -Original Message- >> From: Ferruh Yigit >> Sent: Tuesday, March 28, 2023 16:57 >> To: Guo, Junfeng ; Zhang, Qi Z >> ; Wu, Jingjing ; Xing, >> Beilei >> Cc: dev@dpdk.org; Rushil Gupta ; Joshua >> Washington ; Jeroen de Borst >> >> Subje

Re: [PATCH v1] app/testpmd: set srv6 header without any TLV

2023-03-28 Thread Thomas Monjalon
28/03/2023 11:36, Rongwei Liu: > When the type field of the IPv6 routing extension is 4, it means > segment routing header. Can we replace this raw value with a #define in lib/net/ ?

[PATCH v1 1/1] cryptodev: support EDDSA

2023-03-28 Thread Sachin Yaligar
Asymmetric crypto library is extended to add EDDSA. Edwards curve operation params are introduced. Signed-off-by: Sachin Yaligar Change-Id: I939d7646f95723113fa9f3bdbc01c0aeb4620e74 --- .mailmap | 1 + doc/guides/cryptodevs/features/default.ini | 1 + doc/guid

Re: [PATCH v3 3/3] net/gve: add maintainers for GVE

2023-03-28 Thread Ferruh Yigit
On 3/28/2023 11:00 AM, Guo, Junfeng wrote: > + Rushil Gupta > >> -Original Message- >> From: Guo, Junfeng >> Sent: Tuesday, March 28, 2023 17:45 >> To: Zhang, Qi Z ; Wu, Jingjing >> ; ferruh.yi...@amd.com; Xing, Beilei >> >> Cc: dev@dpdk.org; Guo, Junfeng >> Subject: [PATCH v3 3/3] net

Re: [PATCH v3 1/3] net/gve: switch license from MIT to BSD-3

2023-03-28 Thread Ferruh Yigit
On 3/28/2023 10:45 AM, Junfeng Guo wrote: > diff --git a/drivers/net/gve/base/gve_osdep.h > b/drivers/net/gve/base/gve_osdep.h > index 7cb73002f4..f7d87fec16 100644 > --- a/drivers/net/gve/base/gve_osdep.h > +++ b/drivers/net/gve/base/gve_osdep.h > @@ -1,5 +1,5 @@ > /* SPDX-License-Identifier: BS

Re: [PATCH v3 2/3] net/gve: update copyright holders

2023-03-28 Thread Ferruh Yigit
On 3/28/2023 10:45 AM, Junfeng Guo wrote: > Add Google LLC as one of the copyright holders for GVE. > > Signed-off-by: Rushil Gupta > Signed-off-by: Joshua Washington > Signed-off-by: Junfeng Guo > Signed-off-by: Jeroen de Borst Acked-by: Ferruh Yigit

Re: [EXT] [PATCH] vhost: add device op to offload the interrupt kick

2023-03-28 Thread Eelco Chaudron
On 27 Mar 2023, at 18:35, Maxime Coquelin wrote: > On 3/27/23 18:04, Eelco Chaudron wrote: >> >> >> On 27 Mar 2023, at 17:16, Gowrishankar Muthukrishnan wrote: >> >>> Hi Eelco, >>> +void +rte_vhost_notify_guest(int vid, uint16_t queue_id) { + struct virtio_net *dev = get_device(

[PATCH v2] app/testpmd: set srv6 header without any TLV

2023-03-28 Thread Rongwei Liu
When the type field of the IPv6 routing extension is 4, it means segment routing header. In this case, set the last_entry to be segment_left minus 1 if the user doesn't specify the header length explicitly. Signed-off-by: Rongwei Liu v2: add macro definition for segment routing header. --- app

[Bug 1201] virtphys sometimes causing bluescreen

2023-03-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1201 Bug ID: 1201 Summary: virtphys sometimes causing bluescreen Product: DPDK Version: 22.11 Hardware: x86 OS: Windows Status: UNCONFIRMED Severity: critical

Re: [PATCH] devtools: move mailmap check after patch applied

2023-03-28 Thread David Marchand
On Mon, Mar 27, 2023 at 4:52 PM Thomas Monjalon wrote: > > The names in a patch were possibly checked with checkpatches.sh > before applying the patch, so before .mailmap file was updated. > > The check is moved and translated in check-git-log.sh, > which is run only on a repository, not a detache

Link Bonding of VFs and PF admin down

2023-03-28 Thread Paulraj, Bharath
Hello Team, I have two X710 NICs in the hypervisor and created the VFs on those NICs. PF is managed by the Linux kernel, while the VF is managed by DPDK. I am using the "test-pmd" application to test the bonding functionality, especially ACTIVE-BACKUP mode. I have created the bond interface and

Re: [PATCH] devtools: move mailmap check after patch applied

2023-03-28 Thread Ferruh Yigit
On 3/28/2023 2:52 PM, David Marchand wrote: > On Mon, Mar 27, 2023 at 4:52 PM Thomas Monjalon wrote: >> >> The names in a patch were possibly checked with checkpatches.sh >> before applying the patch, so before .mailmap file was updated. >> >> The check is moved and translated in check-git-log.sh,

DPDK Userspace 2023 Survey

2023-03-28 Thread Nathan Southern
Dear DPDK Community Members, We hope this message finds each of you well. We are in the midst of planning DPDK’s live two-day Userspace conference for mid-September of 2023, and eyeing Dublin, Ireland as the location. This will likely be a hybrid event, with a live component and a remote compon

Re: [PATCH 1/1] app/mldev: add internal function for file read

2023-03-28 Thread Stephen Hemminger
On Thu, 23 Mar 2023 08:28:01 -0700 Srikanth Yalavarthi wrote: > + if (fseek(fp, 0, SEEK_END) == 0) { > + file_size = ftell(fp); > + if (file_size == -1) { > + ret = -EIO; > + goto error; > + } > + > + file

Re: [PATCH v1] doc/guides/nics: remove limitation of ipn3ke

2023-03-28 Thread Thomas Monjalon
24/03/2023 02:29, Huang, Wei: > From: Thomas Monjalon > > 23/03/2023 02:00, Wei Huang: > > > Now ipn3ke is not evaluation in 19.05 . > > > > What do you mean? It is not considered for evaluation since 19.05? > > Do you want to backport? > > > No backport, this limitation is out of date, just to

Re: [PATCH] pdump: fix build issue with GCC 12

2023-03-28 Thread Thomas Monjalon
27/03/2023 09:07, Joyce Kong: > The following warning is observed with GCC12 compilation > with release 20.11: > > In function ‘__rte_ring_enqueue_elems_64’, > inlined from ‘__rte_ring_enqueue_elems’ at > ../lib/librte_ring/rte_ring_elem.h:225:3, > inlined from ‘__rte_ring_do_e

Re: [PATCH] acl: fix autotest failures on ppc64le with gcc 11

2023-03-28 Thread Thomas Monjalon
22/03/2023 18:29, David Christensen: > Original acl implementation of Altivec optimized code included an > explicit -O2 optimization level for a particular inlined function. > When DPDK is built with the default -O3 optimization level on gcc > 11.x or later, the resulting code may generate a segmen

[PATCH] common/sfc_efx/base: support link status change v2 events

2023-03-28 Thread Ivan Malov
FW should send link status change events in either v1 or v2 format depending on the preference which the driver can express during CMD_DRV_ATTACH stage. At the moment, libefx does not request v2, so v1 events must arrive. However, FW does not honour this choice and always sends v2 events. So teach

Re: [PATCH 00/33] Update net driver documentation

2023-03-28 Thread Thomas Monjalon
22/03/2023 00:59, Ferruh Yigit: > Some PMDs has "Pre-Installation Configuration" section in their documentation, > although section is not clear I assume that is historical from times compile > time parameters and 'make' build system used, where common make target was > 'install', so section refers

Re: [PATCH] devtools: move mailmap check after patch applied

2023-03-28 Thread Thomas Monjalon
28/03/2023 16:27, Ferruh Yigit: > On 3/28/2023 2:52 PM, David Marchand wrote: > > On Mon, Mar 27, 2023 at 4:52 PM Thomas Monjalon wrote: > >> > >> The names in a patch were possibly checked with checkpatches.sh > >> before applying the patch, so before .mailmap file was updated. > >> > >> The chec

Re: [PATCH v2 0/2] ABI check updates

2023-03-28 Thread Thomas Monjalon
23/03/2023 18:15, David Marchand: > This series moves ABI exceptions in a single configuration file and > simplifies the ABI check so that no artefact depending on libabigail > version is stored in the CI. Applied, thanks.

Re: [PATCH] devtools: add E-Switch keyword for commit checks

2023-03-28 Thread Thomas Monjalon
24/02/2022 20:20, Ajit Khaparde: > On Thu, Feb 24, 2022 at 3:07 AM Raslan Darawsheh wrote: > > > > ++ adding more people here, > > > > From: Thomas Monjalon > > > 24/02/2022 10:26, Raslan Darawsheh: > > > > This adds the syntax for E-Switch to have check on how it suppose to > > > > be for commit

Re: rte_atomic API compatibility & standard atomics

2023-03-28 Thread Tyler Retzlaff
On Mon, Mar 27, 2023 at 10:08:10PM +0200, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Monday, 27 March 2023 21.39 > > > > Hi folks, > > > > I don't think we discussed it specifically but what is the expectation > > in relation to converting to sta

Re: [PATCH] doc: update pipeline example path in the user guide

2023-03-28 Thread Thomas Monjalon
28/11/2022 00:03, Harshad Narayane: > Updated the pipeline example path in the Sample Application User Guide. > > Signed-off-by: Harshad Narayane > Signed-off-by: Kamalakannan R > Acked-by: Cristian Dumitrescu > --- > -$ .//examples/dpdk-pipeline -c 0x3 -- -s examples/vxlan.cli > +$ .//

Re: [PATCH] doc: add capability to access physical addresses

2023-03-28 Thread Thomas Monjalon
19/01/2023 22:24, Dmitry Kozlyuk: > DAC_READ_SEARCH or DAC_OVERRIDE capability is required to access > /proc/self/pagemap, but the Linux guide mentioned neither one. > Recommend DAC_READ_SEARCH as less impactful. > > Fixes: 979bb5d493fb ("doc: add more instructions for running as non-root") > Cc:

release candidate 23.03-rc4

2023-03-28 Thread Thomas Monjalon
A new DPDK release candidate is ready for testing: https://git.dpdk.org/dpdk/tag/?id=v23.03-rc4 There are 42 new patches in this snapshot. Release notes: https://doc.dpdk.org/guides/rel_notes/release_23_03.html This is the last release candidate. Only documentation should be upda

Re: [PATCH v3 2/3] net/gve: update copyright holders

2023-03-28 Thread Rushil Gupta
On Tue, Mar 28, 2023 at 3:37 AM Ferruh Yigit wrote: > On 3/28/2023 10:45 AM, Junfeng Guo wrote: > > Add Google LLC as one of the copyright holders for GVE. > > > > Signed-off-by: Rushil Gupta > > Signed-off-by: Joshua Washington > > Signed-off-by: Junfeng Guo > > Signed-off-by: Jeroen de Borst

RE: [PATCH] net/iavf: fix VLAN offload with AVX512

2023-03-28 Thread Lu, Wenzhuo
> -Original Message- > From: Michal Schmidt > Sent: Monday, March 27, 2023 6:08 PM > To: dev@dpdk.org > Cc: Richardson, Bruce ; Konstantin Ananyev > ; Wu, Jingjing ; > Xing, Beilei ; Rong, Leyi ; Lu, > Wenzhuo ; sta...@dpdk.org > Subject: [PATCH] net/iavf: fix VLAN offload with AVX512 >

Re: [PATCH 01/16] net/hns3: fix possible truncation of hash key when config

2023-03-28 Thread lihuisong (C)
在 2023/3/11 3:36, Ferruh Yigit 写道: On 3/10/2023 9:35 AM, Dongdong Liu wrote: From: Huisong Li The hash key length of hns3 driver is obtained from firmware. If the length isn't a multiple of HNS3_RSS_HASH_KEY_NUM (16), the last part of hash key will be truncated. I am not sure if the explan

Re: [PATCH 06/16] net/hns3: separate the setting of hash algorithm

2023-03-28 Thread lihuisong (C)
在 2023/3/11 3:36, Ferruh Yigit 写道: On 3/10/2023 9:35 AM, Dongdong Liu wrote: From: Huisong Li Currently, the setting of hash algorithm comes from the default configuration in driver and the rte_flow interface. The hash algorithm that is set to hardware in both ways is saved in hw->rss_info.c

RE: [PATCH v4 1/3] ethdev: add API for buffer recycle mode

2023-03-28 Thread Feifei Wang
Hi, Morten > -Original Message- > From: Morten Brørup > Sent: Thursday, March 23, 2023 7:42 PM > To: Feifei Wang ; tho...@monjalon.net; Ferruh > Yigit ; Andrew Rybchenko > > Cc: dev@dpdk.org; konstantin.v.anan...@yandex.ru; nd ; > Honnappa Nagarahalli ; Ruifeng Wang > > Subject: RE: [PA

[PATCH v4 1/3] net/gve: switch license from MIT to BSD-3

2023-03-28 Thread Junfeng Guo
Switch license from MIT to BSD-3 for GVE base code. In the meantime, remove MIT license exception for GVE driver. Signed-off-by: Rushil Gupta Signed-off-by: Joshua Washington Signed-off-by: Junfeng Guo Signed-off-by: Jeroen de Borst --- .mailmap| 1 + drivers/net/g

[PATCH v4 0/3] update license and copyright holders

2023-03-28 Thread Junfeng Guo
This patch set contains: 1. switch license from MIT to BSD-3 for GVE base code. 2. remove MIT license exception 3. add maintainers 4. update copyright holders for GVE v4: - update copyright holder for *_osdep.h file v3: - remove redundant blank line v2: - correct patch title & commit log - s

[PATCH v4 2/3] net/gve: update copyright holders

2023-03-28 Thread Junfeng Guo
Add Google LLC as one of the copyright holders for GVE. Signed-off-by: Rushil Gupta Signed-off-by: Joshua Washington Signed-off-by: Junfeng Guo Signed-off-by: Jeroen de Borst Acked-by: Ferruh Yigit Acked-by: Rushil Gupta --- drivers/net/gve/base/gve_osdep.h | 3 ++- drivers/net/gve/gve_eth

[PATCH v4 3/3] net/gve: add maintainers for GVE

2023-03-28 Thread Junfeng Guo
Add maintainers from Google for GVE. Signed-off-by: Junfeng Guo Signed-off-by: Rushil Gupta --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1a33ad8592..988c7aecfa 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -714,6 +714,9 @@ F: doc/guides/

RE: [PATCH v3 1/3] net/gve: switch license from MIT to BSD-3

2023-03-28 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, March 28, 2023 18:36 > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, > Beilei > Cc: dev@dpdk.org; Rushil Gupta ; Joshua > Washington ; Jeroen de Borst > > Subject: Re: [PATCH v3 1/3] net/gve: switch license from MIT t

RE: [PATCH v3 3/3] net/gve: add maintainers for GVE

2023-03-28 Thread Guo, Junfeng
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, March 28, 2023 18:35 > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, > Beilei ; rush...@google.com > Cc: dev@dpdk.org; Jeroen de Borst ; Rushil > Gupta ; Joshua Washington > ; Thomas Monjalon > Subject: Re: [PATCH v3 3

RE: [PATCH v3] net/iavf: fix iavf query stats in intr thread

2023-03-28 Thread Deng, KaiwenX
> -Original Message- > From: Ferruh Yigit > Sent: Monday, March 27, 2023 8:32 PM > To: Deng, KaiwenX ; dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming ; Zhou, YidingX > ; Chas Williams ; Min Hu (Connor) > ; Wu, Jingjing ; Xing, Beilei > ; Mike Pattrick ; Zhang, Qi Z > ; Doherty, Declan

[PATCH v3 00/15] graph enhancement for multi-core dispatch

2023-03-28 Thread Zhirun Yan
V3: Fix CI build issues about TLS and typo. V2: Use git mv to keep git history. Use TLS for per-thread local storage. Change model name to mcore dispatch. Change API with specific mode name. Split big patch. Fix CI issues. Rebase l3fwd-graph example. Update doc and maintainers files. Currently,

[PATCH v3 01/15] graph: rename rte_graph_work as common

2023-03-28 Thread Zhirun Yan
Rename rte_graph_work.h to rte_graph_work_common.h for supporting multiple graph worker model. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- MAINTAINERS | 1 + lib/graph/graph_pcap.c

[PATCH v3 02/15] graph: split graph worker into common and default model

2023-03-28 Thread Zhirun Yan
To support multiple graph worker model, split graph into common and default. Naming the current walk function as rte_graph_model_rtc cause the default model is RTC(Run-to-completion). Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_pcap.c

[PATCH v3 03/15] graph: move node process into inline function

2023-03-28 Thread Zhirun Yan
Node process is a single and reusable block, move the code into an inline function. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/rte_graph_model_rtc.h | 20 ++--- lib/graph/rte_graph_worker_common.h | 33 +++

[PATCH v3 04/15] graph: add get/set graph worker model APIs

2023-03-28 Thread Zhirun Yan
Add new get/set APIs to configure graph worker model which is used to determine which model will be chosen. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/meson.build | 1 + lib/graph/rte_graph_worker.c| 54 +++

[PATCH v3 05/15] graph: introduce graph node core affinity API

2023-03-28 Thread Zhirun Yan
Add lcore_id for node to hold affinity core id and impl rte_graph_model_dispatch_lcore_affinity_set to set node affinity with specific lcore. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_private.h| 1 + lib/graph/meson.build

[PATCH v3 06/15] graph: introduce graph bind unbind API

2023-03-28 Thread Zhirun Yan
Add lcore_id for graph to hold affinity core id where graph would run on. Add bind/unbind API to set/unset graph affinity attribute. lcore_id will be set as MAX by default, it means not enable this attribute. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan ---

[PATCH v3 07/15] graph: introduce graph clone API for other worker core

2023-03-28 Thread Zhirun Yan
This patch adds graph API for supporting to clone the graph object for a specified worker core. The new graph will also clone all nodes. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph.c | 110 ++

[PATCH v3 08/15] graph: add struct for stream moving between cores

2023-03-28 Thread Zhirun Yan
Add graph_sched_wq_node to hold graph scheduling workqueue node. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph.c | 1 + lib/graph/graph_populate.c | 1 + lib/graph/graph_private.h | 12

[PATCH v3 09/15] graph: introduce stream moving cross cores

2023-03-28 Thread Zhirun Yan
This patch introduces key functions to allow a worker thread to enable enqueue and move streams of objects to the next nodes over different cores. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_private.h| 27 + lib/graph/m

[PATCH v3 10/15] graph: enable create and destroy graph scheduling workqueue

2023-03-28 Thread Zhirun Yan
This patch enables to create and destroy scheduling workqueue into common graph operations. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph.c | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/graph/graph.c b/lib/graph/graph.c

[PATCH v3 11/15] graph: introduce graph walk by cross-core dispatch

2023-03-28 Thread Zhirun Yan
This patch introduces the task scheduler mechanism to enable dispatching tasks to another worker cores. Currently, there is only a local work queue for one graph to walk. We introduce a scheduler worker queue in each worker core for dispatching tasks. It will perform the walk on scheduler work queu

[PATCH v3 12/15] graph: enable graph multicore dispatch scheduler model

2023-03-28 Thread Zhirun Yan
This patch enables to chose new scheduler model. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/rte_graph_worker.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/graph/rte_graph_worker.h b/lib/graph/rte_graph_wor

[PATCH v3 13/15] graph: add stats for cross-core dispatching

2023-03-28 Thread Zhirun Yan
Add stats for cross-core dispatching scheduler if stats collection is enabled. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_debug.c | 6 +++ lib/graph/graph_stats.c | 74 +--- lib/graph/

[PATCH v3 14/15] examples/l3fwd-graph: introduce multicore dispatch worker model

2023-03-28 Thread Zhirun Yan
Add new parameter "model" to choose dispatch or rtc worker model. And in dispatch model, the node will affinity to worker core successively. Note: only support one RX node for remote model in current implementation. ./dpdk-l3fwd-graph -l 8,9,10,11 -n 4 -- -p 0x1 --config="(0,0,9)" -P --model="di

[PATCH v3 15/15] doc: update multicore dispatch model in graph guides

2023-03-28 Thread Zhirun Yan
Update graph documentation to introduce new multicore dispatch model. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- doc/guides/prog_guide/graph_lib.rst | 59 +++-- 1 file changed, 55 insertions(+), 4 deletions(-) diff --git a/doc

Reg: Link Bonding of VFs and PF admin down

2023-03-28 Thread bharath paulraj
Hello Team, I have two X710 NICs in the hypervisor and created the VFs on those NICs. PF is managed by the Linux kernel, while the VF is managed by DPDK. I am using the "test-pmd" application to test the bonding functionality, especially ACTIVE-BACKUP mode. I have created the bond interface and ad