[dpdk-dev] [PATCH] rawdev: fix to remove EXPERIMENTAL from comment

2020-07-06 Thread Hemant Agrawal
The experimental tags were removed, but the comment is still having API classification as EXPERIMENTAL Fixes: 931cc531aad2 ("rawdev: remove experimental tag") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- lib/librte_rawdev/rte_rawdev.h | 3 --- lib/librte_rawdev/rte_rawdev_pmd.h | 3

[dpdk-dev] [PATCH v2] net/bonding: change the state machine to defaulted

2020-07-06 Thread Weifeng Li
From: Weifeng Li A dpdk bonding 802.3ad network as follows: +--+ +---+ |dpdk lacp |slave1 <--> port1|switch lacp| | |slave2 <--> port2| | +--+ +---+ If a fiber optic go wrong about single pass durin

[dpdk-dev] [PATCH v3] net/i40e: support cloud filter with L4 port

2020-07-06 Thread Guinan Sun
This patch enables the filter that supports to create following two rules for the same packet type: One is to select source port only as input set and the other is for destination port only. And the supported packet types are UDP/TCP/SCTP. Signed-off-by: Guinan Sun --- v3: * Add limitation to i40

[dpdk-dev] [Bug 503] can not detected device when use meson build dpdk

2020-07-06 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=503 Bug ID: 503 Summary: can not detected device when use meson build dpdk Product: DPDK Version: 20.08 Hardware: All OS: All Status: UNCONFIRMED Severity: major

Re: [dpdk-dev] [PATCH] add flow shared action API

2020-07-06 Thread Ori Kam
Hi Jerin, Thanks you for your quick reply. > -Original Message- > From: Jerin Jacob > Subject: Re: [dpdk-dev] [PATCH] add flow shared action API > > On Mon, Jul 6, 2020 at 7:02 PM Andrey Vesnovaty > wrote: > > > > Hi, Jerin. > > Hi Ori and Andrey, > > > > > > Please see below Ori's

Re: [dpdk-dev] [PATCH v2] net/i40e: enable port filter by switch filter

2020-07-06 Thread Sun, GuinanX
Hi beilei > -Original Message- > From: Xing, Beilei > Sent: Tuesday, June 30, 2020 2:16 PM > To: Sun, GuinanX ; dev@dpdk.org > Cc: Guo, Jia > Subject: RE: [PATCH v2] net/i40e: enable port filter by switch filter > > > > > -Original Message- > > From: Sun, GuinanX > > Sent: Tue

Re: [dpdk-dev] [PATCH] test/crypto: change cipher offset for esn vector

2020-07-06 Thread Ankur Dwivedi
Hi Akhil, Please see my reply inline. Thanks Ankur >-Original Message- >From: Akhil Goyal >Sent: Tuesday, July 7, 2020 12:24 AM >To: Ankur Dwivedi ; dev@dpdk.org >Cc: declan.dohe...@intel.com; Hemant Agrawal >; Vakul Garg ; Anoob >Joseph >Subject: [EXT] RE: [PATCH] test/crypto: change

[dpdk-dev] [dpdk-dev v5 2/4] net/ice: support hash for new GTPU protocols

2020-07-06 Thread Jeff Guo
Support hash flow for the new protoclos of GTPU_EH UPLINK, GTPU_EH DOWNLINK and GTPU_IP. Signed-off-by: Jeff Guo --- v5->v4: no change --- drivers/net/ice/ice_hash.c | 67 ++ 1 file changed, 54 insertions(+), 13 deletions(-) diff --git a/drivers/net/ice/ice_h

[dpdk-dev] [dpdk-dev v5 3/4] net/ice: enable new input set for rss hash

2020-07-06 Thread Jeff Guo
PF could add or delete a RSS rule base on the PF's hash capability. Some new rss input set will be supported, the protocols as below: eth/vlan/l2tpv3/esp/ah/pfcp. Signed-off-by: Jeff Guo --- v5->v4: fix checkpatch issue refine for eth/vlan hash --- drivers/net/ice/ice_hash.c | 146 ++

[dpdk-dev] [dpdk-dev v5 4/4] app/testpmd: add GTPU to RSS hash commands

2020-07-06 Thread Jeff Guo
Add testpmd cmdline support for GTPU, it could be used to configure gtpu teid hash. The commands as below: testpmd> flow create 0 ingress pattern eth / ipv4 / udp / gtpu / \ ipv4 / end actions rss types gtpu end key_len 0 queues end / end Signed-off-by: Jeff Guo --- v5->v4: no change. --- app/

[dpdk-dev] [dpdk-dev v5 0/4] enable new hash flow for pf

2020-07-06 Thread Jeff Guo
PF could add or delete a RSS rule base on the PF's hash capability. Some new rss input set will be supported, the protocols as below: eth/vlan/l2tpv3/esp/ah/pfcp/gtpu downlink/gtpu uplink. v5->v4: fix checkpatch issue refine for eth/vlan hash v4->v3: split patch set Jeff Guo (4): net/ice: refa

[dpdk-dev] [dpdk-dev v5 1/4] net/ice: refactor for pf hash flow

2020-07-06 Thread Jeff Guo
Refactor hash flow by change the action parser and clean some code. Signed-off-by: Jeff Guo --- v5->v4: no change --- drivers/net/ice/ice_hash.c | 562 +++-- 1 file changed, 355 insertions(+), 207 deletions(-) diff --git a/drivers/net/ice/ice_hash.c b/drivers/net

