RE: [dpdk-dev] [PATCH] doc: fix build error with sphinx 4.5.0

2022-05-02 Thread Jayatheerthan, Jay
Looks good, thanks! Acked-by: Jay Jayatheerthan -Jay > -Original Message- > From: jer...@marvell.com > Sent: Sunday, May 1, 2022 8:27 PM > To: dev@dpdk.org; Jayatheerthan, Jay ; Jerin > Jacob ; Ray Kinsella > ; Pavan Nikhilesh > Cc: tho...@monjalon.net; david.march...@redhat.com; s

RE: [PATCH 1/1] crypto/cnxk: enable 3des-cbc secure capability

2022-05-02 Thread Akhil Goyal
> Subject: [PATCH 1/1] crypto/cnxk: enable 3des-cbc secure capability > > Patch enables 3DES-CBC secure capability of crypto device. > > Signed-off-by: Vamsi Attunuru Acked-by: Akhil Goyal

[PATCH] doc: update Linux core isolation guide

2022-05-02 Thread Pavan Nikhilesh
Update Linux core isolation guide to include isolation from timers, rcu processing and IRQs. Signed-off-by: Pavan Nikhilesh --- doc/guides/linux_gsg/enable_func.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/guides/linux_gsg/enable_func.rst b/doc/guides/l

RE: [PATCH 1/1] crypto/cnxk: enable 3des-cbc secure capability

2022-05-02 Thread Anoob Joseph
Hi Vamsi, Please see inline. Thanks, Anoob > -Original Message- > From: Vamsi Attunuru > Sent: Saturday, April 30, 2022 11:07 AM > To: dev@dpdk.org > Cc: Anoob Joseph ; Akhil Goyal > ; Vamsi Krishna Attunuru > Subject: [PATCH 1/1] crypto/cnxk: enable 3des-cbc secure capability > > Pat

[PATCH v2 1/1] crypto/cnxk: enable 3des-cbc secure capability

2022-05-02 Thread Vamsi Attunuru
Patch enables 3DES-CBC secure capability of crypto device. Signed-off-by: Vamsi Attunuru Acked-by: Akhil Goyal --- v2: add seperate key_len check for 3DES --- drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 24 +++ drivers/

[dpdk-dev] [PATCH] common/cnxk: fix channel number setting in MCAM entries

2022-05-02 Thread psatheesh
From: Satheesh Paul Adding changes to accommodate the following requirements while masking the channel number. 1. For CN10K device, channel number should not be masked for first pass rules with RTE_FLOW_ACTION_TYPE_SECURITY action. And channel number should be masked for all other flow r

RE: [PATCH v2 1/1] crypto/cnxk: enable 3des-cbc secure capability

2022-05-02 Thread Anoob Joseph
> > Patch enables 3DES-CBC secure capability of crypto device. > > Signed-off-by: Vamsi Attunuru > Acked-by: Akhil Goyal > --- > v2: add seperate key_len check for 3DES > --- > drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- > .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 24 +

RE: [PATCH v4 1/7] cryptodev: add APIs to get/set event metadata

2022-05-02 Thread Anoob Joseph
Hi Akhil, Minor nit inline. With that addressed, Series Acked-by: Anoob Joseph Thanks, Anoob > -Original Message- > From: Akhil Goyal > Sent: Monday, May 2, 2022 12:55 AM > To: dev@dpdk.org > Cc: Anoob Joseph ; Jerin Jacob Kollanukkaran > ; abhinandan.guj...@intel.com; > jay.jayathee

RE: [EXT] [PATCH 0/3] add partial SGL support to AESNI_MB

2022-05-02 Thread Akhil Goyal
Hi Pablo, Can you review this series? Regards, Akhil > This patchset adds SGL support for GCM and CHACHA20-POLY1305 algorithms, > using the IPSec-MB JOB API. > > Supported SGL types: > - INPLACE SGL > - OOP SGL IN, LB OUT > - OOP SGL IN, SGL OUT > > The SGL Feature Flags for AESNI_MB PMD are

RE: [PATCH v4 1/7] cryptodev: add APIs to get/set event metadata

