Re: [PATCH 1/2] net/txgbe: fix customized devices probe failure

2022-06-30 Thread Ferruh Yigit
On 6/29/2022 4:34 AM, Jiawen Wu wrote: The devices with OEM subsystem vendor ID failed to be initialized, because flash was read before memory address was set. Fixes: 138d869e41c0 ("net/txgbe: support OEM subsystem vendor ID") Signed-off-by: Jiawen Wu Series applied to dpdk-next-net/main, th

RE: release candidate 22.07-rc2

2022-06-30 Thread Jiang, YuX
> -Original Message- > From: Thomas Monjalon > Sent: Monday, June 27, 2022 10:15 AM > To: annou...@dpdk.org > Subject: release candidate 22.07-rc2 > > A new DPDK release candidate is ready for testing: > https://git.dpdk.org/dpdk/tag/?id=v22.07-rc2 > > There are 317 new patches in th

[Bug 1044] [dpdk-22.07] ice_iavf_fdir: the ipv4/6 gtpu_eh rule not take effect

2022-06-30 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1044 Bug ID: 1044 Summary: [dpdk-22.07] ice_iavf_fdir: the ipv4/6 gtpu_eh rule not take effect Product: DPDK Version: unspecified Hardware: x86 OS: Linux Sta

[PATCH] raw/ntb: add PPD status check for SPR

2022-06-30 Thread Junfeng Guo
Add PPD (PCIe Port Definition) status check for SPR (Sapphire Rapids). Note that NTB on SPR has the same device id with that on ICX, while the field offsets of PPD Control Register are different. Here, we use the PCI device revision id to distinguish the HW platform (ICX/SPR) and check the Port Co

RE: Service core statistics MT safety