Re: [dpdk-dev] [PATCH 3/3] ring: use element APIs to implement legacy APIs

2020-07-06 Thread Feifei Wang
Hi, Konstantin, David I'm Feifei Wang from Arm. Sorry to make the following request: Would you please do some ring performance tests of this patch in your platforms at the time you are free? And I want to know whether this patch has a significant impact on other platforms except ARM. Thanks ver

[dpdk-dev] [dpdk-dev v5 3/3] net/iavf: enable some new hash flow

2020-07-06 Thread Jeff Guo
Some new hash flow will be supported to expend the flow hash capability, the input set are the session id for NAT-T ESP protocol, the l3 src/dst and the teid for GTPU_IP protocol. Signed-off-by: Jeff Guo --- v5->v4: no change --- drivers/net/iavf/iavf_hash.c | 76

[dpdk-dev] [dpdk-dev v5 0/3] enable new hash flow for VF

2020-07-06 Thread Jeff Guo
Some new hash flow will be supported to expend the flow hash capability, the input set are the 5 tuple for regular ip pattern and also GTPU inner ip pattern, and the session id for NAT-T ESP protocol, the l3 src/dst and the teid for GTPU_IP protocol. v5->v4: refine the lookup table for eth/vlan fi

[dpdk-dev] [dpdk-dev v5 1/3] net/iavf: refactor for hash flow

2020-07-06 Thread Jeff Guo
Refactor hash flow by change the process of the pattern parser and the action parser, and refine the lookup table for regular IP and GTPU_EH, ETH, and also VLAN. Signed-off-by: Jeff Guo --- v5->v4: fix issue after splitting patch refine the lookup table for ETH and VLAN --- drivers/net/iavf/iavf

[dpdk-dev] [dpdk-dev v5 2/3] net/iavf: enable 5 tuple rss hash

2020-07-06 Thread Jeff Guo
Previous iavf not support 5 tuple hash, this patch aims to enable it for regular ip pattern and also GTPU inner ip pattern, the 5 tuple involves ip src and ip dst, tcp sport and tcp dport, udp sport and udp dport and protocol id. Signed-off-by: Jeff Guo --- v5->v4: no change --- drivers/net/iavf

[dpdk-dev] [PATCH v6 2/2] vhost: introduce async enqueue for split ring

2020-07-06 Thread patrick . fu
From: Patrick Fu This patch implements async enqueue data path for split ring. 2 new async data path APIs are defined, by which applications can submit and poll packets to/from async engines. The async engine is either a physical DMA device or it could also be a software emulated backend. The asy

[dpdk-dev] [PATCH v6 1/2] vhost: introduce async enqueue registration API

2020-07-06 Thread patrick . fu
From: Patrick Fu Performing large memory copies usually takes up a major part of CPU cycles and becomes the hot spot in vhost-user enqueue operation. To offload the large copies from CPU to the DMA devices, asynchronous APIs are introduced, with which the CPU just submits copy jobs to the DMA but

[dpdk-dev] [PATCH v6 0/2] introduce asynchronous data path for vhost

2020-07-06 Thread patrick . fu
From: Patrick Fu Performing large memory copies usually takes up a major part of CPU cycles and becomes the hot spot in vhost-user enqueue operation. To offload expensive memory operations from the CPU, this patch set proposes to leverage DMA engines, e.g., I/OAT, a DMA engine in the Intel's proc

Re: [dpdk-dev] [PATCH 1/4] crypto/dpaax_sec: fix inline query for descriptors

2020-07-06 Thread Hemant Agrawal (OSS)
Series- Acked-by: Hemant Agrawal -Original Message- From: Akhil Goyal Sent: Tuesday, July 7, 2020 12:05 AM To: dev@dpdk.org; Hemant Agrawal Cc: Akhil Goyal Subject: [PATCH 1/4] crypto/dpaax_sec: fix inline query for descriptors The maximum length of job descriptor which is formed is

Re: [dpdk-dev] [PATCH 1/3] rawdev: allow calling info function for unknown rawdevs

2020-07-06 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH 2/3] rawdev: return NUMA socket id to the user

2020-07-06 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH 3/3] rawdev: fix missing dump function in map file

2020-07-06 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v2] net/ice: add support for ether type filter on FDIR

2020-07-06 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Tuesday, July 7, 2020 11:21 AM > To: Zhang, Qi Z ; Xing, Beilei > Cc: dev@dpdk.org; Cao, Yahui ; Su, Simei > > Subject: [PATCH v2] net/ice: add support for ether type filter on FDIR > > This patch enables FDIR with input set ethertype. >

Re: [dpdk-dev] [PATCH v3 00/27] update e1000 base code

2020-07-06 Thread Zhang, Qi Z
> -Original Message- > From: Zhao1, Wei > Sent: Tuesday, July 7, 2020 10:53 AM > To: Sun, GuinanX ; dev@dpdk.org > Cc: Guo, Jia ; Zhang, Qi Z > Subject: RE: [PATCH v3 00/27] update e1000 base code > > > > > -Original Message- > > From: Sun, GuinanX > > Sent: Monday, July 6,

Re: [dpdk-dev] [PATCH v3 7/8] vdpa/ifc: enable status protocol feature

2020-07-06 Thread Xia, Chenbo
> -Original Message- > From: Adrian Moreno > Sent: Monday, July 6, 2020 7:25 PM > To: dev@dpdk.org; Xia, Chenbo ; Ye, Xiaolong > ; shah...@mellanox.com; ma...@mellanox.com; > maxime.coque...@redhat.com; Wang, Xiao W ; > viachesl...@mellanox.com > Cc: jasow...@redhat.com; l...@redhat.com

