Re: [dpdk-dev] [EXT] [PATCH v3 1/5] net/qede: fix minsize build

2021-08-09 Thread Rasesh Mody
> From: Devendra Singh Rawat > Sent: Monday, August 9, 2021 10:46 AM > > > > -Original Message- > From: Thomas Monjalon > Sent: Sunday, August 8, 2021 6:22 PM > To: dev@dpdk.org > Cc: bruce.richard...@intel.com; david.march...@redhat.com; Rasesh > Mody ; Devendra Singh Rawat > > Sub

Re: [dpdk-dev] [dpdk-stable] [PATCH v2 1/2] devtools: fix version pattern for fix search

2021-08-09 Thread Xueming(Steven) Li
Hi, > -Original Message- > From: Thomas Monjalon > Sent: Sunday, August 8, 2021 7:15 PM > To: Xueming(Steven) Li > Cc: dev@dpdk.org; sta...@dpdk.org; Christian Ehrhardt > ; david.march...@redhat.com; Luca > Boccassi > Subject: Re: [dpdk-stable] [PATCH v2 1/2] devtools: fix version patt

Re: [dpdk-dev] [WARNING: UNSCANNABLE EXTRACTION FAILED][WARNING: UNSCANNABLE EXTRACTION FAILED] [PATCH v6] doc: mtr: add API walk through

2021-08-09 Thread Dumitrescu, Cristian
> -Original Message- > From: jer...@marvell.com > Sent: Saturday, August 7, 2021 9:21 AM > To: Dumitrescu, Cristian ; Thomas Monjalon > ; Yigit, Ferruh ; Andrew > Rybchenko > Cc: dev@dpdk.org; arybche...@solarflare.com; l...@nvidia.com; > ajit.khapa...@broadcom.com; Singh, Jasvinder >

[dpdk-dev] 20.11.3 patches review and test

2021-08-09 Thread luca . boccassi
Hi all, Here is a list of patches targeted for stable release 20.11.3. The planned date for the final release is August 23rd. Please help with testing and validation of your use cases and report any issues/results with reply-all to this mail. For the final release the fixes and reported validati

Re: [dpdk-dev] [dpdk-stable] [PATCH v4] app/testpmd: fix testpmd doesn't show RSS hash offload

2021-08-09 Thread Ferruh Yigit
On 7/22/2021 12:03 PM, Andrew Rybchenko wrote: > On 7/19/21 7:18 PM, Ferruh Yigit wrote: >> On 7/19/2021 10:55 AM, Wang, Jie1X wrote: >>> >>> -Original Message- From: Yigit, Ferruh Sent: Friday, July 16, 2021 4:52 PM To: Li, Xiaoyun ; Wang, Jie1X ; dev@dpdk.org >>>

Re: [dpdk-dev] [PATCH 21.11 v2 0/3] eal: add memory pre-allocation from existing files

2021-08-09 Thread Dmitry Kozlyuk
2021-07-16 14:08 (UTC+0300), Dmitry Kozlyuk: > Hugepage allocation from the system takes time, resulting in slow > startup or sporadic delays later. Most of the time spent in kernel > is zero-filling memory for security reasons, which may be irrelevant > in a controlled environment. The bottleneck

Re: [dpdk-dev] [PATCH v3 3/5] vdpa/mlx5: fix minsize build

2021-08-09 Thread Matan Azrad
From: Thomas Monjalon > Error occurs when configuring meson with --buildtype=minsize with GCC > 11.1.0: > > drivers/vdpa/mlx5/mlx5_vdpa_mem.c: In function > ‘mlx5_vdpa_mem_register’: > drivers/vdpa/mlx5/mlx5_vdpa_mem.c:183:24: error: > initialization of ‘uint64_t’ {aka ‘long unsigned int’} from

[dpdk-dev] [PATCH] eal: allow hugetlbfs sub-directories

2021-08-09 Thread John Levon
get_hugepage_dir() was implemented in such a way that a --huge-dir option had to exactly match the mountpoint, but there's no reason for this restriction: DPDK might not be the only user of hugepages, and shouldn't assume it owns an entire mountpoint. For example, if I have /dev/hugepages/myapp, an

Re: [dpdk-dev] [dpdk-stable] [PATCH v2 2/2] devtools: fix patches missing if range newer than HEAD