2022-05-02 Thread Gujjar, Abhinandan S
Acked-by: Abhinandan Gujjar > -Original Message- > From: Akhil Goyal > Sent: Monday, May 2, 2022 12:55 AM > To: dev@dpdk.org > Cc: ano...@marvell.com; jer...@marvell.com; Gujjar, Abhinandan S > ; Jayatheerthan, Jay > ; Vangati, Narender > ; vfia...@marvell.com; Akhil Goyal > ; Zhang, Roy

RE: [PATCH v4 2/7] crypto/cnxk: add event metadata set operation

2022-05-02 Thread Gujjar, Abhinandan S
Acked-by: Abhinandan Gujjar > -Original Message- > From: Akhil Goyal > Sent: Monday, May 2, 2022 12:55 AM > To: dev@dpdk.org > Cc: ano...@marvell.com; jer...@marvell.com; Gujjar, Abhinandan S > ; Jayatheerthan, Jay > ; Vangati, Narender > ; vfia...@marvell.com; Akhil Goyal > ; Zhang, Roy

RE: [PATCH v4 0/7] Add new cryptodev op for event metadata

2022-05-02 Thread Gujjar, Abhinandan S
Acked-by: Abhinandan Gujjar > -Original Message- > From: Akhil Goyal > Sent: Monday, May 2, 2022 12:55 AM > To: dev@dpdk.org > Cc: ano...@marvell.com; jer...@marvell.com; Gujjar, Abhinandan S > ; Jayatheerthan, Jay > ; Vangati, Narender > ; vfia...@marvell.com; Akhil Goyal > > Subject:

RE: [PATCH v4 6/7] test/event: add asymmetric cases for crypto adapter

2022-05-02 Thread Gujjar, Abhinandan S
Acked-by: Abhinandan Gujjar > -Original Message- > From: Akhil Goyal > Sent: Monday, May 2, 2022 12:55 AM > To: dev@dpdk.org > Cc: ano...@marvell.com; jer...@marvell.com; Gujjar, Abhinandan S > ; Jayatheerthan, Jay > ; Vangati, Narender > ; vfia...@marvell.com; Akhil Goyal > ; Zhang, Roy

Re: [PATCH] net/vhost: fix TSO feature default disablement

2022-05-02 Thread David Marchand
On Fri, Apr 22, 2022 at 11:35 AM Maxime Coquelin wrote: > > By default, TSO feature should be disabled because it requires > application's support to be functionnal as mentionned in the > documentation. > > However, if "tso" devarg was not specified, the feature did > not get disabled. > > This pa

[PATCH v2] common/cnxk: add CN103XX platform support

2022-05-02 Thread Rahul Bhansali
Added support for CN103XX (cn10kb) platform. Signed-off-by: Rahul Bhansali --- Changes in v2: squash all patches of series into one. doc/guides/platform/cnxk.rst| 1 + drivers/common/cnxk/roc_constants.h | 1 + drivers/common/cnxk/roc_model.c | 4 drivers/common/cnxk/roc_mod

[PATCH] lib/eal/ppc fix compilation for musl

2022-05-02 Thread Duncan Bellamy
musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() the __ppc_get_timebase_freq() is taken from: https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0c9f6278df89e53903833 Signed-off-by: Duncan Bellamy --- lib/eal/ppc/include/rte_cycles.h | 6 ++ lib/eal/ppc/rt

Re: [RFC] eal: allow worker lcore stacks to be allocated from hugepage memory

2022-05-02 Thread Don Wallwork
On 4/29/2022 3:03 PM, Stephen Hemminger wrote: On Fri, 29 Apr 2022 14:52:03 -0400 Don Wallwork wrote: The expectation is that use of this optional feature would be limited to cases where the performance gains justify the implications of these tradeoffs. For example, a specific data plane

[PATCH] eal: allow worker lcore stacks to be allocated from hugepage memory

2022-05-02 Thread Don Wallwork
Add support for using hugepages for worker lcore stack memory. The intent is to improve performance by reducing stack memory related TLB misses and also by using memory local to the NUMA node of each lcore. EAL option '--huge-worker-stack [stack-size-kbytes]' is added to allow the feature to be e

[PATCH v2] lib/eal/ppc fix compilation for musl

2022-05-02 Thread Duncan Bellamy
musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() the __ppc_get_timebase_freq() is taken from: https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0c9f6278df89e53903833 Signed-off-by: Duncan Bellamy --- lib/eal/ppc/include/rte_cycles.h | 6 ++ lib/eal/ppc/rt