Re: [dpdk-dev] [PATCH v3 5/8] vhost: add support for virtio status

2020-07-06 Thread Xia, Chenbo
> -Original Message- > From: Adrian Moreno > Sent: Monday, July 6, 2020 7:25 PM > To: dev@dpdk.org; Xia, Chenbo ; Ye, Xiaolong > ; shah...@mellanox.com; ma...@mellanox.com; > maxime.coque...@redhat.com; Wang, Xiao W ; > viachesl...@mellanox.com > Cc: jasow...@redhat.com; l...@redhat.com

Re: [dpdk-dev] [PATCH v3 8/8] vdpa/mlx5: enable status protocol feature

2020-07-06 Thread Xia, Chenbo
> -Original Message- > From: Adrian Moreno > Sent: Monday, July 6, 2020 7:25 PM > To: dev@dpdk.org; Xia, Chenbo ; Ye, Xiaolong > ; shah...@mellanox.com; ma...@mellanox.com; > maxime.coque...@redhat.com; Wang, Xiao W ; > viachesl...@mellanox.com > Cc: jasow...@redhat.com; l...@redhat.com

Re: [dpdk-dev] [PATCH v3 6/8] vhost: add support for virtio get status message

2020-07-06 Thread Xia, Chenbo
> -Original Message- > From: Adrian Moreno > Sent: Monday, July 6, 2020 7:25 PM > To: dev@dpdk.org; Xia, Chenbo ; Ye, Xiaolong > ; shah...@mellanox.com; ma...@mellanox.com; > maxime.coque...@redhat.com; Wang, Xiao W ; > viachesl...@mellanox.com > Cc: jasow...@redhat.com; l...@redhat.com;

Re: [dpdk-dev] [PATCH v3 4/8] vhost: check vDPA configuration succeed

2020-07-06 Thread Xia, Chenbo
> -Original Message- > From: Adrian Moreno > Sent: Monday, July 6, 2020 7:25 PM > To: dev@dpdk.org; Xia, Chenbo ; Ye, Xiaolong > ; shah...@mellanox.com; ma...@mellanox.com; > maxime.coque...@redhat.com; Wang, Xiao W ; > viachesl...@mellanox.com > Cc: jasow...@redhat.com; l...@redhat.com

Re: [dpdk-dev] [PATCH v3 3/8] vhost: make some vDPA callbacks mandatory

2020-07-06 Thread Xia, Chenbo
> -Original Message- > From: Adrian Moreno > Sent: Monday, July 6, 2020 7:25 PM > To: dev@dpdk.org; Xia, Chenbo ; Ye, Xiaolong > ; shah...@mellanox.com; ma...@mellanox.com; > maxime.coque...@redhat.com; Wang, Xiao W ; > viachesl...@mellanox.com > Cc: jasow...@redhat.com; l...@redhat.com

Re: [dpdk-dev] [PATCH v3 2/8] vhost: refactor Virtio ready check

2020-07-06 Thread Xia, Chenbo
> -Original Message- > From: Adrian Moreno > Sent: Monday, July 6, 2020 7:25 PM > To: dev@dpdk.org; Xia, Chenbo ; Ye, Xiaolong > ; shah...@mellanox.com; ma...@mellanox.com; > maxime.coque...@redhat.com; Wang, Xiao W ; > viachesl...@mellanox.com > Cc: jasow...@redhat.com; l...@redhat.com

[dpdk-dev] [PATCH v2] net/ice: add support for ether type filter on FDIR

2020-07-06 Thread Simei Su
This patch enables FDIR with input set ethertype. Signed-off-by: Simei Su --- v2: * Refine ether layer judgement logic. --- drivers/net/ice/ice_fdir_filter.c | 51 --- 1 file changed, 42 insertions(+), 9 deletions(-) diff --git a/drivers/net/ice/ice_fdir_fil

Re: [dpdk-dev] [PATCH v3 1/8] vhost: fix virtio ready flag check

2020-07-06 Thread Xia, Chenbo
> -Original Message- > From: Adrian Moreno > Sent: Monday, July 6, 2020 7:25 PM > To: dev@dpdk.org; Xia, Chenbo ; Ye, Xiaolong > ; shah...@mellanox.com; ma...@mellanox.com; > maxime.coque...@redhat.com; Wang, Xiao W ; > viachesl...@mellanox.com > Cc: jasow...@redhat.com; l...@redhat.com;

Re: [dpdk-dev] [PATCH 1/3] ring: remove experimental tag for ring reset API

2020-07-06 Thread Feifei Wang
> -Original Message- > From: Kinsella, Ray > Sent: 2020年7月6日 14:23 > To: Honnappa Nagarahalli ; Feifei Wang > ; Konstantin Ananyev > ; Neil Horman > Cc: dev@dpdk.org; nd > Subject: Re: [PATCH 1/3] ring: remove experimental tag for ring reset API > > > > On 03/07/2020 19:46, Honnappa

Re: [dpdk-dev] [PATCH] net/ice: fix GTPU/PPPoE packets with no hash value

2020-07-06 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, July 7, 2020 10:30 AM > To: Su, Simei > Cc: dev@dpdk.org; Zhao1, Wei ; Jiang, JunyuX > ; Lu, Nannan > Subject: RE: [PATCH] net/ice: fix GTPU/PPPoE packets with no hash value > > > > > -Original Message- > > From: Su,