2021-08-09 Thread Xueming(Steven) Li
> -Original Message- > From: Thomas Monjalon > Sent: Sunday, August 8, 2021 7:25 PM > To: Xueming(Steven) Li > Cc: dev@dpdk.org; sta...@dpdk.org; Christian Ehrhardt > ; bl...@debian.org; > ktray...@redhat.com; david.march...@redhat.com > Subject: Re: [dpdk-stable] [PATCH v2 2/2] devto

Re: [dpdk-dev] [PATCH v2] app/testpmd: flowgen support ip and udp fields

2021-08-09 Thread Singh, Aman Deep
Hi Wang, On 8/9/2021 12:22 PM, Zhihong Wang wrote: This patch aims to: 1. Add flexibility by supporting IP & UDP src/dst fields 2. Improve multi-core performance by using per-core vars v2: fix assigning ip header cksum Signed-off-by: Zhihong Wang --- From defination of flowgen as per

[dpdk-dev] [PATCH v9 0/2] devtools: scripts to count and track symbols

2021-08-09 Thread Ray Kinsella
Scripts to count and track the lifecycle of DPDK symbols. The symbol-tool script reports on the growth of symbols over releases and list expired symbols. The notify-symbol-maintainers script consumes the input from symbol-tool and generates email notifications of expired symbols. v2: reworked to

[dpdk-dev] [PATCH v9 1/2] devtools: script to track symbols over releases

2021-08-09 Thread Ray Kinsella
This script tracks the growth of stable and experimental symbols over releases since v19.11. The script has the ability to count the added symbols between two dpdk releases, and to list experimental symbols present in two dpdk releases (expired symbols). example usages: Count symbols added since

[dpdk-dev] [PATCH v9 2/2] devtools: script to send notifications of expired symbols

2021-08-09 Thread Ray Kinsella
Use this script with the output of the DPDK symbol tool, to notify maintainers of expired symbols by email. You need to define the environment variable DPDK_GETMAINTAINER_PATH for this tool to work. Use terminal output to review the emails before sending. e.g. $ devtools/symbol-tool.py list-expire

[dpdk-dev] [PATCH v1] doc: fix CI typo warnings

2021-08-09 Thread Ray Kinsella
Fix documentation typos that are generating spurious CI warnings. Signed-off-by: Ray Kinsella --- doc/guides/sample_app_ug/ioat.rst| 2 +- doc/guides/sample_app_ug/vmdq_forwarding.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/sample_app_ug/ioat

Re: [dpdk-dev] [PATCH] doc: abstract the behaviour of rte_ctrl_thread_create

2021-08-09 Thread Honnappa Nagarahalli
> > 30/07/2021 23:44, Honnappa Nagarahalli: > > The current expected behaviour of the function rte_ctrl_thread_create > > is rigid which makes the implementation of the function complex. > > Make the expected behaviour abstract to allow for simplified > > implementation. > > > > With this change,

[dpdk-dev] [Bug 785] rte_pktmbuf_alloc fails with a segmentation fault but rte_pktmbuf_pool_create returns valid data

2021-08-09 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=785 Bug ID: 785 Summary: rte_pktmbuf_alloc fails with a segmentation fault but rte_pktmbuf_pool_create returns valid data Product: DPDK Version: 20.11 Hardware: All OS:

Re: [dpdk-dev] [PATCH] eal: allow hugetlbfs sub-directories

2021-08-09 Thread Jerin Jacob
On Mon, Aug 9, 2021 at 4:54 PM John Levon wrote: > > get_hugepage_dir() was implemented in such a way that a --huge-dir > option had to exactly match the mountpoint, but there's no reason for > this restriction: DPDK might not be the only user of hugepages, and > shouldn't assume it owns an entire

Re: [dpdk-dev] [PATCH v1] ethdev: introduce shared Rx queue

2021-08-09 Thread Jerin Jacob
On Mon, Aug 9, 2021 at 5:18 PM Xueming Li wrote: > > In current DPDK framework, each RX queue is pre-loaded with mbufs for > incoming packets. When number of representors scale out in a switch > domain, the memory consumption became significant. Most important, > polling all ports leads to high ca

Re: [dpdk-dev] [RFC] ethdev: change queue release callback

