[dpdk-dev] DPDK 21.05 Wangxun Roadmap

2021-03-04 Thread Jiawen Wu
Hi, There is Wangxun's roadmap for DPDK 21.05. Bug fixes: [1] fix TXGBE Rx drop statistics [2] fix TXGBE packet type [3] fix TXGBE IPsec [4] fix TXGBE backplane link process, and support to control training for auto-negotiation Others: [1] remove redundancy code for TXGBE New P

[dpdk-dev] [PATCH 0/3] bnxt fixes

2021-03-04 Thread Kalesh A P
From: Kalesh AP Please apply. Ajit Khaparde (1): net/bnxt: check flush status during ring free Kalesh AP (2): net/bnxt: fix ver get HWRM command net/bnxt: fix VF info allocation drivers/net/bnxt/bnxt_ethdev.c | 2 +- drivers/net/bnxt/bnxt_hwrm.c | 231 +++

[dpdk-dev] [PATCH 2/3] net/bnxt: fix ver get HWRM command

2021-03-04 Thread Kalesh A P
From: Kalesh AP Fix HWRM_VER_GET command to handle DEV_NOT_RDY state. Driver should fail probe if the device is not ready. Conversely, the HWRM_VER_GET poll after reset can safely retry until the existing timeout is exceeded. Fixes: 804e746c7b73 ("net/bnxt: add hardware resource manager init co

[dpdk-dev] [PATCH 1/3] net/bnxt: check flush status during ring free

2021-03-04 Thread Kalesh A P
From: Ajit Khaparde When host SW issues a HWRM_RING_FREE for Tx/Rx/AGG ring in HW, the FW flushes the BDs associated with the ring and performs other cleanup in the HW. The host software should ideally check for an indication from the FW indicating this step has been completed successfully to avo

[dpdk-dev] [PATCH 3/3] net/bnxt: fix VF info allocation

2021-03-04 Thread Kalesh A P
From: Kalesh AP 1. Renamed bnxt_hwrm_alloc_vf_info()/bnxt_hwrm_free_vf_info to bnxt_alloc_vf_info()/bnxt_free_vf_info as it does not issue any HWRM command to fw. 2. Fix missing unlock when memory allocation fails. Fixes: b7778e8a1c00 ("net/bnxt: refactor to properly allocate resources for

Re: [dpdk-dev] [PATCH v3] net/mlx5: fix wrong segmented packet in Rx

2021-03-04 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Jiawei Zhu > Sent: Monday, March 1, 2021 7:20 PM > To: dev@dpdk.org > Cc: zhujiawe...@huawei.com; Matan Azrad ; Shahaf > Shuler ; Slava Ovsiienko ; > Jiawei Zhu <17826875...@163.com>; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v3] net/ml

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-04 Thread Ori Kam
Hi PSB > -Original Message- > From: dev On Behalf Of Thomas Monjalon > Sent: Sunday, February 28, 2021 10:14 PM > > 28/02/2021 20:48, Ori Kam: > > Currently, DPDK application can offload the checksum check, > > and report it in the mbuf. > > > > However, this approach doesn't work if t

[dpdk-dev] [PATCH 0/4] bug fixes for txgbe

2021-03-04 Thread Jiawen Wu
This series fix some bugs and remove unused functions. Jiawen Wu (4): net/txgbe: remove unused functions net/txgbe: fix Rx missed packet counter net/txgbe: update packet type net/txgbe: fix the process of adding crypto SA drivers/net/txgbe/base/txgbe_eeprom.c | 76 +--

[dpdk-dev] [PATCH 1/4] net/txgbe: remove unused functions

2021-03-04 Thread Jiawen Wu
Remove unused functions for EEPROM read and write. Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_eeprom.c | 76 +-- drivers/net/txgbe/base/txgbe_eeprom.h | 2 - 2 files changed, 2 insertions(+), 76 deletions(-) diff --git a/drivers/net/txgbe/base/txgbe_eepro

[dpdk-dev] [PATCH 2/4] net/txgbe: fix Rx missed packet counter

2021-03-04 Thread Jiawen Wu
Add the Rx dropped packet counter into stats->imissed, to ensure the stats correct. Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_type.h | 1 + drivers/net/txgbe/txgbe_ethdev.c| 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/txgbe/base/txgbe_typ

[dpdk-dev] [PATCH 3/4] net/txgbe: update packet type

2021-03-04 Thread Jiawen Wu
Update the packet type lookup table according to the HW design. Fix the bug that inner L3 and L4 type can not be parsed when QINQ insert in tunnel packet. Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_ptypes.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/

[dpdk-dev] [PATCH 4/4] net/txgbe: fix the process of adding crypto SA

2021-03-04 Thread Jiawen Wu
By register definition, Ipsec Rx IPv4 address should to be written in the reg(0). Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_ipsec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/txgbe/txgbe_ipsec.c b/drivers/net/txgbe/txgbe_ipsec.c index 9f4eee4

Re: [dpdk-dev] [PATCH] fbarray: fix uninitialized variable usage

2021-03-04 Thread David Marchand
On Fri, Feb 19, 2021 at 6:55 PM Anatoly Burakov wrote: > > When file truncation fails, the log message attempts to print a path of > file we failed to truncate, but this path was never set to anything and, > what's worse, was uninitialized. Fix it by passing path from the caller. > Coverity issue

Re: [dpdk-dev] 19.11.7 patches review and test

2021-03-04 Thread Yu, PingX
Update the test result for Intel part. Test are almost finished except cryptodev and 5 issues are found. 1. Failed build DPDK with "Make". 2. in tool usertools/dpdk-devbind.py: bind NIC port to DPDK failed 3. sriov_kvm: vf launch testpmd init failed on ixgbe. 4. userspace_ethtool/retrieve_eeprom

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-04 Thread Thomas Monjalon
04/03/2021 11:00, Ori Kam: > From: Thomas Monjalon > > 28/02/2021 20:48, Ori Kam: > > > Currently, DPDK application can offload the checksum check, > > > and report it in the mbuf. > > > > > > However, this approach doesn't work if the traffic > > > is offloaded and should not arrive to the applica

Re: [dpdk-dev] [EXTERNAL] [PATCH v3 0/7] eal/windows: do not expose POSIX symbols

2021-03-04 Thread Khoa To
> On Windows, rte_os.h contains a small POSIX compatibility set of > functions and macros. Exposing it from EAL can break consumer own POSIX > compatibility layer and is against standards in general. > > First define required wrappers, then fix POSIX dependencies in > Windows-enabled libraries a

Re: [dpdk-dev] [EXTERNAL] [PATCH v3 1/7] eal: add wrappers for POSIX string functions

2021-03-04 Thread Khoa To
> POSIX strncasecmp(), strdup(), and strtok_r() have different names > on Windows, respectively, strnicmp(), _strdup(), and strtok_s(). > > Add wrappers as inline functions, because they're used from librte_kvargs, > and thus cannot be in librte_eal; besides, implementation is trivial. > > Sign

Re: [dpdk-dev] [EXTERNAL] [PATCH v3 2/7] eal: add macro for maximum path length

2021-03-04 Thread Khoa To
> Path length limit is PATH_MAX on Unix and _MAX_PATH on Windows. > Add RTE_PATH_MAX macro for use in OS-independent code. Keep > PATH_MAX > in "common" multiprocess code, because it's really Unix-specific. > > Signed-off-by: Dmitry Kozlyuk > --- Acked-by: Khoa To

Re: [dpdk-dev] [EXTERNAL] [PATCH v3 3/7] eal: add sleep API

2021-03-04 Thread Khoa To
> POSIX sleep(3) is missing from Windows. > Add generic rte_thread_sleep() to suspend current OS thread. > > Signed-off-by: Dmitry Kozlyuk > --- Acked-by: Khoa To

Re: [dpdk-dev] [EXTERNAL] [PATCH v3 5/7] lib: remove POSIX dependencies

2021-03-04 Thread Khoa To
> Replace POSIX strtok_r() with EAL rte_strtok(). > Replace POSIX strdup() with EAL rte_strdup(). > Locally rename Windows _close() to standard close(). > > Signed-off-by: Dmitry Kozlyuk > --- Acked-by: Khoa To

Re: [dpdk-dev] [EXTERNAL] [PATCH v3 4/7] eal: add asprintf() internal wrapper

2021-03-04 Thread Khoa To
> POSIX asprintf() is unavailable on Windows. > Add eal_asprintf() wrapper for EAL internal use. > On Windows it's a function, on Unix it's a macro for asprintf(). > > Signed-off-by: Dmitry Kozlyuk > --- Acked-by: Khoa To

Re: [dpdk-dev] [EXTERNAL] [PATCH v3 7/7] eal/windows: do not expose POSIX symbols

2021-03-04 Thread Khoa To
> Exposing POSIX symbols could break consumer POSIX compatibility code. > > * Make renaming of close() and unlink() private to EAL. > > * Remove renaming of strncasecmp(), strtok_r(), and sleep() > in favor of using EAL wrappers. Similarly remove PATH_MAX macro. > > * Replace index(3p), which

Re: [dpdk-dev] [EXTERNAL] [PATCH v3 6/7] drivers: remove POSIX dependencies

2021-03-04 Thread Khoa To
> Replace POSIX strncasecmp() with EAL rte_strncasecmp(). > Replace POSIX strtok_r() with EAL rte_strtok(). > Replace POSIX strdup() with EAL rte_strdup(). > > Signed-off-by: Dmitry Kozlyuk > --- Acked-by: Khoa To

Re: [dpdk-dev] [PATCH v4] event/sw: add xstats to expose progress details

2021-03-04 Thread Van Haaren, Harry
Fix typo in Mattias' email, apologies for noise. > -Original Message- > From: Van Haaren, Harry > Sent: Wednesday, March 3, 2021 10:57 AM > To: dev@dpdk.org > Cc: david.march...@redhat.com; mattias.ronnb...@ericcson.com; > jer...@marvell.com; Van Haaren, Harry > Subject: [PATCH v4] event

Re: [dpdk-dev] [PATCH v2 2/2] eal: rename key opaque pointer in TLS API

2021-03-04 Thread Tal Shnaiderman
> Subject: RE: [PATCH v2 2/2] eal: rename key opaque pointer in TLS API > > External email: Use caution opening links or attachments > > > > From: Tal Shnaiderman [mailto:tal...@nvidia.com] > > Sent: Tuesday, March 2, 2021 4:27 PM > > > > rename the key opaque pointer from rte_tls_key to rte_thr

[dpdk-dev] DPDK Release Status Meeting 4/03/2021

2021-03-04 Thread Ferruh Yigit
Release status meeting minutes {Date} = :Date: 4 March 2021 :toc: .Agenda: * Release Dates * Subtrees * LTS * Opens .Participants: * Arm * Broadcom * Debian/Microsoft * Intel * Marvell * Nvidia * Red Hat Release Dates - * `v21.05` dates - Pro

Re: [dpdk-dev] [PATCH 3/3] net/af_xdp: preferred busy polling

2021-03-04 Thread Loftus, Ciara
> > On 2/24/2021 11:18 AM, Ciara Loftus wrote: > > This commit introduces support for preferred busy polling > > to the AF_XDP PMD. This feature aims to improve single-core > > performance for AF_XDP sockets under heavy load. > > > > A new vdev arg is introduced called 'busy_budget' whose default

Re: [dpdk-dev] [PATCH 2/4] net/ice: build on Windows

2021-03-04 Thread David Marchand
On Wed, Mar 3, 2021 at 10:27 PM Pallavi Kadam wrote: > > Add Intel ice PMD support on Windows. > Remove #include sys/ioctl header file as it is not needed. > Replace x86intrin.h with rte_vect.h to avoid __m_prefetchw conflicting > types. > Replace POSIX usleep() API with rte API. > Add a new macro

Re: [dpdk-dev] [PATCH v9 0/2] support both PIO and MMIO BAR for legacy device in virtio PMD

2021-03-04 Thread 谢华伟(此时此刻)
On 2021/3/4 2:24, Stephen Hemminger wrote: On Thu, 04 Mar 2021 01:46:50 +0800 "谢华伟(此时此刻)" wrote: virtio PMD assumes legacy device only supports PIO BAR resource. This is wrong. As we need to create lots of devices, as PIO resource on x86 is very limited, we expose MMIO(memory IO) BAR. Kerne

Re: [dpdk-dev] [PATCH V3 00/14] Features and bugfixes for hns3

2021-03-04 Thread Ferruh Yigit
On 3/4/2021 7:44 AM, Lijun Ou wrote: This series add three features according to the 21.05 roadmap as well as fix some bugs. v2->v3: - fix some patchs title. - delete the macro with patch[4/14]. v1->v2: - fix the commit log for patch[8/14]. - add more commit log information for patch[13/14]. -

[dpdk-dev] [PATCH v8 0/9] ethdev: support SubFunction representor

2021-03-04 Thread Xueming Li
SubFunction [1] is a portion of the PCI device, a SF netdev has its own dedicated queues(txq, rxq). A SF netdev supports E-Switch representation offload similar to existing PF and VF representors. A SF shares PCI level resources with other SFs and/or with its parent PCI function. >From SmartNIC pe

[dpdk-dev] [PATCH v8 1/9] ethdev: introduce representor type

2021-03-04 Thread Xueming Li
To support more representor type, this patch introduces representor type enum. The enum is subject to be extended to support new representor in patches upcoming. For each devarg structure, only one type supported. Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko Acked-by: Thomas Monjalo

[dpdk-dev] [PATCH v8 2/9] ethdev: support representor port list

2021-03-04 Thread Xueming Li
To support extended representor syntax, this patch extends the representor list parsing to support for representor port range in devargs, examples: representor=[1,2,3] - single list representor=[1,3-5,7,9-11] - list with singles and ranges Signed-off-by: Xueming Li Acked-by: Viache

[dpdk-dev] [PATCH v8 3/9] ethdev: support new VF representor syntax

2021-03-04 Thread Xueming Li
Current VF representor syntax: representor=2 - single representor representor=[0-3] - single range To prepare for more representor types, this patch adds compatible VF representor devargs syntax: vf#: representor=vf2 - single representor representor=vf[1,3,5]- singl

[dpdk-dev] [PATCH v8 4/9] ethdev: support sub function representor

2021-03-04 Thread Xueming Li
SubFunction is a portion of the PCI device, created on demand, a SF netdev has its own dedicated queues(txq, rxq). A SF netdev supports eswitch representation offload similar to existing PF and VF representors. To support SF representor, this patch introduces new devargs syntax, examples: represe

[dpdk-dev] [PATCH v8 5/9] ethdev: support PF index in representor

2021-03-04 Thread Xueming Li
With Kernel bonding, multiple underlying PFs are bonded, VFs come from different PF, need to identify representor of VFs unambiguously by adding PF index. This patch introduces optional 'pf' section to representor devargs syntax, examples: representor=pf0vf0 - single VF representor r

[dpdk-dev] [PATCH v8 7/9] ethdev: new API to get representor info

2021-03-04 Thread Xueming Li
The NIC can have multiple PCIe links and can be attached to multiple hosts, for example the same single NIC can be shared for multiple server units in the rack. On each PCIe link NIC can provide multiple PFs and VFs/SFs based on these ones. The full representor identifier consists of three indices

[dpdk-dev] [PATCH v8 6/9] ethdev: support multi-host in representor

2021-03-04 Thread Xueming Li
The NIC can have multiple PCIe links and can be attached to the multiple hosts, for example the same single NIC can be shared for multiple server units in the rack. On each PCIe link NIC can provide multiple PFs and VFs/SFs based on these ones. To provide the unambiguous identification of the PCIe

[dpdk-dev] [PATCH v8 8/9] ethdev: representor iterator compare complete info

2021-03-04 Thread Xueming Li
The NIC can have multiple PCIe links and can be attached to multiple hosts, for example the same single NIC can be shared for multiple server units in the rack. On each PCIe link NIC can provide multiple PFs and VFs/SFs based on these ones. The full representor identifier consists of three indices

[dpdk-dev] [PATCH v8 9/9] kvargs: update parser to support lists

2021-03-04 Thread Xueming Li
This patch updates kvargs parser to support lists on top of range, allow multiple lists or range: k1=a[1,2]b[3-5] Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko Acked-by: Thomas Monjalon --- app/test/test_kvargs.c | 46 +-- lib/librte_kvargs/rte_kvargs.c | 101

Re: [dpdk-dev] [PATCH 0/4] bug fixes for txgbe

2021-03-04 Thread Ferruh Yigit
On 3/4/2021 10:06 AM, Jiawen Wu wrote: This series fix some bugs and remove unused functions. Jiawen Wu (4): net/txgbe: remove unused functions net/txgbe: fix Rx missed packet counter net/txgbe: update packet type net/txgbe: fix the process of adding crypto SA Hi Jiawen, Can you

[dpdk-dev] [PATCH v1 1/5] net/ark: update pkt director initial state

2021-03-04 Thread Ed Czeck
Fixes: b33ccdb17f55 ("net/ark: provide API for hardware modules MPU RQP and pktdir") Cc: sta...@dpdk.org Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ethdev.c | 1 + drivers/net/ark/ark_pktdir.c | 2 +- drivers/net/ark/ark_pktdir.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) di