Re: [dpdk-dev] [PATCH v3 00/27] update e1000 base code

2020-07-06 Thread Zhao1, Wei
> -Original Message- > From: Sun, GuinanX > Sent: Monday, July 6, 2020 4:12 PM > To: dev@dpdk.org > Cc: Guo, Jia ; Zhao1, Wei ; Sun, > GuinanX > Subject: [PATCH v3 00/27] update e1000 base code > > update e1000 base code. > > source code of e1000 driver: > cid-gigabit.2020.06.05.tar.

Re: [dpdk-dev] [PATCH v2 6/6] net/mlx5: replace restrict keyword with rte restrict

2020-07-06 Thread Ruifeng Wang
> -Original Message- > From: Joyce Kong > Sent: Monday, July 6, 2020 3:50 PM > To: maxime.coque...@redhat.com; jer...@marvell.com; > zhihong.w...@intel.com; xiaolong...@intel.com; beilei.x...@intel.com; > jia@intel.com; john.mcnam...@intel.com; ma...@mellanox.com; > shah...@mellanox.

Re: [dpdk-dev] [PATCH v2 5/6] examples/performance-thread: replace restrict with wrapper

2020-07-06 Thread Ruifeng Wang
> -Original Message- > From: Joyce Kong > Sent: Monday, July 6, 2020 3:49 PM > To: maxime.coque...@redhat.com; jer...@marvell.com; > zhihong.w...@intel.com; xiaolong...@intel.com; beilei.x...@intel.com; > jia@intel.com; john.mcnam...@intel.com; ma...@mellanox.com; > shah...@mellanox.

Re: [dpdk-dev] [PATCH v2 4/6] net/i40e: replace restrict with rte restrict

2020-07-06 Thread Ruifeng Wang
> -Original Message- > From: Joyce Kong > Sent: Monday, July 6, 2020 3:49 PM > To: maxime.coque...@redhat.com; jer...@marvell.com; > zhihong.w...@intel.com; xiaolong...@intel.com; beilei.x...@intel.com; > jia@intel.com; john.mcnam...@intel.com; ma...@mellanox.com; > shah...@mellanox.

Re: [dpdk-dev] [PATCH v2 1/6] lib/eal: add a common wrapper for restricted pointers

2020-07-06 Thread Ruifeng Wang
> -Original Message- > From: Joyce Kong > Sent: Monday, July 6, 2020 3:49 PM > To: maxime.coque...@redhat.com; jer...@marvell.com; > zhihong.w...@intel.com; xiaolong...@intel.com; beilei.x...@intel.com; > jia@intel.com; john.mcnam...@intel.com; ma...@mellanox.com; > shah...@mellanox.

Re: [dpdk-dev] [PATCH] add flow shared action API

2020-07-06 Thread Jerin Jacob
On Mon, Jul 6, 2020 at 7:02 PM Andrey Vesnovaty wrote: > > Hi, Jerin. Hi Ori and Andrey, > > Please see below Ori's suggestion below to implement your > rte_flow_action_update() idea > with some API changes of rte_flow_shared_action_xxx API changes. > > On Mon, Jul 6, 2020 at 3:28 PM Ori Kam

Re: [dpdk-dev] [PATCH] net/ice: fix GTPU/PPPoE packets with no hash value

2020-07-06 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Tuesday, July 7, 2020 9:38 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Zhao1, Wei ; Jiang, JunyuX > ; Lu, Nannan ; Su, Simei > > Subject: [PATCH] net/ice: fix GTPU/PPPoE packets with no hash value > > When RSS init, because of profile overl

Re: [dpdk-dev] [PATCH v2 6/6] net/mlx5: replace restrict keyword with rte restrict

2020-07-06 Thread Phil Yang
> -Original Message- > From: Joyce Kong > Sent: Monday, July 6, 2020 3:50 PM > To: maxime.coque...@redhat.com; jer...@marvell.com; > zhihong.w...@intel.com; xiaolong...@intel.com; beilei.x...@intel.com; > jia@intel.com; john.mcnam...@intel.com; ma...@mellanox.com; > shah...@mellanox.co

Re: [dpdk-dev] [PATCH v2 5/6] examples/performance-thread: replace restrict with wrapper

2020-07-06 Thread Phil Yang
> -Original Message- > From: Joyce Kong > Sent: Monday, July 6, 2020 3:49 PM > To: maxime.coque...@redhat.com; jer...@marvell.com; > zhihong.w...@intel.com; xiaolong...@intel.com; beilei.x...@intel.com; > jia@intel.com; john.mcnam...@intel.com; ma...@mellanox.com; > shah...@mellanox.co

Re: [dpdk-dev] [PATCH v2 4/6] net/i40e: replace restrict with rte restrict

2020-07-06 Thread Phil Yang
> -Original Message- > From: Joyce Kong > Sent: Monday, July 6, 2020 3:49 PM > To: maxime.coque...@redhat.com; jer...@marvell.com; > zhihong.w...@intel.com; xiaolong...@intel.com; beilei.x...@intel.com; > jia@intel.com; john.mcnam...@intel.com; ma...@mellanox.com; > shah...@mellanox.co

Re: [dpdk-dev] [PATCH v2 1/6] lib/eal: add a common wrapper for restricted pointers

2020-07-06 Thread Phil Yang
> -Original Message- > From: Joyce Kong > Sent: Monday, July 6, 2020 3:49 PM > To: maxime.coque...@redhat.com; jer...@marvell.com; > zhihong.w...@intel.com; xiaolong...@intel.com; beilei.x...@intel.com; > jia@intel.com; john.mcnam...@intel.com; ma...@mellanox.com; > shah...@mellanox.co