2021-08-09 Thread Singh, Aman Deep
Hi Xueming, On 7/28/2021 1:10 PM, Andrew Rybchenko wrote: On 7/27/21 6:41 AM, Xueming Li wrote: To align with other eth device queue configuration callbacks, change RX and TX queue release callback API parameter from queue object to device and queue index. Signed-off-by: Xueming Li In fact,

Re: [dpdk-dev] [PATCH v1] doc: fix CI typo warnings

2021-08-09 Thread Aaron Conole
Ray Kinsella writes: > Fix documentation typos that are generating spurious CI warnings. > > Signed-off-by: Ray Kinsella > --- Looks like there are still a few errors. Ex: ioat: end-before not used anywhere deprecation.rst: 'inplace' should probably be 'in place' deprecation.rst: 'esn' -> pr

Re: [dpdk-dev] [PATCH v2] app/testpmd: flowgen support ip and udp fields

2021-08-09 Thread Ferruh Yigit
On 8/9/2021 7:52 AM, Zhihong Wang wrote: > This patch aims to: > 1. Add flexibility by supporting IP & UDP src/dst fields What is the reason/"use case" of this flexibility? > 2. Improve multi-core performance by using per-core vars> On multi core this also has syncronization problem, OK to mak

Re: [dpdk-dev] [RFC] ethdev: change queue release callback

2021-08-09 Thread Ferruh Yigit
On 8/9/2021 3:39 PM, Singh, Aman Deep wrote: > Hi Xueming, > > On 7/28/2021 1:10 PM, Andrew Rybchenko wrote: >> On 7/27/21 6:41 AM, Xueming Li wrote: >>> To align with other eth device queue configuration callbacks, change RX >>> and TX queue release callback API parameter from queue object to dev

[dpdk-dev] [PATCH v1] ethdev: introduce shared Rx queue

2021-08-09 Thread Xueming Li
In current DPDK framework, each RX queue is pre-loaded with mbufs for incoming packets. When number of representors scale out in a switch domain, the memory consumption became significant. Most important, polling all ports leads to high cache miss, high latency and low throughput. This patch intro

Re: [dpdk-dev] [PATCH v2] bus/vmbus: Fix crash when handling packets in secondary process