[dpdk-dev] [PATCH v1 2/5] net/ark: refactor Rx buffer recovery

2021-03-04 Thread Ed Czeck
Allocate mbufs for Rx path in bulk of at least 64 buffers to improve performance. Allow recovery even without a rx operation to support lack of buffers in pool. Fixes: be410a861598 ("net/ark: add recovery for lack of mbufs") Cc: sta...@dpdk.org Signed-off-by: Ed Czeck --- drivers/net/ark/ark_et

[dpdk-dev] [PATCH v1 3/5] net/ark: update internal structs to reflect FPGA updates

2021-03-04 Thread Ed Czeck
- New PCIe IDs using net/ark driver - Update Version IDs and structures specified by hardware - New internal descriptor status for TX - Adjust data placement in RX operations, headroom in retained for segmented mbufs Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ddm.c | 18 +++-- driver

[dpdk-dev] [PATCH v1 4/5] net/ark: generalize meta data between FPGA and PMD

2021-03-04 Thread Ed Czeck
In this commit we generalize the movement of user-specified meta data between mbufs and FPGA AXIS tuser fields using user-defined hook functions. - Previous use of PMD dynfields are removed - Hook function added to ark_user_ext - Add hook function calls in rx and tx paths - Rename all extension fu

[dpdk-dev] [PATCH v1 5/5] net/ark: localize internal packet generator code