Re: [dpdk-dev] [PATCH] net/i40e: fix getting eeprom information

2020-07-06 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Pavel Ivashchenko > Sent: Thursday, July 2, 2020 8:37 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/i40e: fix getting eeprom information > > Signed-off-by: Pavel Ivashchenko Acked-by: Qi Zhang Applied to

Re: [dpdk-dev] [PATCH v2 1/6] lib/eal: add a common wrapper for restricted pointers

2020-07-06 Thread Jerin Jacob
On Mon, Jul 6, 2020 at 1:19 PM Joyce Kong wrote: > > The 'restrict' keyword is recognized in C99, while type qulifier > '__restrict' compiles ok in C with all language levels. This patch > is to add a wrapper defining '__rte_restrict' with 'restrict' and > '__restrict' to be supported by all compi

Re: [dpdk-dev] [PATCH v2 2/2] eal/arm: change inline functions to always inline

2020-07-06 Thread Jerin Jacob
On Sat, Jun 27, 2020 at 2:05 AM Honnappa Nagarahalli wrote: > > Change the inline functions to use __rte_always_inline to be > consistent with rest of the inline functions. > > Signed-off-by: Honnappa Nagarahalli Acked-by: Jerin Jacob > --- > lib/librte_eal/arm/include/rte_cycles_64.h | 13

[dpdk-dev] [RFC PATCH] net/bonding: change the state machine to defaulted

2020-07-06 Thread Liyunqi (FENIX)
A dpdk bonding 802.3ad network as follows: +--+ +---+ |dpdk lacp |slave1 <--> port1|switch lacp| | |slave2 <--> port2| | +--+ +---+ If a fiber optic go wrong about single pass during normal runing lik

[dpdk-dev] [PATCH] net/ice: fix GTPU/PPPoE packets with no hash value

2020-07-06 Thread Simei Su
When RSS init, because of profile overlap, the GTPU_IPV4 packets don't hit GTPU_INNER_IPV4 profile which causes no hash value. Because of no PPPoE profile, the PPPoE packets also has no hash value. This patch solves this issue by pulling GTPU_IPV4 profile into inner ipv4 group and creating related

Re: [dpdk-dev] [PATCH 1/2] eal/windows: Add needed calls to detect vdev PMD

2020-07-06 Thread Narcisa Ana Maria Vasile
On Wed, Jun 24, 2020 at 05:56:20PM +0300, tal...@mellanox.com wrote: > From: Tal Shnaiderman > > Add needed function calls in rte_eal_init to detect vdev PMD. > > eal_option_device_parse() > rte_service_init() > rte_bus_probe() > > Signed-off-by: Tal Shnaiderman > --- > lib/librte_eal/common/

Re: [dpdk-dev] [PATCH] net/ice: fix incorrect error log in generic flow

2020-07-06 Thread Zhang, Qi Z
> -Original Message- > From: Wang, ShougangX > Sent: Monday, July 6, 2020 5:37 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Yang, Qiming > ; Wang, ShougangX ; > sta...@dpdk.org > Subject: [PATCH] net/ice: fix incorrect error log in generic flow > > When create a rss rule with void action,

Re: [dpdk-dev] [PATCH v2 0/3] net/ice: enable advanced RSS for PPPoE

2020-07-06 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Thursday, July 2, 2020 1:12 PM > To: Zhang, Qi Z ; Xing, Beilei > Cc: dev@dpdk.org; Guo, Jia ; Guo, Junfeng > ; Su, Simei > Subject: [PATCH v2 0/3] net/ice: enable advanced RSS for PPPoE > > [PATCH v2 1/3] ethdev: add rss offload types.

Re: [dpdk-dev] [PATCH v2 0/3] Support librte_mbuf on Windows

2020-07-06 Thread Thomas Monjalon
> Tal Shnaiderman (3): > eal: correct OS headers in rte_byteorder.h > eal: export needed functions for mbuf > mbuf: build on Windows Applied, thanks

[dpdk-dev] [PATCH v4 3/3] doc: update deprecation of CIO barrier APIs

2020-07-06 Thread Honnappa Nagarahalli
rte_cio_*mb APIs will be deprecated in 20.11 release. Signed-off-by: Honnappa Nagarahalli Acked-by: Jerin Jacob --- doc/guides/rel_notes/deprecation.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index d

[dpdk-dev] [PATCH v4 1/3] eal: adjust barriers for IO on Armv8-a

2020-07-06 Thread Honnappa Nagarahalli
Change the barrier APIs for IO to reflect that Armv8-a is other-multi-copy atomicity memory model. Armv8-a memory model has been strengthened to require other-multi-copy atomicity. This property requires memory accesses from an observer to become visible to all other observers simultaneously [3].

[dpdk-dev] [PATCH v4 2/3] doc: update armv8-a IO barrier changes

2020-07-06 Thread Honnappa Nagarahalli
Updated the use of DMB instruction in rte_*mb APIs for Armv8-a. Signed-off-by: Honnappa Nagarahalli Acked-by: Jerin Jacob --- doc/guides/rel_notes/release_20_08.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/release_20_08.rst b/doc/guides/rel_notes/release_

Re: [dpdk-dev] [PATCH 1/2] eal/windows: Add needed calls to detect vdev PMD