2021-08-09 Thread Jonathan Erb
Would it be possible to resolve the lack of subchannels in secondary processes as follows: 1. Create the following function in vmbus_uio.c to obtain the count of subchannels created by the primary: int vmbus_uio_get_num_subchan(struct vmbus_channel *primary) {     const struct rte_vmbus_dev

Re: [dpdk-dev] [PATCH v1] ethdev: introduce shared Rx queue

2021-08-09 Thread Xueming(Steven) Li
Hi, > -Original Message- > From: Jerin Jacob > Sent: Monday, August 9, 2021 9:51 PM > To: Xueming(Steven) Li > Cc: dpdk-dev ; Ferruh Yigit ; > NBU-Contact-Thomas Monjalon ; > Andrew Rybchenko > Subject: Re: [dpdk-dev] [PATCH v1] ethdev: introduce shared Rx queue > > On Mon, Aug 9, 202

[dpdk-dev] [PATCH] net/mlx5: fix matching on eCPRI

2021-08-09 Thread Dmitry Kozlyuk
When an ETH or VLAN flow item directly preceding ECPRI (i. e. a pattern for eCPRI over Ethernet) did not specify the eCPRI protocol, matches were not restricted to eCPRI traffic. For example, "eth / ecpri / end" pattern behaved as "eth / end". Implicitly add Ethernet type condition, so that "eth /

[dpdk-dev] [PATCH 00/28] ice: base code update

2021-08-09 Thread Qi Zhang
Summary: 1. Add new module to support 1588 timesync / PTP. 2. Couple FDIR / RSS enhancement to support GRE tunnel and GTPU 3. Support l3/ l4 checksum RSS Qi Zhang (28): net/ice/base: add 1588 capability probe net/ice/base: add low level functions for device clock control net/ice/base: add e

[dpdk-dev] [PATCH 01/28] net/ice/base: add 1588 capability probe

2021-08-09 Thread Qi Zhang
Parse 1588 timesync capability during device capability probing. Signed-off-by: Jacob Keller Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_adminq_cmd.h | 1 + drivers/net/ice/base/ice_common.c | 111 ++ drivers/net/ice/base/ice_type.h | 72 +++

[dpdk-dev] [PATCH 02/28] net/ice/base: add low level functions for device clock control

2021-08-09 Thread Qi Zhang
The ice hardware supports exposing a hardware clock for high precision timestamping. This is primarily intended for accelerating the Precision Time Protocol. Add several low level functions intended to be used as the basis for enabling the device clock, and ensuring that the port timers are synchr

[dpdk-dev] [PATCH 03/28] net/ice/base: add ethertype IPv6 check for dummy packet

2021-08-09 Thread Qi Zhang
In order to support switch rule for ethertype filter with ipv6 ethertype id, it has to check ethertype and then find a proper dummy packet. There was a silent assumption that packet is ipv4, unless src or dst ipv6 address is specified in a flow. Signed-off-by: Grzegorz Nitka Signed-off-by: Qi Zha

[dpdk-dev] [PATCH 04/28] net/ice/base: change dummy packets with VLAN

2021-08-09 Thread Qi Zhang
Ethertype was traded as VLAN tpid in dummy packets with VLAN. This led to a problem when user wanted to add filter for VLAN and ethertype. Change ice_vlan_hdr to reflect correct order of VLAN fields in packets (VLAN tpid, VLAN id). Correct all dummy packets with VLAN. Move VLAN fields before ether

[dpdk-dev] [PATCH 05/28] net/ice/base: add timestamp masks

2021-08-09 Thread Qi Zhang
Adding macros for shift and masking of the lower timestamp work in the Rx flex descriptor. The LSB of the timestamp-low word indicates the validity of the timestamp while the rest 7 bits contain the timestamp. Signed-off-by: Vignesh Sridhar Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_l

[dpdk-dev] [PATCH 06/28] net/ice/base: add clock initialization function

2021-08-09 Thread Qi Zhang
Before the device PTP hardware clock can be initialized, some steps must be taken by the driver. This includes writing some registers and initializing the PHY. Some of these steps are distinct depending on the device type (E810 or E822). Additionally, a future change will introduce more steps for

[dpdk-dev] [PATCH 07/28] net/ice/base: add accessors to get/set the time reference

2021-08-09 Thread Qi Zhang
The E822 device clock might come from a variety of different sources, called TIME_REFs. The firmware reports the current TIME_REF as part of its function capabilities, which the driver caches when it loads. Add an accessor function to look up the current TIME_REF from the capabilities. This reduce

[dpdk-dev] [PATCH 08/28] net/ice/base: print human-friendly PHY types

2021-08-09 Thread Qi Zhang
Add functions to print PHY types in human-friendly form Signed-off-by: Anirudh Venkataramanan Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_common.c | 164 ++ 1 file changed, 146 insertions(+), 18 deletions(-) diff --git a/drivers/net/ice/base/ice_common.c b

[dpdk-dev] [PATCH 09/28] net/ice/base: implement Vernier calibration logic for E822 devices

2021-08-09 Thread Qi Zhang
Move the implementation of Vernier calibration from Linux core ice_ptp.c into the shared ice_ptp_hw.c file. This implementation was recently refactored in Linux, so the move should be verbatim with the latest Linux code that we had implemented. This includes a new constant table with pre-determin

[dpdk-dev] [PATCH 10/28] net/ice/base: clarify comments on checking PFC mode

2021-08-09 Thread Qi Zhang
Rework the comment around checking PFC mode to make it clear why we are checking the mode after sending the command. Signed-off-by: Tony Nguyen Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_dcb.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/ice

[dpdk-dev] [PATCH 11/28] net/ice/base: add support for starting PHY in bypass mode

2021-08-09 Thread Qi Zhang
After starting the timestamping block, hardware begins calculating precise offsets through a process of vernier calibration. This process measures the effective phase offset of the various internal clocks used in the PHY. Once hardware completes these measurements, the P_REG_TX_OV_STATUS and P_REG

[dpdk-dev] [PATCH 12/28] net/ice/base: add E810T check function

2021-08-09 Thread Qi Zhang
Add function ice_is_e810t() to be able to distinguish if hardware is E810T based or not. Signed-off-by: Michal Michalik Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_common.c | 12 drivers/net/ice/base/ice_common.h | 1 + drivers/net/ice/base/ice_devids.h | 1 + 3 files ch

[dpdk-dev] [PATCH 13/28] net/ice/base: implement firmware debug dump

2021-08-09 Thread Qi Zhang
Basic implementation of FW Debug Dump. Signed-off-by: Marcin Domagala Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_adminq_cmd.h | 25 ++ drivers/net/ice/base/ice_common.c | 50 +++ drivers/net/ice/base/ice_common.h | 6 3 files changed,

[dpdk-dev] [PATCH 14/28] net/ice/base: add new AQ description

2021-08-09 Thread Qi Zhang
Add ice_aqc_sw_gpio struct to ice_aq_desc This change allows us to do SW_GPIO AQ cmd transactions over ice_aq_send_cmd() interface. Signed-off-by: Siddaraju DH Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_adminq_cmd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ice/b

[dpdk-dev] [PATCH 15/28] net/ice/base: refine MAC rule adding

2021-08-09 Thread Qi Zhang
Move replay_pre_init function to interface. Add further MAC rules, despite unicast address is already on list. Signed-off-by: Marcin Domagala Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_common.c | 2 +- drivers/net/ice/base/ice_common.h | 2 ++ drivers/net/ice/base/ice_switch.c | 2 +-

[dpdk-dev] [PATCH 16/28] net/ice/base: support TC nodes PIR configuration

2021-08-09 Thread Qi Zhang
TC nodes CIR configuration is not supported. In order to configure PIR, the corresponding adminq command should not include the flag for CIR. Since the TC node info has this flag by default, it is supposed to delete this flag for TC nodes before sending the adminq command. Signed-off-by: Ting Xu

[dpdk-dev] [PATCH 17/28] net/ice/base: support FDIR for GRE tunnel packet

2021-08-09 Thread Qi Zhang
Support IPV4_GRE and IPV6_GRE with inner IPV4/IPV6/UDP/TCP for FDIR. Signed-off-by: Wenjun Wu Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_fdir.c | 361 drivers/net/ice/base/ice_fdir.h | 2 + drivers/net/ice/base/ice_type.h | 14 ++ 3 files changed, 3

[dpdk-dev] [PATCH 18/28] net/ice/base: support RSS for GRE tunnel packet

2021-08-09 Thread Qi Zhang
Support RSS of inner headers for GRE tunnel packet. Signed-off-by: Wenjun Wu Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_flow.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_flow.c index b33

[dpdk-dev] [PATCH 19/28] net/ice/base: support FDIR for GTPU EH inner IPv6

2021-08-09 Thread Qi Zhang
Supuport FDIR filtering for IPV4_GTPU_EH_IPV6 with inner IPV6/UDP/TCP fields matching. Signed-off-by: Junfeng Guo Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_fdir.c | 352 ++-- drivers/net/ice/base/ice_type.h | 23 ++- 2 files changed, 309 insertions(+), 66

[dpdk-dev] [PATCH 20/28] net/ice/base: support RSS for GTPoGRE

2021-08-09 Thread Qi Zhang
Support RSS for GTPoGRE inner fields hash. Signed-off-by: Junfeng Guo Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_flow.c | 8 drivers/net/ice/base/ice_flow.h | 4 2 files changed, 12 insertions(+) diff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_fl

[dpdk-dev] [PATCH 21/28] net/ice/base: enable NVM update reset capabilities

2021-08-09 Thread Qi Zhang
Add logic to parse capabilities relating to the firmware update reset requirements. This includes both capability 0x76, which informs the driver if the firmware can sometimes skip PCIe resets, and 0x77, which informs the driver if the firmware might potentially restrict EMP resets. For capability

[dpdk-dev] [PATCH 22/28] net/ice/base: support FDIR for GTPoGRE

2021-08-09 Thread Qi Zhang
Enable Flow Director filtering for GTPoGRE inner/outer fields matching. Signed-off-by: Junfeng Guo Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_fdir.c | 1532 ++ drivers/net/ice/base/ice_fdir.h | 12 + drivers/net/ice/base/ice_flex_pipe.c |

[dpdk-dev] [PATCH 23/28] net/ice/base: add RSS support for IPv4/L4 checksum

2021-08-09 Thread Qi Zhang
The IPv4/TCP/UDP/SCTP header checksum fields are defined in this patch and can be used as RSS input sets. Signed-off-by: Alvin Zhang Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_flow.c | 17 + drivers/net/ice/base/ice_flow.h | 4 2 files changed, 21 insertions(+)

[dpdk-dev] [PATCH 24/28] net/ice/base: enable jumbo frame support during HW init

2021-08-09 Thread Qi Zhang
Call ice_aq_set_mac_cfg in ice_hw_init to enable jumbo frame support. Signed-off-by: Anirudh Venkataramanan Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_common.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_commo

[dpdk-dev] [PATCH 25/28] net/ice/base: support FDIR for GTPU UL/DL with QFI fields

2021-08-09 Thread Qi Zhang
Enable Flow Director filtering for GTPU UL/DL QFI field matching. Signed-off-by: Junfeng Guo Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_flow.c | 8 drivers/net/ice/base/ice_flow.h | 2 ++ 2 files changed, 10 insertions(+) diff --git a/drivers/net/ice/base/ice_flow.c b/driver

[dpdk-dev] [PATCH 26/28] net/ice/base: rename and add a setter function

2021-08-09 Thread Qi Zhang
Rename ucast_shared to umac_shared, as "umac" is a more widely used shorthand for "unicast MAC". Also add a helper function to set this flag. This helper is expected to be called by core drivers. Signed-off-by: Anirudh Venkataramanan Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_common.

[dpdk-dev] [PATCH 27/28] net/ice/base: correct spellling of word data

2021-08-09 Thread Qi Zhang
Correct spelling of word data instead of date. Signed-off-by: Kevin Scott Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c index 9c6649b6c5..64

[dpdk-dev] [PATCH 28/28] net/ice/base: update Max TCAM/PTG Per Profile

2021-08-09 Thread Qi Zhang
For GTPoGRE protocol in AVF FDIR/RSS, the number of associated PTGs of one Profile may exceeds the defined ICE_MAX_PTG_PER_PROFILE and ICE_MAX_TCAM_PER_PROFILE. In those cases, some PTGs may be missed, and therefore, the related and received packets will not have hash values. Thus, this patch updat

Re: [dpdk-dev] [PATCH v1 0/4] fix note error

2021-08-09 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Feifei Wang > Sent: Friday, July 23, 2021 11:11 AM > Cc: dev@dpdk.org; n...@arm.com; Feifei Wang > Subject: [dpdk-dev] [PATCH v1 0/4] fix note error > > Fix drivers/net note error and do some optimization for i40e NEON path. > > Feifei Wa

Re: [dpdk-dev] [PATCH v1] net/ice: fix the reversed priority of DCF switch rule

2021-08-09 Thread Zhang, Qi Z
> -Original Message- > From: Wu, Wenjun1 > Sent: Monday, August 2, 2021 3:25 PM > To: dev@dpdk.org; Yang, Qiming ; Zhang, Qi Z > ; Zhang, Yuying > Cc: Wu, Wenjun1 > Subject: [PATCH v1] net/ice: fix the reversed priority of DCF switch rule > > This patch fixes the reversed priority of

Re: [dpdk-dev] [PATCH 01/28] net/ice/base: add 1588 capability probe

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Keller, Jacob E > Subject: [PATCH 01/28] net/ice/base: add 1588 capability probe > > Parse 1588 timesync capability during device capa

Re: [dpdk-dev] [PATCH 02/28] net/ice/base: add low level functions for device clock control

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Keller, Jacob E > Subject: [PATCH 02/28] net/ice/base: add low level functions for device > clock control > > The ice hardware support

Re: [dpdk-dev] [PATCH 03/28] net/ice/base: add ethertype IPv6 check for dummy packet

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Nitka, Grzegorz > Subject: [PATCH 03/28] net/ice/base: add ethertype IPv6 check for > dummy packet > > In order to support switch rule

Re: [dpdk-dev] [PATCH 04/28] net/ice/base: change dummy packets with VLAN

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Swiatkowski, Michal > > Subject: [PATCH 04/28] net/ice/base: change dummy packets with VLAN > > Ethertype was traded as VLAN tpid in d

Re: [dpdk-dev] [PATCH 05/28] net/ice/base: add timestamp masks

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Sridhar, Vignesh > Subject: [PATCH 05/28] net/ice/base: add timestamp masks > > Adding macros for shift and masking of the lower times

Re: [dpdk-dev] [PATCH 06/28] net/ice/base: add clock initialization function

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Keller, Jacob E > Subject: [PATCH 06/28] net/ice/base: add clock initialization function > > Before the device PTP hardware clock can

Re: [dpdk-dev] [PATCH 07/28] net/ice/base: add accessors to get/set the time reference

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Keller, Jacob E > Subject: [PATCH 07/28] net/ice/base: add accessors to get/set the time > reference > > The E822 device clock might c

Re: [dpdk-dev] [PATCH 08/28] net/ice/base: print human-friendly PHY types

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Venkataramanan, Anirudh > > Subject: [PATCH 08/28] net/ice/base: print human-friendly PHY types > > Add functions to print PHY types i

Re: [dpdk-dev] [PATCH 09/28] net/ice/base: implement Vernier calibration logic for E822 devices

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Keller, Jacob E > Subject: [PATCH 09/28] net/ice/base: implement Vernier calibration logic > for E822 devices > > Move the implementat

Re: [dpdk-dev] [PATCH 10/28] net/ice/base: clarify comments on checking PFC mode

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Nguyen, Anthony L > > Subject: [PATCH 10/28] net/ice/base: clarify comments on checking PFC > mode > > Rework the comment around check

Re: [dpdk-dev] [PATCH 11/28] net/ice/base: add support for starting PHY in bypass mode

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Keller, Jacob E > Subject: [PATCH 11/28] net/ice/base: add support for starting PHY in > bypass mode > > After starting the timestampi

Re: [dpdk-dev] [PATCH 12/28] net/ice/base: add E810T check function

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Michalik, Michal > Subject: [PATCH 12/28] net/ice/base: add E810T check function > > Add function ice_is_e810t() to be able to disting

Re: [dpdk-dev] [PATCH 13/28] net/ice/base: implement firmware debug dump

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Domagala, MarcinX > > Subject: [PATCH 13/28] net/ice/base: implement firmware debug dump > > Basic implementation of FW Debug Dump. >

Re: [dpdk-dev] [PATCH 14/28] net/ice/base: add new AQ description

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; D H, Siddaraju > Subject: [PATCH 14/28] net/ice/base: add new AQ description > > Add ice_aqc_sw_gpio struct to ice_aq_desc > This chan

Re: [dpdk-dev] [PATCH 15/28] net/ice/base: refine MAC rule adding

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Domagala, MarcinX > > Subject: [PATCH 15/28] net/ice/base: refine MAC rule adding > > Move replay_pre_init function to interface. > Ad

Re: [dpdk-dev] [PATCH 16/28] net/ice/base: support TC nodes PIR configuration

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Xu, Ting > Subject: [PATCH 16/28] net/ice/base: support TC nodes PIR configuration > > TC nodes CIR configuration is not supported. In

Re: [dpdk-dev] [PATCH 17/28] net/ice/base: support FDIR for GRE tunnel packet

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:51 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Wu, Wenjun1 > Subject: [PATCH 17/28] net/ice/base: support FDIR for GRE tunnel packet > > Support IPV4_GRE and IPV6_GRE with inner IPV

Re: [dpdk-dev] [PATCH 18/28] net/ice/base: support RSS for GRE tunnel packet

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Wu, Wenjun1 > Subject: [PATCH 18/28] net/ice/base: support RSS for GRE tunnel packet > > Support RSS of inner headers for GRE tunnel p

Re: [dpdk-dev] [PATCH 19/28] net/ice/base: support FDIR for GTPU EH inner IPv6

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > > Subject: [PATCH 19/28] net/ice/base: support FDIR for GTPU EH inner > IPv6 > > Supuport FDIR filtering for IPV4_GTPU_EH_IPV6 with inne

Re: [dpdk-dev] [PATCH 20/28] net/ice/base: support RSS for GTPoGRE

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > > Subject: [PATCH 20/28] net/ice/base: support RSS for GTPoGRE > > Support RSS for GTPoGRE inner fields hash. > > Signed-off-by: Junfen

Re: [dpdk-dev] [PATCH 21/28] net/ice/base: enable NVM update reset capabilities

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Keller, Jacob E > Subject: [PATCH 21/28] net/ice/base: enable NVM update reset > capabilities > > Add logic to parse capabilities rela

Re: [dpdk-dev] [PATCH 22/28] net/ice/base: support FDIR for GTPoGRE

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > > Subject: [PATCH 22/28] net/ice/base: support FDIR for GTPoGRE > > Enable Flow Director filtering for GTPoGRE inner/outer fields > matc

Re: [dpdk-dev] [PATCH 23/28] net/ice/base: add RSS support for IPv4/L4 checksum

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Zhang, AlvinX > Subject: [PATCH 23/28] net/ice/base: add RSS support for IPv4/L4 > checksum > > The IPv4/TCP/UDP/SCTP header checksum

Re: [dpdk-dev] [PATCH 24/28] net/ice/base: enable jumbo frame support during HW init

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Venkataramanan, Anirudh > > Subject: [PATCH 24/28] net/ice/base: enable jumbo frame support during > HW init > > Call ice_aq_set_mac_c

Re: [dpdk-dev] [PATCH 25/28] net/ice/base: support FDIR for GTPU UL/DL with QFI fields

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > > Subject: [PATCH 25/28] net/ice/base: support FDIR for GTPU UL/DL with > QFI fields > > Enable Flow Director filtering for GTPU UL/DL Q

Re: [dpdk-dev] [PATCH 26/28] net/ice/base: rename and add a setter function

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Venkataramanan, Anirudh > > Subject: [PATCH 26/28] net/ice/base: rename and add a setter function > > Rename ucast_shared to umac_shar

Re: [dpdk-dev] [PATCH 27/28] net/ice/base: correct spellling of word data

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Scott, Kevin C > Subject: [PATCH 27/28] net/ice/base: correct spellling of word data > > Correct spelling of word data instead of date

Re: [dpdk-dev] [PATCH 28/28] net/ice/base: update Max TCAM/PTG Per Profile

2021-08-09 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > > Subject: [PATCH 28/28] net/ice/base: update Max TCAM/PTG Per Profile > > For GTPoGRE protocol in AVF FDIR/RSS, the number of associate

Re: [dpdk-dev] [PATCH v1 0/2] remove redundant default RSS field for IP fragment packets

2021-08-09 Thread Zhang, Qi Z
> -Original Message- > From: Wu, Wenjun1 > Sent: Monday, August 2, 2021 4:35 PM > To: dev@dpdk.org; Zhang, Qi Z > Cc: Wu, Wenjun1 > Subject: [PATCH v1 0/2] remove redundant default RSS field for IP fragment > packets > > Remove redundant default RSS field for IP fragment packets, onl

[dpdk-dev] [PATCH v3 0/3] security: Improve inline fast path routines

2021-08-09 Thread Nithin Dabilpuram
Improvements to Inline inbound and outbound processing fast path routines rte_security_set_pkt_metadata() and rte_security_get_userdata() to make them inline functions and also provide mechanism for drivers to support fast userdata and metadata access instead of driver specific per-pkt function cal

[dpdk-dev] [PATCH v3 1/3] security: enforce semantics for Tx inline processing

2021-08-09 Thread Nithin Dabilpuram
Not all net PMD's/HW can parse packet and identify L2 header and L3 header locations on Tx. This is inline with other Tx offloads requirements such as L3 checksum, L4 checksum offload, etc, where mbuf.l2_len, mbuf.l3_len etc, needs to be set for HW to be able to generate checksum. Since Inline IPSe

[dpdk-dev] [PATCH v3 2/3] security: add option for faster udata or mdata access

2021-08-09 Thread Nithin Dabilpuram
Currently rte_security_set_pkt_metadata() and rte_security_get_userdata() methods to set pkt metadata on Inline outbound and get userdata after Inline inbound processing is always driver specific callbacks. For drivers that do not have much to do in the callbacks but just to update metadata in rte

[dpdk-dev] [PATCH v3 3/3] examples/ipsec-secgw: update event mode inline path

2021-08-09 Thread Nithin Dabilpuram
Update mbuf.l2_len with L2 header size for outbound inline processing. This patch also fixes a bug in arg parsing. Signed-off-by: Nithin Dabilpuram --- examples/ipsec-secgw/ipsec-secgw.c | 2 ++ examples/ipsec-secgw/ipsec_worker.c | 41 - 2 files changed, 2