Re: [PATCH v2] common/cnxk: add CN103XX platform support

2022-05-02 Thread Jerin Jacob
On Mon, May 2, 2022 at 5:01 PM Rahul Bhansali wrote: > > Added support for CN103XX (cn10kb) platform. > > Signed-off-by: Rahul Bhansali Acked-by: Jerin Jacob Deligating to @Thomas Monjalon as it is touching all the drivers to update PCI ID. > --- > Changes in v2: squash all patches of serie

Re: [PATCH] common/cnxk: fix missing null check for inline device

2022-05-02 Thread Jerin Jacob
On Mon, Mar 28, 2022 at 4:11 PM Volodymyr Fialko wrote: > > Inline device could be null in cases when it was not bound or missing. > Added check to prevent null pointer access. > > Fixes: fe5846bcc07 ("net/cnxk: add devargs for min-max SPI") > > Cc: sta...@dpdk.org > > Signed-off-by: Volodymyr Fia

Re: [PATCH v2] lib/eal/ppc fix compilation for musl

2022-05-02 Thread David Marchand
On Mon, May 2, 2022 at 4:26 PM Duncan Bellamy wrote: > > musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() > > the __ppc_get_timebase_freq() is taken from: > https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0c9f6278df89e53903833 > > Signed-off-by: Duncan Bellamy

Re: [PATCH v2] lib/eal/ppc fix compilation for musl

2022-05-02 Thread David Christensen
On 5/2/22 7:26 AM, Duncan Bellamy wrote: musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() the __ppc_get_timebase_freq() is taken from: https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0c9f6278df89e53903833 Signed-off-by: Duncan Bellamy --- lib/eal/ppc/i

Re: [PATCH] net/cnxk: fix crash during hotplug detach operation

2022-05-02 Thread Jerin Jacob
On Tue, Mar 29, 2022 at 3:59 PM wrote: > > From: Sunil Kumar Kori > > hot_plug application does not perform any port setup > configuration via rte_eth_dev_configure() API. All the probed > Ethernet ports do not contain any Rx and Tx queues. > > While detaching a device via rte_eal_hotplug_remove(

[Bug 1003] unbalanced braces in header files for extern C declarations causing C++ compilation errors

2022-05-02 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1003 Bug ID: 1003 Summary: unbalanced braces in header files for extern C declarations causing C++ compilation errors Product: DPDK Version: unspecified Hardware: All OS

Re: [PATCH 2/2] net/cnxk: use ROC errata API

2022-05-02 Thread Jerin Jacob
On Wed, Mar 30, 2022 at 2:14 PM Rahul Bhansali wrote: > > Used errata APIs roc_errata_nix_has_no_drop_re() and > roc_errata_nix_has_cq_min_size_4k() instead of direct > ROC model check. > > Signed-off-by: Rahul Bhansali Series Acked-by: Jerin Jacob Series applied to dpdk-next-net-mrvl/for-next

RE: [RFC] ethdev: datapath-focused meter actions

2022-05-02 Thread Alexander Kozyrev
On Tuesday, April 26, 2022 9:44 Dumitrescu, Cristian : > After reviewing this RFC, I have to say that your proposal is very unclear to > me. I > don't understand what is the problem you're trying to solve and what exactly > is > that you cannot do with the current meter and flow APIs. > > I sug

[PATCH 0/1] tap: fix write-after-free and double free of intr_handle

2022-05-02 Thread Quentin Armitage
Starting and stopping a tap device results in the following output: tap_lsc_intr_handle_set(): intr callback unregister failed: -2 free(): invalid pointer and a core dump is generated due to abort() being called. Although the stack backtrace below gives line numbers for dpdk-21.11, this probl

[PATCH 1/1] tap: fix write-after-free and double free of intr_handle

2022-05-02 Thread Quentin Armitage
rte_pmd_tun/tap_probe() allocates pmd->intr_handle in eth_dev_tap_create() and it should not be freed until rte_pmd_tap_remove() is called. Inspection of tap_rx_intr_vec_set() shows that the call to tap_tx_intr_vec_uninstall() was calling rte_intr_instance_free() but tap_tx_intr_vec_install() can

Re: Help: e-mail did not go through to the dev@dpdk.org list.

2022-05-02 Thread Ali Alnubani
> From: Pankaj Gupta > Sent: Saturday, April 30, 2022 12:23 AM > To: dev-requ...@dpdk.org ; dev@dpdk.org > Cc: Jochen Behrens ; Yong Wang ; > Sreeram Ravinoothala > Subject: Help: e-mail did not go through to the dev@dpdk.org list. > > Hi All, > I sent 8 patches, twice today, but these patches

[PATCH 0/8] vmxnet3: V5 and V6

2022-05-02 Thread Pankaj Gupta
*** BLURB HERE *** Pankaj Gupta (8): vmxnet3: Added V5 support vmxnet3: implement reta query and reta update vmxnet3: add rx queue usage count utility vmxnet3: add get hw version api vmxnet3, version 6 vmxnet3: set reta size vmxnet3: Set packet for fragmented packet vmxnet3: Fix me

[PATCH 1/8] vmxnet3: Added V5 support

2022-05-02 Thread Pankaj Gupta
Add VMXNET3 v5 support Tested, using testpmd, for different hardware version on ESXi 7.0 Update 2. Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 7 +-- drivers/net/vmxnet3/vmxnet3_ethdev.h | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH 2/8] vmxnet3: implement reta query and reta update