2020-07-06 Thread Thomas Monjalon
Windows team, I am expecting at least 2 reviews on this patch. 24/06/2020 16:56, tal...@mellanox.com: > From: Tal Shnaiderman > > Add needed function calls in rte_eal_init to detect vdev PMD. > > eal_option_device_parse() > rte_service_init() > rte_bus_probe() > > Signed-off-by: Tal Shnaiderma

[dpdk-dev] [PATCH v3 1/3] app/testpmd: clock gettime call in throughput calculation

2020-07-06 Thread Honnappa Nagarahalli
The throughput calculation requires a counter that measures passing of time. However, the kernel saves and restores the PMU state when a thread is unscheduled and scheduled. This ensures that the PMU cycles are not counted towards a thread that is not scheduled. Hence, when RTE_ARM_EAL_RDTSC_USE_PM

[dpdk-dev] [PATCH v3 3/3] app/testpmd: enable empty polls in burst stats

2020-07-06 Thread Honnappa Nagarahalli
The number of empty polls provides information about available CPU head room in the presence of continuous polling. Signed-off-by: Honnappa Nagarahalli Reviewed-by: Phil Yang Reviewed-by: Ruifeng Wang Reviewed-by: Ferruh Yigit Tested-by: Phil Yang Tested-by: Ali Alnubani --- app/test-pmd/cs

[dpdk-dev] [PATCH v3 2/3] app/testpmd: fix burst percentage calculation

2020-07-06 Thread Honnappa Nagarahalli
The burst % calculation can over flow due to multiplication. Fix the multiplication and increase the size of variables to 64b. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Honnappa Nagarahalli Reviewed-by: Phil Yang Reviewed-by: Ruifeng Wang Reviewed-by: Ferr

Re: [dpdk-dev] [PATCH v7 0/3] build mempool on Windows

2020-07-06 Thread Thomas Monjalon
> Fady Bader (3): > eal: disable function versioning on Windows > mempool: use generic memory management > mempool: mempool build on Windows Applied, thanks

Re: [dpdk-dev] [PATCH v6 00/10] Register non-EAL threads as lcore

2020-07-06 Thread Ananyev, Konstantin
Hi David, > OVS and some other applications have been hacking into DPDK internals to > fake EAL threads and avoid performance penalty of only having non-EAL > threads. > > This series proposes to add a new type of lcores and maps those threads > to such lcores. > non-EAL threads won't run the

Re: [dpdk-dev] [PATCH v7 1/3] eal: disable function versioning on Windows

2020-07-06 Thread Thomas Monjalon
06/07/2020 14:22, Bruce Richardson: > On Mon, Jul 06, 2020 at 02:32:39PM +0300, Fady Bader wrote: > > Function versioning implementation is not supported by Windows. > > Function versioning is disabled on Windows. > > > > Signed-off-by: Fady Bader > > --- > > doc/guides/windows_gsg/intro.rst | 4

Re: [dpdk-dev] [PATCH v7] sched: make RED scaling configurable

2020-07-06 Thread Thomas Monjalon
08/04/2019 15:29, Dumitrescu, Cristian: > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > 08/04/2019 10:24, Alan Dewar: > > > On Fri, Apr 5, 2019 at 4:36 PM Ferruh Yigit > > > wrote: > > > > On 1/16/2018 4:07 PM, alangordonde...@gmail.com wrote: > > > > > From: Alan Dewar > > > > > > > >

Re: [dpdk-dev] [PATCH v2] sched: fix port time rounding error

2020-07-06 Thread Thomas Monjalon
> > 25/06/2020 11:59, alangordonde...@gmail.com: > > > From: Alan Dewar > > > > > > The QoS scheduler works off port time that is computed from the number > > > of CPU cycles that have elapsed since the last time the port was > > > polled. It divides the number of elapsed cycles to calculate how

Re: [dpdk-dev] [PATCH 01/20] regex/mlx5: add RegEx PMD layer and mlx5 driver

2020-07-06 Thread Thomas Monjalon
Dim 05 juil 2020, à 11:23, Ori Kam a écrit : > +++ b/drivers/regex/mlx5/Makefile > +# memseg walk is not part of stable API > +CFLAGS += -DALLOW_EXPERIMENTAL_API Not needed > +# DEBUG which is usually provided on the command-line may enable > +# CONFIG_RTE_LIBRTE_MLX5_DEBUG. > +ifeq ($(DEBUG),1)

Re: [dpdk-dev] [PATCH v5 0/4] add RegEx class

2020-07-06 Thread Thomas Monjalon
06/07/2020 19:36, Ori Kam: > Jerin Jacob (1): > regexdev: introduce regexdev subsystem > > Ori Kam (3): > regexdev: add regex core h file > regexdev: add regexdev core functions > regexdev: implement regex rte level functions Applied with some details fixed, thanks

Re: [dpdk-dev] [PATCH v6 02/25] ethdev: add a link status text representation

2020-07-06 Thread Stephen Hemminger
On Mon, 6 Jul 2020 23:37:16 +0300 Ivan Dyukov wrote: > + /* Error cases */ > + default: > + return -1; > + Since very little of the code is checking for errors, why return on bad format. Why not do what printf() does and ignore

[dpdk-dev] [PATCH v4 4/4] doc: update release notes

2020-07-06 Thread Ajit Khaparde
Update release notes indicating vector mode support for ARM CPUs in Broadcom bnxt PMD. Signed-off-by: Ajit Khaparde --- doc/guides/rel_notes/release_20_08.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/rel_notes/release_20_08.rst b/doc/guides/rel_notes/release_20_08.rst in