2021-03-04 Thread Ed Czeck
preparation for baseband device -- no functional changes remove unnecessary includes Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ethdev.c | 17 ++--- drivers/net/ark/ark_pktchkr.c | 4 drivers/net/ark/ark_pktgen.c | 20 ++-- drivers/net/ark/ark_pktgen.h |

Re: [dpdk-dev] [PATCH] ptpclient: enable timestamp offload support

2021-03-04 Thread Rybalchenko, Kirill
> -Original Message- > From: Hemant Agrawal > Sent: Tuesday 23 February 2021 06:14 > To: dev@dpdk.org; Rybalchenko, Kirill > Cc: Gagandeep Singh > Subject: [PATCH] ptpclient: enable timestamp offload support > > This patch add support to enabled rx offload for timestamp. > It is requ

Re: [dpdk-dev] [PATCH] net/ring: support secondary process

2021-03-04 Thread Ferruh Yigit
On 3/1/2021 1:38 PM, Bruce Richardson wrote: On Wed, Sep 30, 2020 at 12:02:40PM +0100, Ferruh Yigit wrote: Also add missing .ini feature list documentation and document some existing features including new "Multiprocess aware" feature. Signed-off-by: Ferruh Yigit --- Cc: Kevin Laatz --- doc

[dpdk-dev] [Bug 647] bnxt: ptpclient example doesn't work and produces internal error message