2022-05-02 Thread Pankaj Gupta
Added reta query and reta update support for VMXNET3 Tested, using testpmd, for different hardware version on ESXi 7.0 Update 2. Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 67 1 file changed, 67 insertions(+) diff --git a/drivers/net/vmx

[PATCH 3/8] vmxnet3: add rx queue usage count utility

2022-05-02 Thread Pankaj Gupta
Count the number of entries in the rx queue for debugging. Tested, using testpmd, for different hardware version on ESXi 7.0 Update 2 Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 1 + drivers/net/vmxnet3/vmxnet3_ethdev.h | 3 +++ drivers/net/vmxnet3/vmxnet3_rxtx.c

[PATCH 4/8] vmxnet3: add get hw version api

2022-05-02 Thread Pankaj Gupta
Implement fw_version_get API for vmxnet3 Tested, using testpmd, for different hardware version on ESXi 7.0 Update 2. Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev

[PATCH 6/8] vmxnet3: set reta size

2022-05-02 Thread Pankaj Gupta
Currently the driver assumes that the size of the reta table is four times the number of rx queues at multiple places. However, it sets it to four times the maximum number of queues (4 * 32 = 128) when it first initializes the device. Change the other uses to use the stored value, not the assumed d

[PATCH 5/8] vmxnet3, version 6

2022-05-02 Thread Pankaj Gupta
vmxnet3 version 6 supports some new features, including but not limited to: - Increased max MTU up to 9190 - Increased max number of queues, both for RX and TX - Removes power-of-two limitations - Extended interrupt structures, required implementation for additional number of queues Tested, usin

[PATCH 7/8] vmxnet3: Set packet for fragmented packet

2022-05-02 Thread Pankaj Gupta
The packet type is set even if it is a fragmented packet Tested, using testpmd, for different hardware versions on ESXi 7.0 Update 2. Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_rxtx.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/vmxnet3/vmx

[PATCH 8/8] vmxnet3: Fix merge error in initialization for rxDataRing feature

2022-05-02 Thread Pankaj Gupta
Fix merge error in initialization for rxDataRing feature. Tested, using testpmd, for different hardware version on ESXi 7.0 Update 2. Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.

Re: Help: e-mail did not go through to the dev@dpdk.org list.

2022-05-02 Thread Pankaj Gupta
Hi All, I was able to send the email to dev@dpdk.org today after doing following git and smtp configuration. Git config: git config --global sendemail.smtpencryption tls git config --global sendemail.smtpserver mail.messagingengine.com git config --global sendemail.smtpuser t

[PATCH v2 0/3] ethdev: datapath-focused meter actions

2022-05-02 Thread Alexander Kozyrev
The introduction of asynchronous flow rules operations allowed users to create/destroy flow rules as part of the datapath without blocking on Flow API and slowing the packet processing down. That applies to every possible action that has no preparation steps. Unfortunately, one notable exception i

[RFC v2 0/3] ethdev: datapath-focused meter actions