[dpdk-dev] [PATCH v4 0/4] net/bnxt: vector mode enhancements

2020-07-06 Thread Ajit Khaparde
v2->v3: - update bnxt doc - update 20.08 release notes v3->v4: - rebase against latest code base Ajit Khaparde (1): doc: update release notes Lance Richardson (3): net/bnxt: disable vector receive for mark action net/bnxt: support Rx/Tx burst mode info net/bnxt: add ARM64 vector suppo

[dpdk-dev] [PATCH v4 2/4] net/bnxt: support Rx/Tx burst mode info

2020-07-06 Thread Ajit Khaparde
From: Lance Richardson Retrieve burst mode options according to the selected Rx/Tx burst function name. Signed-off-by: Lance Richardson Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- doc/guides/nics/features/bnxt.ini | 1 + drivers/net/bnxt/bnxt_ethdev.c| 46 +

[dpdk-dev] [PATCH v4 3/4] net/bnxt: add ARM64 vector support

2020-07-06 Thread Ajit Khaparde
From: Lance Richardson Add bnxt vector PMD support using NEON SIMD instructions. Signed-off-by: Lance Richardson Reviewed-by: Ajit Khaparde Reviewed-by: Ruifeng Wang --- doc/guides/nics/bnxt.rst| 6 +- drivers/net/bnxt/Makefile | 3 + drivers/net/bnxt/bnxt_e

[dpdk-dev] [PATCH v4 1/4] net/bnxt: disable vector receive for mark action

2020-07-06 Thread Ajit Khaparde
From: Lance Richardson The bnxt vector mode receive handler does not support the rte_flow 'mark' action. Since we cannot know in advance whether this action will be required, add support for dynamically switching from vector to non-vector receive when the first flow create request with a mark act

Re: [dpdk-dev] [PATCH v6 03/25] app: UNKNOWN link speed print format