2021-03-04 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=647 Bug ID: 647 Summary: bnxt: ptpclient example doesn't work and produces internal error message Product: DPDK Version: 20.11 Hardware: x86 OS: FreeBSD Stat

[dpdk-dev] [PATCH v2 1/5] net/ark: update pkt director initial state

2021-03-04 Thread Ed Czeck
Fixes: b33ccdb17f55 ("net/ark: provide API for hardware modules MPU RQP and pktdir") Cc: sta...@dpdk.org Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ethdev.c | 1 + drivers/net/ark/ark_pktdir.c | 2 +- drivers/net/ark/ark_pktdir.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) di

[dpdk-dev] [PATCH v2 2/5] net/ark: refactor Rx buffer recovery

2021-03-04 Thread Ed Czeck
Allocate mbufs for Rx path in bulk of at least 64 buffers to improve performance. Allow recovery even without a rx operation to support lack of buffers in pool. Fixes: be410a861598 ("net/ark: add recovery for lack of mbufs") Cc: sta...@dpdk.org Signed-off-by: Ed Czeck --- drivers/net/ark/ark_et

[dpdk-dev] [PATCH v2 4/5] net/ark: generalize meta data between FPGA and PMD

2021-03-04 Thread Ed Czeck
In this commit we generalize the movement of user-specified meta data between mbufs and FPGA AXIS tuser fields using user-defined hook functions. - Previous use of PMD dynfields are removed - Hook function added to ark_user_ext - Add hook function calls in rx and tx paths - Rename all extension fu