2022-05-02 Thread Alexander Kozyrev
The introduction of asynchronous flow rules operations allowed users to create/destroy flow rules as part of the datapath without blocking on Flow API and slowing the packet processing down. That applies to every possible action that has no preparation steps. Unfortunately, one notable exception i

[PATCH v2 1/3] ethdev: add meter color matching to Flow API

2022-05-02 Thread Alexander Kozyrev
Introduce Meter Color pattern item to provide greater flexibility for Traffic Metering handling in the RTE Flow API. Matching on a color marker allows a user to manage Metering policies as part of common flow rules management. Signed-off-by: Alexander Kozyrev --- lib/ethdev/rte_flow.h | 26 +

[PATCH v2 2/3] ethdev: allow meter color modification

2022-05-02 Thread Alexander Kozyrev
Extend modify_field Flow API with ability to set the metering color of a packet. This brings a possibility to set an initial color before proceeding with Meter classification and assign a color outside of Meter object based on other traffic patterns. Signed-off-by: Alexander Kozyrev --- lib/ethd

[PATCH v2 3/3] ethdev: add extended meter action to Flow API

2022-05-02 Thread Alexander Kozyrev
Configure a meter profile at the time of the flow rule insertion. Pass all the needed parameters to configure the meter profile and insert the metering rule simultaneously. The meter profile can be reused in multiple flow rules in order to share the profile and optimize the flow insertion process.

Re: [PATCH] doc: update Linux core isolation guide

2022-05-02 Thread Stephen Hemminger
On Mon, 2 May 2022 12:54:14 +0530 Pavan Nikhilesh wrote: > Update Linux core isolation guide to include isolation from > timers, rcu processing and IRQs. > > Signed-off-by: Pavan Nikhilesh > --- > doc/guides/linux_gsg/enable_func.rst | 10 +- > 1 file changed, 5 insertions(+), 5 deleti

Re: [PATCH v2] lib/eal/ppc fix compilation for musl

2022-05-02 Thread Dunk
> On 2 May 2022, at 18:42, David Marchand wrote: > > On Mon, May 2, 2022 at 4:26 PM Duncan Bellamy wrote: >> >> musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() >> >> the __ppc_get_timebase_freq() is taken from: >> https://git.alpinelinux.org/aports/commit/?id=06b03f70f

Re: [PATCH v2] lib/eal/ppc fix compilation for musl

2022-05-02 Thread Dunk
> On 2 May 2022, at 18:43, David Christensen wrote: > >  > >> On 5/2/22 7:26 AM, Duncan Bellamy wrote: >> musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() >> the __ppc_get_timebase_freq() is taken from: >> https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0

rte_bus_probe() does not exit on error

2022-05-02 Thread McDaniel, Timothy
Hello DPDK community, I am following up on a question/comment that I submitted on April 18, for which I have not received any responses. See the original comment below for context. Are there objections to modifying the behavior of rte_bus_probe() so that it propagates any errors detected while

[PATCH 1/4] net/ark: update mpu code to match current hardware version

2022-05-02 Thread Ed Czeck
new version code remove device-level global operations remove ark_mpu_reset_stats function Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ethdev.c| 2 -- drivers/net/ark/ark_ethdev_rx.c | 4 drivers/net/ark/ark_mpu.c | 15 --- drivers/net/ark/ark_mpu.h | 3 ++

[PATCH 2/4] net/ark: update ddm code to match current hardware version

2022-05-02 Thread Ed Czeck
new version code remove device-level start, stop, and reset operations add queue-based start, stop and reset as required by hardware Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ddm.c | 80 + drivers/net/ark/ark_ddm.h | 30 +++-- drivers/net

[PATCH 3/4] net/ark: update udm code to match current hardware version

2022-05-02 Thread Ed Czeck
new version code remove device-level start, stop, and reset operations add queue-based start, stop and reset as required by hardware remove performance structs as they are not in the hardware module Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ethdev.c| 34 +-- drivers/net/ark/ar

[PATCH 4/4] net/ark: add new devices to support list

2022-05-02 Thread Ed Czeck
update device list is doc Signed-off-by: Ed Czeck --- doc/guides/nics/ark.rst | 4 +++- drivers/net/ark/ark_ethdev.c | 6 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/ark.rst b/doc/guides/nics/ark.rst index c965406a7b..cec6fce2ff 100644 --- a/doc/guid

Re: rte_bus_probe() does not exit on error