2020-07-06 Thread Stephen Hemminger
On Mon, 6 Jul 2020 23:37:17 +0300 Ivan Dyukov wrote: > + rte_eth_link_printf("\t -- link speed: %M, duplex: %D," > + " auto neg: %A, status: %S\n", Don't break lines in middle of strings. It makes it hard for users who are doing grep to l

Re: [dpdk-dev] [PATCH v6 02/25] ethdev: add a link status text representation

2020-07-06 Thread Stephen Hemminger
On Mon, 6 Jul 2020 23:37:16 +0300 Ivan Dyukov wrote: > static int > +rte_eth_link_strf_parser(char *str, size_t len, const char *const fmt, > +struct rte_eth_link *link) The link arg should be const. > +{ > + size_t offset = 0; > + const char *fmt_cur = fmt; > +

Re: [dpdk-dev] [PATCH v2] sched: fix port time rounding error

2020-07-06 Thread Singh, Jasvinder
> -Original Message- > From: Thomas Monjalon > Sent: Sunday, July 5, 2020 9:42 PM > To: Dumitrescu, Cristian ; Singh, Jasvinder > > Cc: dev@dpdk.org; Alan Dewar ; > alangordonde...@gmail.com > Subject: Re: [dpdk-dev] [PATCH v2] sched: fix port time rounding error > > Cristian, Jasvind

[dpdk-dev] [PATCH v6 10/10] eal: add multiprocess disable API

2020-07-06 Thread David Marchand
The multiprocess feature has been implicitly enabled so far. Applications might want to explicitly disable like when using the non-EAL threads registration API. Signed-off-by: David Marchand --- Changes since v5: - fixed windows build, --- app/test/test_mp_secondary.c | 7 +++

[dpdk-dev] [PATCH v6 08/10] eal: add lcore iterators

2020-07-06 Thread David Marchand
Add a helper to iterate all lcores. The iterator callback is read-only wrt the lcores list. Implement a dump function on top of this for debugging. Signed-off-by: David Marchand Reviewed-by: Olivier Matz --- Changes since v2: - added rte_lcore_dump calls in unit test, for basic check, Changes

[dpdk-dev] [PATCH v6 09/10] mempool/bucket: handle non-EAL lcores

2020-07-06 Thread David Marchand
Convert to new lcore API to support non-EAL lcores. Signed-off-by: David Marchand Reviewed-by: Andrew Rybchenko --- Changes since v3: - addressed Andrew comments, --- drivers/mempool/bucket/rte_mempool_bucket.c | 130 1 file changed, 81 insertions(+), 49 deletions(-) diff

[dpdk-dev] [PATCH v6 07/10] eal: add lcore init callbacks

2020-07-06 Thread David Marchand
DPDK components and applications can have their say when a new lcore is initialized. For this, they can register a callback for initializing and releasing their private data. Signed-off-by: David Marchand --- Changes since v4: - fixed leak on callback register failure, - fixed nits from Konstanti

[dpdk-dev] [PATCH v6 04/10] eal: introduce thread uninit helper

2020-07-06 Thread David Marchand
This is a preparation step for dynamically unregistering threads. Since we explicitly allocate a per thread trace buffer in __rte_thread_init, add an internal helper to free this buffer. Signed-off-by: David Marchand --- Changes since v5: - fixed windows build, Changes since v4: - renamed rte_t

[dpdk-dev] [PATCH v6 03/10] eal: introduce thread init helper

2020-07-06 Thread David Marchand
Introduce a helper responsible for initialising the per thread context. We can then have a unified context for EAL and non-EAL threads and remove copy/paste'd OS-specific helpers. Per EAL thread CPU affinity setting is separated from the thread init. It is to accommodate with Windows EAL where CPU

[dpdk-dev] [PATCH v6 05/10] eal: move lcore role code

2020-07-06 Thread David Marchand
For consistency sake, move all lcore role code in the dedicated compilation unit / header. Signed-off-by: David Marchand Reviewed-by: Olivier Matz --- lib/librte_eal/common/eal_common_lcore.c | 11 +++ lib/librte_eal/common/eal_common_thread.c | 11 --- lib/librte_eal/include/rte_eal.h

[dpdk-dev] [PATCH v6 02/10] eal: fix multiple definition of per lcore thread id

2020-07-06 Thread David Marchand
Because of the inline accessor + static declaration in rte_gettid(), we end up with multiple symbols for RTE_PER_LCORE(_thread_id). Each compilation unit will pay a cost when accessing this information for the first time. $ nm build/app/dpdk-testpmd | grep per_lcore__thread_id 0054 d p

[dpdk-dev] [PATCH v6 01/10] eal: relocate per thread symbols to common

2020-07-06 Thread David Marchand
We have per lcore thread symbols scattered in OS implementations but common code relies on them. Move all of them in common. RTE_PER_LCORE(_socket_id) and RTE_PER_LCORE(_cpuset) have public accessors and are not exported through the library map, they can be made static. Signed-off-by: David March

[dpdk-dev] [PATCH v6 00/10] Register non-EAL threads as lcore

2020-07-06 Thread David Marchand
OVS and some other applications have been hacking into DPDK internals to fake EAL threads and avoid performance penalty of only having non-EAL threads. This series proposes to add a new type of lcores and maps those threads to such lcores. non-EAL threads won't run the DPDK eal mainloop. As a cons

[dpdk-dev] [PATCH v6 06/10] eal: register non-EAL threads as lcores

2020-07-06 Thread David Marchand
DPDK allows calling some part of its API from a non-EAL thread but this has some limitations. OVS (and other applications) has its own thread management but still want to avoid such limitations by hacking RTE_PER_LCORE(_lcore_id) and faking EAL threads potentially unknown of some DPDK component. I

[dpdk-dev] [PATCH v6 22/25] example/performance*: new link status print format

2020-07-06 Thread Ivan Dyukov
Add usage of rte_eth_link_strf function to example applications Signed-off-by: Ivan Dyukov --- examples/performance-thread/l3fwd-thread/main.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-

[dpdk-dev] [PATCH v6 23/25] examples/qos_sched: new link status print format

2020-07-06 Thread Ivan Dyukov
Add usage of rte_eth_link_strf function to example applications Signed-off-by: Ivan Dyukov --- examples/qos_sched/init.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/examples/qos_sched/init.c b/examples/qos_sched/init.c index 9626c15b8..4bb975fc9 100644 --- a/ex

[dpdk-dev] [PATCH v6 25/25] examples/vm_power_*: new link status print format

2020-07-06 Thread Ivan Dyukov
Add usage of rte_eth_link_strf function to example applications Signed-off-by: Ivan Dyukov --- examples/vm_power_manager/main.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/examples/vm_power_manager/main.c b/examples/vm_power_manager/main.c index 273bfec29..

[dpdk-dev] [PATCH v6 21/25] examples/ntb: new link status print format

2020-07-06 Thread Ivan Dyukov
Add usage of rte_eth_link_strf function to example applications Signed-off-by: Ivan Dyukov --- examples/ntb/ntb_fwd.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/ntb/ntb_fwd.c b/examples/ntb/ntb_fwd.c index eba8ebf9f..84fe374c4 100644 --- a/examples/nt

[dpdk-dev] [PATCH v6 24/25] examples/server_nod*: new link status print format

2020-07-06 Thread Ivan Dyukov
Add usage of rte_eth_link_strf function to example applications Signed-off-by: Ivan Dyukov --- examples/server_node_efd/server/init.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/examples/server_node_efd/server/init.c b/examples/server_node_efd/server/ini

[dpdk-dev] [PATCH v6 20/25] examples/multi_proc*: new link status print format

2020-07-06 Thread Ivan Dyukov
Add usage of rte_eth_link_strf function to example applications Signed-off-by: Ivan Dyukov --- .../client_server_mp/mp_server/init.c | 14 +- examples/multi_process/symmetric_mp/main.c | 12 2 files changed, 9 insertions(+), 17 deletions(-) diff --g

[dpdk-dev] [PATCH v6 19/25] examples/l3fwd-power: new link status print format

2020-07-06 Thread Ivan Dyukov
Add usage of rte_eth_link_strf function to example applications Signed-off-by: Ivan Dyukov --- examples/l3fwd-power/main.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index 9db94ce04..ba6bab4a5 100644

[dpdk-dev] [PATCH v6 17/25] examples/l2fwd: new link status print format

2020-07-06 Thread Ivan Dyukov
Add usage of rte_eth_link_strf function to example applications Signed-off-by: Ivan Dyukov --- examples/l2fwd/main.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index e04c601b5..9d5f7307e 100644 --- a/examples/l2f

[dpdk-dev] [PATCH v6 16/25] examples/l2fwd-event: new link status print format

2020-07-06 Thread Ivan Dyukov
Add usage of rte_eth_link_strf function to example applications Signed-off-by: Ivan Dyukov --- examples/l2fwd-event/main.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/examples/l2fwd-event/main.c b/examples/l2fwd-event/main.c index 4fe500333..3e6d1c311 100644

  1   2   3   4   >