[dpdk-dev] [PATCH v2 5/5] net/ark: localize internal packet generator code

2021-03-04 Thread Ed Czeck
remove unnecessary includes no functional changes Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ethdev.c | 17 ++--- drivers/net/ark/ark_pktchkr.c | 4 drivers/net/ark/ark_pktgen.c | 20 ++-- drivers/net/ark/ark_pktgen.h | 1 + 4 files changed, 17 insertio

[dpdk-dev] [PATCH v2 3/5] net/ark: update internal structs to reflect FPGA updates

2021-03-04 Thread Ed Czeck
- New PCIe IDs using net/ark driver - Update Version IDs and structures specified by hardware - New internal descriptor status for TX - Adjust data placement in RX operations, headroom in retained for segmented mbufs Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ddm.c | 18 +++-- driver

[dpdk-dev] [Bug 648] i40e source pruning causes packets to be dropped

2021-03-04 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=648 Bug ID: 648 Summary: i40e source pruning causes packets to be dropped Product: DPDK Version: 20.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal

Re: [dpdk-dev] [PATCH 4/4] doc: update ice PMD and 21.05 release notes

2021-03-04 Thread Kadam, Pallavi
On 3/3/2021 3:13 PM, Dmitry Kozlyuk wrote: 2021-03-03 13:59, Pallavi Kadam: Add documentation to support ice PMD on Windows. Update the release notes and features list for the same. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- doc/guides/nics/features/ice.ini | 1 +