2022-05-02 Thread Thomas Monjalon
Hello, 02/05/2022 23:20, McDaniel, Timothy: > Hello DPDK community, > > I am following up on a question/comment that I submitted on April 18, for > which > I have not received any responses. See the original comment below for context. > > Are there objections to modifying the behavior of rte_bu

[PATCH 0/8] vmxnet3 version V5 and V6

2022-05-02 Thread Pankaj Gupta
Pankaj Gupta (8): vmxnet3: Added V5 support vmxnet3: implement reta query and reta update vmxnet3: add rx queue usage count utility vmxnet3: add get hw version api vmxnet3, version 6 vmxnet3: set reta size vmxnet3: Set packet for fragmented packet vmxnet3: Fix merge error in initial

[PATCH 1/8] vmxnet3: Added V5 support

2022-05-02 Thread Pankaj Gupta
Add VMXNET3 v5 support Tested, using testpmd, for different hardware version on ESXi 7.0 Update 2. Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 7 +-- drivers/net/vmxnet3/vmxnet3_ethdev.h | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH 2/8] vmxnet3: implement reta query and reta update

2022-05-02 Thread Pankaj Gupta
Added reta query and reta update support for VMXNET3 Tested, using testpmd, for different hardware version on ESXi 7.0 Update 2. Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 67 1 file changed, 67 insertions(+) diff --git a/drivers/net/vmx

[PATCH 3/8] vmxnet3: add rx queue usage count utility

2022-05-02 Thread Pankaj Gupta
Count the number of entries in the rx queue for debugging. Tested, using testpmd, for different hardware version on ESXi 7.0 Update 2 Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 1 + drivers/net/vmxnet3/vmxnet3_ethdev.h | 3 +++ drivers/net/vmxnet3/vmxnet3_rxtx.c

[PATCH 4/8] vmxnet3: add get hw version api

2022-05-02 Thread Pankaj Gupta
Implement fw_version_get API for vmxnet3 Tested, using testpmd, for different hardware version on ESXi 7.0 Update 2. Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev

[PATCH 6/8] vmxnet3: set reta size

2022-05-02 Thread Pankaj Gupta
Currently the driver assumes that the size of the reta table is four times the number of rx queues at multiple places. However, it sets it to four times the maximum number of queues (4 * 32 = 128) when it first initializes the device. Change the other uses to use the stored value, not the assumed d

[PATCH 5/8] vmxnet3, version 6

2022-05-02 Thread Pankaj Gupta
vmxnet3 version 6 supports some new features, including but not limited to: - Increased max MTU up to 9190 - Increased max number of queues, both for RX and TX - Removes power-of-two limitations - Extended interrupt structures, required implementation for additional number of queues Tested, usin

[PATCH 7/8] vmxnet3: Set packet for fragmented packet

2022-05-02 Thread Pankaj Gupta
The packet type is set even if it is a fragmented packet Tested, using testpmd, for different hardware versions on ESXi 7.0 Update 2. Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_rxtx.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/vmxnet3/vmx

[PATCH 8/8] vmxnet3: Fix merge error in initialization for rxDataRing feature

2022-05-02 Thread Pankaj Gupta
Fix merge error in initialization for rxDataRing feature. Tested, using testpmd, for different hardware version on ESXi 7.0 Update 2. Signed-off-by: Pankaj Gupta --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.

Re: [dpdk-dev] [PATCH] net/cnxk: fix error message setting on failure

2022-05-02 Thread Jerin Jacob
On Tue, Apr 19, 2022 at 12:04 PM wrote: > > From: Satheesh Paul > > Set the error message with rte_flow_error_set() api > when flow parsing fails. > > Fixes: 8c009b4505e ("net/cnxk: support flow API") > Cc: sta...@dpdk.org > > Signed-off-by: Satheesh Paul > Reviewed-by: Kiran Kumar Kokkilagadda

RE: [PATCH] eal: allow worker lcore stacks to be allocated from hugepage memory

2022-05-02 Thread Morten Brørup
> From: Don Wallwork [mailto:d...@xsightlabs.com] > Sent: Monday, 2 May 2022 16.11 > > Add support for using hugepages for worker lcore stack memory. The > intent is to improve performance by reducing stack memory related TLB > misses and also by using memory local to the NUMA node of each lcore.