2022-06-30 Thread Van Haaren, Harry
Hey All, (I've been away on Holidays a few days, just catching up!) > -Original Message- > From: Honnappa Nagarahalli > Sent: Wednesday, June 29, 2022 9:07 PM > To: Mattias Rönnblom ; mattias.ronnblom > ; Morten Brørup > ; dev@dpdk.org > Cc: Van Haaren, Harry ; nd ; nd > > Subject: RE:

[PATCH v2] raw/ntb: add PPD status check for SPR

2022-06-30 Thread Junfeng Guo
Add PPD (PCIe Port Definition) status check for SPR (Sapphire Rapids). Note that NTB on SPR has the same device id with that on ICX, while the field offsets of PPD Control Register are different. Here, we use the PCI device revision id to distinguish the HW platform (ICX/SPR) and check the Port Co

[PATCH] net/cnxk: fix segmentation fault in telemetry

2022-06-30 Thread Usman Tanveer
It gives segmentation fault when no parameter is passed for command '/cnxk/ipsec/info' in usertools/telemetry app as NULL is being passed as parameter to strtoul(). Now this function returns -1 before strtoul() if no parameter is passed. Signed-off-by: Usman Tanveer --- drivers/net/cnxk/cnxk_eth

Re: [PATCH] net/cnxk: fix segmentation fault in telemetry

2022-06-30 Thread David Marchand
On Thu, Jun 30, 2022 at 11:24 AM Usman Tanveer wrote: > > It gives segmentation fault when no parameter is passed for > command '/cnxk/ipsec/info' in usertools/telemetry app as NULL > is being passed as parameter to strtoul(). Now this function > returns -1 before strtoul() if no parameter is pass

[PATCH] doc: announce some raw/ifpga API removal

2022-06-30 Thread David Marchand
rte_pmd_ifpga_get_pci_bus() documentation is vague and it is unclear what could be done with it. On the other hand, EAL provides a standard API to retrieve a bus object by name. Announce removal of this driver specific API for v22.11. Signed-off-by: David Marchand --- A RFC series of the intende

[PATCH] doc: announce marking bus object as internal

2022-06-30 Thread David Marchand
rte_bus is unnecessarily exposed in the public API/ABI. Besides, we had cases where extending rte_bus was necessary. Announce that rte_bus will be made opaque in the public API and mark associated API as internal. Signed-off-by: David Marchand --- A RFC series of the intended changes is available

Re: [PATCH] doc: announce marking bus object as internal

2022-06-30 Thread Bruce Richardson
On Thu, Jun 30, 2022 at 11:41:53AM +0200, David Marchand wrote: > rte_bus is unnecessarily exposed in the public API/ABI. > Besides, we had cases where extending rte_bus was necessary. > Announce that rte_bus will be made opaque in the public API and mark > associated API as internal. > > Signed-o

Re: [PATCH v2] vhost: fix unchecked return value

2022-06-30 Thread Maxime Coquelin
On 6/29/22 11:07, Jiayu Hu wrote: This patch checks the return value of rte_dma_info_get() called in rte_vhost_async_dma_configure(). Coverity issue: 379066 Fixes: 53d3f4778c1d ("vhost: integrate dmadev in asynchronous data-path") Cc: sta...@dpdk.org Signed-off-by: Jiayu Hu Reviewed-by: Che

[PATCH] examples/ipsec-secgw: fix fallback session create

2022-06-30 Thread Radu Nicolau
Fix fallback session create for inline sessions. Fixes: a8ade12123c3 ("examples/ipsec-secgw: create lookaside sessions at init") Cc: vfia...@marvell.com Signed-off-by: Radu Nicolau --- examples/ipsec-secgw/sa.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples

[dpdk-dev v1] crypto/openssl: EVP_PKEY routine update in rsa op

2022-06-30 Thread Kai Ji
EVP_PKEY function need to be called twice for rsa sign and verify operations. This patch also remove the OPENSSL_API_COMPAT as all the deprecated APIs are avoid if 3.0 lib is present. Fixes: d7bd42f6db19 ("crypto/openssl: update RSA routine with 3.0 EVP API") Cc: kai...@intel.com Signed-off-by: K

RE: [PATCH v4] lib/eal: fix segfaults due to thread exit order

2022-06-30 Thread Zeng, ZhichaoX
Hi Harman, Bruce Could you please help to review this patch, thank you so much! Best regards Zhichao > -Original Message- > From: Zeng, ZhichaoX > Sent: Wednesday, June 15, 2022 2:02 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming ; > david.march...@redhat.com; step...@ne

DPDK Release Status Meeting 2022-06-30

2022-06-30 Thread Mcnamara, John
Release status meeting minutes 2022-06-30 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * ARM * Debian/Microsoft * Intel * Marvell * Nvidia * Red Hat * Xilinx/AMD Release Dates - The following are the p

Re: DPDK Release Status Meeting 2022-06-30

2022-06-30 Thread David Marchand
On Thu, Jun 30, 2022 at 12:47 PM Mcnamara, John wrote: > * Please send **and** review deprecation notices: > https://patchwork.dpdk.org/project/dpdk/list/?series=&q=deprecat And more here: https://patchwork.dpdk.org/project/dpdk/list/?series=&q=announce -- David Marchand

[PATCH v4] net/igc: add support for secondary processes

2022-06-30 Thread zhichaox . zeng
From: Zhichao Zeng The RX function was not specified in the secondary process, causing the secondary process to segfault in a multi-process environment. This patch specify RX/TX functions in "dev_init" to support secondary processes. Fixes: 66fde1b943eb ("net/igc: add skeleton") Cc: alvinx.zh..

[PATCH v1] examples/fips_validation: fix print for zero length payload

2022-06-30 Thread Archana Muniganti
NIST GCM decrypt result vectors expects to have following print for zero length payload instead of having no print. "pt" = "" Fixes: b09aac2d6e2b ("examples/fips_validation: add JSON to GCM test") Signed-off-by: Archana Muniganti --- examples/fips_validation/fips_validation_gcm.c | 3 +++ 1 fil

Re: DPDK Release Status Meeting 2022-06-30

2022-06-30 Thread Ferruh Yigit
On 6/30/2022 11:47 AM, Mcnamara, John wrote: Release status meeting minutes 2022-06-30 = <...> Opens - Last minute opens were: * I am getting ABI check crash, when again v21.11 with abigail 2.0.0, for the file 'librte_common_qat'. Not sure if t

[PATCH v2] examples/ipsec-secgw: fix fallback session create

2022-06-30 Thread Radu Nicolau
Fix fallback session create for inline sessions. Fixes: a8ade12123c3 ("examples/ipsec-secgw: create lookaside sessions at init") Cc: vfia...@marvell.com Signed-off-by: Radu Nicolau --- v2: create the session rather than just check if it's NULLL examples/ipsec-secgw/sa.c | 23 --

RE: [PATCH v4] net/igc: add support for secondary processes

2022-06-30 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Thursday, June 30, 2022 7:04 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming ; Zhang, Qi Z > ; Zeng, ZhichaoX ; > alvinx.zh...@intel.com; Guo, Junfeng ; Su, Simei > ; Burakov, Anatoly ; Ferruh > Yigit > Subject: [PATCH v4] n

Re: DPDK Release Status Meeting 2022-06-30

2022-06-30 Thread David Marchand
On Thu, Jun 30, 2022 at 1:43 PM Ferruh Yigit wrote: > Last minute opens were: > > * I am getting ABI check crash, when again v21.11 with abigail 2.0.0, > for the file 'librte_common_qat'. Not sure if this is specific to my > environment, would be good if someone double checks. I ran into a crash

Re: Minutes of Technical Board Meeting, 2022-06-01

2022-06-30 Thread David Marchand
On Tue, Jun 7, 2022 at 3:48 PM Olivier Matz wrote: > NOTE: Next meeting will be on Wednesday 2021-June-15 @3pm UTC, and will Looking at recent 2022 minutes, we have a few wrong 2021 dates. Not a big deal, the next techboard chairs probably won't do the same mistake :-). > be chaired by Stephen.

Re: [PATCH v4] lib/eal: fix segfaults due to thread exit order

2022-06-30 Thread Bruce Richardson
On Wed, Jun 15, 2022 at 02:01:54PM +0800, zhichaox.z...@intel.com wrote: > From: Zhichao Zeng > > The eal-intr-thread is not closed before memory cleanup in the > process of exiting. There is a small probability that when the > eal-intr-thread is about to use some pointers, the memory were > just

Re: DPDK Release Status Meeting 2022-06-30

2022-06-30 Thread Ferruh Yigit
On 6/30/2022 12:57 PM, David Marchand wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. On Thu, Jun 30, 2022 at 1:43 PM Ferruh Yigit wrote: Last minute opens were

Re: DPDK Release Status Meeting 2022-06-30

2022-06-30 Thread Dodji Seketeli
David Marchand writes: > On Thu, Jun 30, 2022 at 1:43 PM Ferruh Yigit wrote: >> Last minute opens were: >> >> * I am getting ABI check crash, when again v21.11 with abigail 2.0.0, >> for the file 'librte_common_qat'. Not sure if this is specific to my >> environment, would be good if someone dou

[PATCH] app/testpmd: fix GTP PSC raw processing

2022-06-30 Thread Gregory Etelson
Fix GTP PSP extension size initialization. Clear input buffer. cc: sta...@dpdk.org Fixes: c65282c9aa31 ("app/testpmd: fix GTP PSC raw processing") Signed-off-by: Gregory Etelson --- app/test-pmd/cmdline_flow.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/test-pm

Re: [PATCH] net/netvsc: replace the pointers to vmbus device from secondary process

2022-06-30 Thread Ferruh Yigit
On 6/30/2022 12:52 AM, Stephen Hemminger wrote: On Wed, 29 Jun 2022 16:29:44 -0700 lon...@linuxonhyperv.com wrote: From: Long Li The vmbus device is allocated via "calloc" before the EAL memory is initialized. The secondary process can't reference the vmbus device as it is not mapped correctl

[RFC] non-temporal memory access functions

2022-06-30 Thread Morten Brørup
This RFC proposes a set of functions optimized for non-temporal memory handling. Applications sometimes copy large amounts of data to another memory location, which is only used much later. In this case, it is inefficient to pollute the cache with the copied data. I have only provided the API, an

Re: [PATCH v2] vdpa/sfc: handle sync issue between qemu and vhost-user

2022-06-30 Thread Maxime Coquelin
On 6/28/22 07:29, abhimanyu.sa...@xilinx.com wrote: From: Abhimanyu Saini When DPDK app is running in the VF, it sometimes rings the doorbell before dev_config has had a chance to complete and hence it misses the event. As workaround, ring the doorbell when vDPA reports the notify_area to QE

Re: [PATCH] doc: announce marking bus object as internal

2022-06-30 Thread Thomas Monjalon
30/06/2022 11:54, Bruce Richardson: > On Thu, Jun 30, 2022 at 11:41:53AM +0200, David Marchand wrote: > > rte_bus is unnecessarily exposed in the public API/ABI. > > Besides, we had cases where extending rte_bus was necessary. > > Announce that rte_bus will be made opaque in the public API and mark

RE: [PATCH v4] doc: announce changes in bbdev related to enum extension

2022-06-30 Thread Chautru, Nicolas
Hi Thomas, Any concern with that deprecation notice please? Thanks Nic > -Original Message- > From: Chautru, Nicolas > Sent: Monday, June 27, 2022 1:48 PM > To: dev@dpdk.org; tho...@monjalon.net > Cc: t...@redhat.com; Kinsella, Ray ; Richardson, > Bruce ; hemant.agra...@nxp.com; > david.

RE: [PATCH v1 0/5] Direct re-arming of buffers on receive side

2022-06-30 Thread Morten Brørup
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Wednesday, 29 June 2022 23.58 > > > > > > > > > 16/05/2022 07:10, Feifei Wang пишет: > > > > > > > >>> Currently, the transmit side frees the buffers into the > lcore > > > >>> cache and the receive

RE: Optimizations are not features

2022-06-30 Thread Morten Brørup
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Wednesday, 29 June 2022 22.44 > > > > > > > 04/06/2022 13:51, Andrew Rybchenko пишет: > > > On 6/4/22 15:19, Morten Brørup wrote: > > >>> From: Jerin Jacob [mailto:jerinjac...@gmail.com] > > >>> Sent: Saturday, 4 June 202

[PATCH v2] crypto/ipsec_mb: enable support for arm64

2022-06-30 Thread Ashwin Sekhar T K
Enable support for arm64 architecture in ipsec_mb. x86 specific code is conditionally compiled only for x86 architecture builds. Other architectures will be unsupported. Signed-off-by: Ashwin Sekhar T K --- drivers/crypto/ipsec_mb/ipsec_mb_private.c | 7 +++ drivers/crypto/ipsec_mb/ipsec_mb_

Re: [PATCH 3/4] vhost: improve some datapath log messages

2022-06-30 Thread Maxime Coquelin
On 6/27/22 11:27, David Marchand wrote: Those messages were missed when adding socket context. Fix this. Signed-off-by: David Marchand --- lib/vhost/vhost.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Maxime Coquelin Thanks, Maxime

Re: [PATCH 4/4] vhost: prefix logs with context

2022-06-30 Thread Maxime Coquelin
Hi David, On 6/27/22 11:27, David Marchand wrote: We recently improved the log messages in the vhost library, adding some context that helps filtering for a given vhost-user device. However, some parts of the code were missed, and some later code changes broke this new convention (fixes were sen

Re: [PATCH v2] examples/ipsec-secgw: fix fallback session create

2022-06-30 Thread Medvedkin, Vladimir
Tested-by: Vladimir Medvedkin On 30/06/2022 12:45, Radu Nicolau wrote: Fix fallback session create for inline sessions. Fixes: a8ade12123c3 ("examples/ipsec-secgw: create lookaside sessions at init") Cc: vfia...@marvell.com Signed-off-by: Radu Nicolau --- v2: create the session rather than j

[PATCH] mbuf: add mbuf physical address field to dynamic field

2022-06-30 Thread Shijith Thotton
If all devices are configured to run in IOVA mode as VA, physical address field of mbuf (buf_iova) won't be used. In such cases, buf_iova space is free to use as a dynamic field. So a new dynamic field member (dynfield2) is added in mbuf structure to make use of that space. A new mbuf flag RTE_MBU

RE: [PATCH v4] net: fix checksum with unaligned buffer

2022-06-30 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > Sent: Tuesday, 28 June 2022 08.28 > > On 2022-06-27 22:21, Morten Brørup wrote: > >> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > >> Sent: Monday, 27 June 2022 19.23 > >> > >> On 2022-06-27 15:22, Morten Brørup wrote: > From

Re: [PATCH] mbuf: add mbuf physical address field to dynamic field

2022-06-30 Thread Stephen Hemminger
On Thu, 30 Jun 2022 21:55:16 +0530 Shijith Thotton wrote: > If all devices are configured to run in IOVA mode as VA, physical > address field of mbuf (buf_iova) won't be used. In such cases, buf_iova > space is free to use as a dynamic field. So a new dynamic field member > (dynfield2) is added i

[PATCH] doc: add deprecation notice for kni example

2022-06-30 Thread Bruce Richardson
As agreed by DPDK Technical Board, the KNI example app is due to be removed from the repository to discourage use in future projects, given that better alternatives exist. Signed-off-by: Bruce Richardson --- doc/guides/rel_notes/deprecation.rst | 4 1 file changed, 4 insertions(+) diff --g

Re: [PATCH] mbuf: add mbuf physical address field to dynamic field

2022-06-30 Thread Bruce Richardson
On Thu, Jun 30, 2022 at 09:55:16PM +0530, Shijith Thotton wrote: > If all devices are configured to run in IOVA mode as VA, physical > address field of mbuf (buf_iova) won't be used. In such cases, buf_iova > space is free to use as a dynamic field. So a new dynamic field member > (dynfield2) is ad

Re: [PATCH v4] net: fix checksum with unaligned buffer

2022-06-30 Thread Stephen Hemminger
On Thu, 23 Jun 2022 14:39:00 +0200 Morten Brørup wrote: > diff --git a/lib/net/rte_ip.h b/lib/net/rte_ip.h > index b502481670..738d643da0 100644 > --- a/lib/net/rte_ip.h > +++ b/lib/net/rte_ip.h > @@ -3,6 +3,7 @@ > * The Regents of the University of California. > * Copyright(c) 2010-2014

Re: [PATCH v4] net: fix checksum with unaligned buffer

2022-06-30 Thread Stephen Hemminger
On Thu, 23 Jun 2022 14:39:00 +0200 Morten Brørup wrote: > + /* if buffer is unaligned, keeping it byte order independent */ > + if (unlikely(unaligned)) { > + uint16_t first = 0; > + if (unlikely(len == 0)) > + return 0; Why is length == 0 uniq

Re: DPDK Release Status Meeting 2022-06-30

2022-06-30 Thread Ferruh Yigit
On 6/30/2022 1:43 PM, Dodji Seketeli wrote: David Marchand writes: On Thu, Jun 30, 2022 at 1:43 PM Ferruh Yigit wrote: Last minute opens were: * I am getting ABI check crash, when again v21.11 with abigail 2.0.0, for the file 'librte_common_qat'. Not sure if this is specific to my environme

[Bug 1046] igb_uio fails to build with kernel 5.19

2022-06-30 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1046 Bug ID: 1046 Summary: igb_uio fails to build with kernel 5.19 Product: DPDK Version: 22.03 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Pr

RE: [PATCH] doc: add event timer expiry drop stat

2022-06-30 Thread Carrillo, Erik G
> -Original Message- > From: Naga Harish K, S V > Sent: Monday, June 27, 2022 10:40 AM > To: m...@ashroe.eu; jer...@marvell.com; pbhagavat...@marvell.com; > sthot...@marvell.com; Carrillo, Erik G > Cc: dev@dpdk.org > Subject: [PATCH] doc: add event timer expiry drop stat > > The structur

RE: [PATCH] doc: add deprecation notice for kni example

2022-06-30 Thread Xia, Chenbo
> -Original Message- > From: Bruce Richardson > Sent: Friday, July 1, 2022 12:51 AM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [PATCH] doc: add deprecation notice for kni example > > As agreed by DPDK Technical Board, the KNI example app is due to be > removed from the reposit

[PATCH v4 00/12] preparation for the rte_flow offload of nfp PMD

2022-06-30 Thread Chaoyong He
This is the first patch series to add the support of rte_flow offload for nfp PMD, includes: Add the support of flower firmware Add the support of representor port Add the flower service infrastructure Add the cmsg interactive channels between pmd and fw * Changes since v3 - Add the 'Depends-on' t

[PATCH v4 01/12] net/nfp: move app specific attributes to own struct

2022-06-30 Thread Chaoyong He
The NFP Card can load different firmware applications. Currently only the CoreNIC application is supported. This commit makes needed infrastructure changes in order to support other firmware applications too. Clearer separation is made between the PF device and any application specific concepts. T

[PATCH v4 02/12] net/nfp: simplify initialization and remove dead code

2022-06-30 Thread Chaoyong He
Calling nfp_net_init() is only done for the corenic firmware flavor and it is guaranteed to always be called from the primary process, so the explicit check for RTE_PROC_PRIMARY can be dropped. The calling graph of nfp_net_init() already guaranteed the free of resources when it fail, so remove the

[PATCH v4 03/12] net/nfp: move app specific init logic to own function

2022-06-30 Thread Chaoyong He
The NFP card can load different firmware applications. This commit move the init logic of corenic app of the secondary process into its own function. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_ethdev.c | 93 +--- 1 fi

[PATCH v4 04/12] net/nfp: add initial flower firmware support

2022-06-30 Thread Chaoyong He
This commits adds the basic probing infrastructure to support the flower firmware. This firmware is geared towards offloading OVS and can generally be found in /lib/firmware/netronome/flower. It is also used by the NFP kernel driver when OVS offload with TC is desired. This commit also adds the ba

[PATCH v4 05/12] net/nfp: add flower PF setup and mempool init logic

2022-06-30 Thread Chaoyong He
This commit adds the vNIC initialization logic for the flower PF vNIC. The flower firmware exposes this vNIC for the purposes of fallback traffic in the switchdev use-case. The logic of setting up this vNIC is similar to the logic seen in nfp_net_init() and nfp_net_start(). This commit also adds m

[PATCH v4 06/12] net/nfp: add flower PF related routines

2022-06-30 Thread Chaoyong He
This commit adds the start/stop/close routine of the flower PF vNIC. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower.c | 193 1 file changed, 193 insertions(+) diff --git a/drivers/net/nfp/flower/nfp_flower.c

[PATCH v4 07/12] net/nfp: add flower ctrl VNIC related logics

2022-06-30 Thread Chaoyong He
This commit adds the setup/start logic for the ctrl vNIC. This vNIC is used by the PMD and flower firmware as a communication channel between driver and firmware. In the case of OVS it is also used to communicate flow statistics from hardware to the driver. A rte_eth device is not exposed to DPDK

[PATCH v4 08/12] net/nfp: move common rxtx function for flower use

2022-06-30 Thread Chaoyong He
This commit move some common Rx and Tx logic to the rxtx header file so that they can be re-used by flower tx and rx logic. Signed-off-by: Chaoyong He Signed-off-by: Heinrich Kuhn Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_rxtx.c | 32 +--- drivers/net/nf

[PATCH v4 09/12] net/nfp: add flower ctrl VNIC rxtx logic

2022-06-30 Thread Chaoyong He
Add a Rx and Tx function for the control vNIC. The logic is mostly identical to the normal Rx and Tx functionality of the NFP PMD. This commit also makes use of the ctrl vNIC service logic to service the ctrl vNIC Rx path. Signed-off-by: Chaoyong He Signed-off-by: Heinrich Kuhn Reviewed-by: Nik

[PATCH v4 10/12] net/nfp: add flower representor framework

2022-06-30 Thread Chaoyong He
This commit adds the framework to support flower representors. The number of VF representors are parsed from the command line. For physical port representors the current logic aims to create a representor for each physical port present on the hardware. A eth_dev is created for each phyport and VF,

[PATCH v4 11/12] net/nfp: move rxtx function to header file

2022-06-30 Thread Chaoyong He
Flower makes use of the same Rx and Tx checksum logic as the normal PMD. Expose it so that flower can make use of it. Signed-off-by: Chaoyong He Signed-off-by: Heinrich Kuhn Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_common.c| 2 +- drivers/net/nfp/nfp_ethdev.c| 2 +- driv

[PATCH v4 12/12] net/nfp: add flower PF rxtx logic

2022-06-30 Thread Chaoyong He
This commit implements the flower Rx logic. Fallback packets are multiplexed to the correct representor port based on the prepended metadata. The Rx poll is set to run on the existing service infrastructure. For Tx the existing NFP Tx logic is duplicated to keep the Tx two paths distinct. Flower f

RE: [PATCH v4] net/igc: add support for secondary processes

2022-06-30 Thread Zeng, ZhichaoX
>> The RX function was not specified in the secondary process, causing >> the secondary process to segfault in a multi-process environment. >> >> This patch specify RX/TX functions in "dev_init" to support secondary >> processes. >> >> Fixes: 66fde1b943eb ("net/igc: add skeleton") >> Cc: alvinx

RE: [PATCH v4] net/igc: add support for secondary processes

2022-06-30 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Friday, July 1, 2022 11:13 AM > To: Zhang, Qi Z ; dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming ; > alvinx.zh...@intel.com; Guo, Junfeng ; Su, Simei > ; Burakov, Anatoly ; > Ferruh Yigit > Subject: RE: [PATCH v4] net/igc: add suppo

RE: [PATCH] doc: announce some raw/ifpga API removal

2022-06-30 Thread Xu, Rosen
Hi David, Got, thank you so much. > -Original Message- > From: David Marchand > Sent: Thursday, June 30, 2022 17:41 > To: dev@dpdk.org; Xu, Rosen ; Zhang, Tianfei > > Cc: Ray Kinsella > Subject: [PATCH] doc: announce some raw/ifpga API removal > > rte_pmd_ifpga_get_pci_bus() documen

RE: [PATCH] doc: announce some raw/ifpga API removal

2022-06-30 Thread Huang, Wei
Hi David, > -Original Message- > From: Xu, Rosen > Sent: Friday, July 1, 2022 14:16 > To: David Marchand ; dev@dpdk.org; Zhang, > Tianfei ; Huang, Wei > Cc: Ray Kinsella > Subject: RE: [PATCH] doc: announce some raw/ifpga API removal > > Hi David, > > Got, thank you so much. > > >