Re: [dpdk-dev] [PATCH 3/4] net/ice: disable ice DDP package on Windows

2021-03-04 Thread Kadam, Pallavi
Hi Dmitry, On 3/3/2021 3:12 PM, Dmitry Kozlyuk wrote: 2021-03-03 13:59, Pallavi Kadam: Disable loading of private DDP packages in ice PMD on Windows. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/net/ice/ice_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) Are DD

[dpdk-dev] [PATCH 0/3] testpmd updates

2021-03-04 Thread Lijun Ou
This series add a API implementation for testpmd as well as fix two bugs. Chengwen Feng (1): app/testpmd: support Tx mbuf free on demand cmd Hongbo Zheng (1): app/testpmd: fix mixed use of RX/Rx/TX/Tx in testpmd Huisong Li (1): app/testpmd: remove forwarding config from parsing Rx and Tx

[dpdk-dev] [PATCH 3/3] app/testpmd: fix mixed use of RX/Rx/TX/Tx in testpmd

2021-03-04 Thread Lijun Ou
From: Hongbo Zheng In testpmd, when we input "show config rxtx", we can see like this: 1: testpmd> show config rxtx 2: io packet forwarding packets/burst=32 3: nb forwarding cores=1 - nb forwarding ports=1 4: port 0: RX queue number: 1 Tx queue number: 1 5: Rx offloads=0x0 Tx offloads=

[dpdk-dev] [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx

2021-03-04 Thread Lijun Ou
From: Huisong Li The "fwd_config_setup()" function does release and apply for memory of forwarding flows, and re-establish these flows when rxq/txq or rxd/txd is changed. The function is also called by "start_packet_forwarding()" when user executes "start" cmd. All changes for rxq/txq or rxd/txd

[dpdk-dev] [PATCH 1/3] app/testpmd: support Tx mbuf free on demand cmd

2021-03-04 Thread Lijun Ou
From: Chengwen Feng This patch support tx_done_cleanup command: tx_done_cleanup port (port_id) (queue_id) (free_cnt) User must make sure there are no concurrent access to the same Tx queue (like rte_eth_tx_burst, rte_eth_dev_tx_queue_stop and so on) when this command executed. Signed-off-by: Ch

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

2021-03-04 Thread Lijun Ou
This patch adds multi-process support for testpmd. The test cmd example as follows: the primary cmd: ./testpmd -w xxx --file-prefix=xx -l 0-1 -n 2 -- -i\ --rxq=16 --txq=16 --num-procs=2 --proc-id=0 the secondary cmd: ./testpmd -w xxx --file-prefix=xx -l 2-3 -n 2 -- -i\ --rxq=16 --txq=16 --num-procs

Re: [dpdk-dev] [PATCH 1/2] config/arm: fix Hisilicon kunpeng920 SoC build

2021-03-04 Thread oulijun
在 2021/3/1 18:46, Juraj Linkeš 写道: -Original Message- From: Thomas Monjalon Sent: Wednesday, February 24, 2021 1:10 PM To: Juraj Linkeš Cc: oulijun ; ferruh.yi...@intel.com; dev@dpdk.org; linux...@openeuler.org Subject: Re: [dpdk-dev] [PATCH 1/2] config/arm: fix Hisilicon kunpeng9

Re: [dpdk-dev] [PATCH 0/2] meson build fixes for hns3

2021-03-04 Thread oulijun
Hi, Thomas Monjalon && Ferruh Is the patchset used for integration or resending? What's your opinion? Thanks Lijun Ou 在 2021/2/3 20:46, Lijun Ou 写道: This series fix meson build for kunpeng920 and kunpeng930 boards. Chengchang Tang (2): config/arm: fix Hisilicon kunpeng920 SoC build con

Re: [dpdk-dev] [PATCH v3] net/bonding: fix LACP system address check

2021-03-04 Thread Min Hu (Connor)
Acked-by: Min Hu (Connor) 在 2021/2/18 0:26, Ferruh Yigit 写道: From: Vadim Podovinnikov In bond (LACP) we have several NICs (ports), when we have negotiation with peer about what port we prefer, we send information about what system we preferred in partner system name field. Peer also sends us

Re: [dpdk-dev] [PATCH 0/4] bug fixes for txgbe

2021-03-04 Thread Jiawen Wu
On Friday, March 5, 2021 12:49 AM, Ferruh Yigit wrote: > On 3/4/2021 10:06 AM, Jiawen Wu wrote: > > This series fix some bugs and remove unused functions. > > > > Jiawen Wu (4): > >net/txgbe: remove unused functions > >net/txgbe: fix Rx missed packet counter > >net/txgbe: update packet

Re: [dpdk-dev] [PATCH] bus/pci: fix probing for non-netuio bound devices

2021-03-04 Thread Narcisa Ana Maria Vasile
On Tue, Feb 09, 2021 at 05:40:08PM -0800, Pallavi Kadam wrote: > Implement rte_pci_map_device() to distinguish between the devices bound > to netuio and NDIS devices. > Only return success for the netuio devices. > > Suggested-by: Dmitry Kozlyuk > Signed-off-by: Pallavi Kadam > Reviewed-by: Ranj

Re: [dpdk-dev] [PATCH v2] bus/pci: fix probing for non-netuio bound devices

2021-03-04 Thread Narcisa Ana Maria Vasile
On Wed, Feb 10, 2021 at 12:36:54PM -0800, Pallavi Kadam wrote: > Implement rte_pci_map_device() to distinguish between the devices bound > to netuio and NDIS devices. > Only return success for the netuio devices. > > v2 changes: > - Extended the comment to mention about mapping > - rep

[dpdk-dev] [PATCH v2 0/4] bug fixes for txgbe

2021-03-04 Thread Jiawen Wu
This series fix some bugs and remove unused functions. v2: - add fixes line in commit logs Jiawen Wu (4): net/txgbe: remove unused functions net/txgbe: fix Rx missed packet counter net/txgbe: update packet type net/txgbe: fix the process of adding crypto SA drivers/net/txgbe/base/txgbe_

[dpdk-dev] [PATCH v2 2/4] net/txgbe: fix Rx missed packet counter

2021-03-04 Thread Jiawen Wu
Add the Rx dropped packet counter into stats->imissed, to ensure the stats correct. Fixes: c9bb590d4295 ("net/txgbe: support device statistics") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_type.h | 1 + drivers/net/txgbe/txgbe_ethdev.c| 4 +++- 2 files chan

[dpdk-dev] [PATCH v2 3/4] net/txgbe: update packet type

2021-03-04 Thread Jiawen Wu
Update the packet type lookup table according to the HW design. Fix the bug that inner L3 and L4 type can not be parsed when QINQ insert in tunnel packet. Fixes: 9e30b88f60b2 ("net/txgbe: support packet type") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_ptypes.c | 4

[dpdk-dev] [PATCH v2 4/4] net/txgbe: fix the process of adding crypto SA

2021-03-04 Thread Jiawen Wu
By register definition, Ipsec Rx IPv4 address should to be written in the reg(0). Fixes: 07cafb2adbc5 ("net/txgbe: add security session create operation") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_ipsec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[dpdk-dev] [PATCH v2 1/4] net/txgbe: remove unused functions

2021-03-04 Thread Jiawen Wu
Remove unused functions for EEPROM read and write. Fixes: 35c90ecccfd4 ("net/txgbe: add EEPROM functions") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_eeprom.c | 76 +-- drivers/net/txgbe/base/txgbe_eeprom.h | 2 - 2 files changed, 2 in

Re: [dpdk-dev] [PATCH 0/3] testpmd updates

2021-03-04 Thread Li, Xiaoyun
Hi > -Original Message- > From: dev On Behalf Of Lijun Ou > Sent: Friday, March 5, 2021 08:56 > To: Yigit, Ferruh > Cc: dev@dpdk.org; linux...@openeuler.org > Subject: [dpdk-dev] [PATCH 0/3] testpmd updates > > This series add a API implementation for testpmd as well as fix two bugs. >

Re: [dpdk-dev] [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx

2021-03-04 Thread Li, Xiaoyun
Hi > -Original Message- > From: dev On Behalf Of Lijun Ou > Sent: Friday, March 5, 2021 08:56 > To: Yigit, Ferruh > Cc: dev@dpdk.org; linux...@openeuler.org > Subject: [dpdk-dev] [PATCH 2/3] app/testpmd: remove forwarding config from > parsing Rx and Tx > > From: Huisong Li > > The "f

Re: [dpdk-dev] [PATCH 3/3] app/testpmd: fix mixed use of RX/Rx/TX/Tx in testpmd

2021-03-04 Thread Li, Xiaoyun
Hi > -Original Message- > From: dev On Behalf Of Lijun Ou > Sent: Friday, March 5, 2021 08:56 > To: Yigit, Ferruh > Cc: dev@dpdk.org; linux...@openeuler.org > Subject: [dpdk-dev] [PATCH 3/3] app/testpmd: fix mixed use of RX/Rx/TX/Tx in > testpmd > > From: Hongbo Zheng > > In testpmd,

[dpdk-dev] [PATCH] dpaax: update rel_notes for changes

2021-03-04 Thread Hemant Agrawal
This patch updates the release notes for recently submitted changes. Signed-off-by: Hemant Agrawal --- doc/guides/rel_notes/release_21_05.rst | 10 ++ 1 file changed, 10 insertions(+) diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc/guides/rel_notes/release_21_05.rst index 23f

Re: [dpdk-dev] [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx

2021-03-04 Thread oulijun
在 2021/3/5 11:21, Li, Xiaoyun 写道: Hi -Original Message- From: dev On Behalf Of Lijun Ou Sent: Friday, March 5, 2021 08:56 To: Yigit, Ferruh Cc: dev@dpdk.org; linux...@openeuler.org Subject: [dpdk-dev] [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx From: H

Re: [dpdk-dev] [PATCH 3/3] app/testpmd: fix mixed use of RX/Rx/TX/Tx in testpmd

2021-03-04 Thread oulijun
在 2021/3/5 11:25, Li, Xiaoyun 写道: Hi -Original Message- From: dev On Behalf Of Lijun Ou Sent: Friday, March 5, 2021 08:56 To: Yigit, Ferruh Cc: dev@dpdk.org; linux...@openeuler.org Subject: [dpdk-dev] [PATCH 3/3] app/testpmd: fix mixed use of RX/Rx/TX/Tx in testpmd From: Hongbo Zh

Re: [dpdk-dev] [PATCH 0/3] testpmd updates

2021-03-04 Thread oulijun
在 2021/3/5 11:18, Li, Xiaoyun 写道: Hi -Original Message- From: dev On Behalf Of Lijun Ou Sent: Friday, March 5, 2021 08:56 To: Yigit, Ferruh Cc: dev@dpdk.org; linux...@openeuler.org Subject: [dpdk-dev] [PATCH 0/3] testpmd updates This series add a API implementation for testpmd as

[dpdk-dev] [PATCH v3 1/2] net/ice: fix wrong RSS hash update

2021-03-04 Thread Wenjun Wu
This patch change judgment statements to disable RSS for pf when users need to disable RSS or RSS hash function configured is not supported. Fixes: 4717a12cfaf1 ("net/ice: initialize and update RSS based on user config") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- v2: do pf->rss_hf = 0 whe

[dpdk-dev] [PATCH v3 2/2] net/iavf: fix wrong RSS hash update

2021-03-04 Thread Wenjun Wu
This patch change judgment statements to disable RSS for vf when users need to disable RSS or RSS hash function configured is not supported. Fixes: 95f2f0e9fc2a ("net/iavf: improve default RSS") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- v3: fix the same issue for both pf and vf. --- dri

[dpdk-dev] [Bug 649] [dpdk-21.05] external_memory/test_VFIO_PCI_xmem: start testpmd failed

2021-03-04 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=649 Bug ID: 649 Summary: [dpdk-21.05] external_memory/test_VFIO_PCI_xmem: start testpmd failed Product: DPDK Version: unspecified Hardware: x86 OS: All Statu

[dpdk-dev] [PATCH] app/testpmd: support Tx mbuf free on demand cmd

2021-03-04 Thread Lijun Ou
From: Chengwen Feng This patch support tx_done_cleanup command: tx_done_cleanup port (port_id) (queue_id) (free_cnt) User must make sure there are no concurrent access to the same Tx queue (like rte_eth_tx_burst, rte_eth_dev_tx_queue_stop and so on) when this command executed. Signed-off-by: Ch

Re: [dpdk-dev] [PATCH] app/testpmd: support Tx mbuf free on demand cmd

2021-03-04 Thread Li, Xiaoyun
Hi Sorry, forgot to send this in last patchset. > -Original Message- > From: Lijun Ou > Sent: Friday, March 5, 2021 15:33 > To: Yigit, Ferruh > Cc: Li, Xiaoyun ; dev@dpdk.org; > linux...@openeuler.org > Subject: [PATCH] app/testpmd: support Tx mbuf free on demand cmd > > From: Chengwen

Re: [dpdk-dev] [PATCH v8 1/3] vfio: revert changes for map contiguous areas in one go

2021-03-04 Thread David Marchand
On Fri, Jan 15, 2021 at 8:33 AM Nithin Dabilpuram wrote: > > In order to save DMA entries limited by kernel both for externel > memory and hugepage memory, an attempt was made to map physically > contiguous memory in one go. This cannot be done as VFIO IOMMU type1 > does not support partially unma