[dpdk-dev] Is there a memleak in dpdk-19.11.1 ?

2020-07-07 Thread 王培辉
Hello, It seems there is a memory leak in dpdk-19.11.1. everything is going fine while I enabled dpdk in ovs-vswitchd and created netdev bridge, but if I add dpdk ports to netdev bridge, ovs-vswitchd starts to consume memory until the system runs out of memory, I’m using ovs-2.13.0

Re: [dpdk-dev] [PATCH] eal/windows: detect insufficient privileges for hugepages

2020-07-07 Thread Tal Shnaiderman
> Subject: Re: [PATCH] eal/windows: detect insufficient privileges for > hugepages > > On Tue, 7 Jul 2020 16:45:07 -0700, Ranjit Menon wrote: > > On 7/7/2020 1:22 PM, Dmitry Kozlyuk wrote: > > > AdjustTokenPrivileges() succeeds even if no requested privileges > > > have been granted; this behavior

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

2020-07-07 Thread Guinan Sun
This patch enables cloud filter for IPv4_UDP/IPv4_TCP/IPv4_SCTP and IPv6_UDP/IPv6_TCP/IPv6_SCTP with SRC port only or DST port only. This supports different filter types for the same packet type. E.g. one IPv4_UDP rules with SRC port only and another IPv4_UDP rule with DST port only. Signed-off-by

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

2020-07-07 Thread Xing, Beilei
> -Original Message- > From: Sun, GuinanX > Sent: Wednesday, July 8, 2020 11:12 AM > To: dev@dpdk.org > Cc: Xing, Beilei ; Guo, Jia ; Sun, > GuinanX > Subject: [PATCH v4] net/i40e: support cloud filter with L4 port > > This patch enables cloud filter for IPv4_UDP/IPv4_TCP/IPv4_SCTP wi

Re: [dpdk-dev] [PATCH] net/i40e: i40e FDIR update rate optimization

2020-07-07 Thread Xing, Beilei
> -Original Message- > From: Sun, Chenmin > Sent: Saturday, June 13, 2020 2:00 AM > To: Zhang, Qi Z ; Xing, Beilei ; > Wu, Jingjing > Cc: dev@dpdk.org; Sun, Chenmin > Subject: [PATCH] net/i40e: i40e FDIR update rate optimization > > From: Chenmin Sun > > This patch optimized the fd

Re: [dpdk-dev] [PATCH 2/2] eal: use c11 atomics for interrupt status

2020-07-07 Thread Honnappa Nagarahalli
> Subject: [PATCH 2/2] eal: use c11 atomics for interrupt status nit, C11 atomic built-ins ^^ > > The event status is defined as a volatile variable and shared between threads. > Use c11 atomics with explicit ordering instead of rte_atomic ops which nit, ^^ same

Re: [dpdk-dev] [PATCH 1/2] eal: remove redundant code

2020-07-07 Thread Phil Yang
> -Original Message- > From: Honnappa Nagarahalli > Sent: Wednesday, July 8, 2020 1:15 PM > To: Phil Yang ; dev@dpdk.org > Cc: d...@linux.vnet.ibm.com; Ruifeng Wang ; nd > ; shah...@mellanox.com; sta...@dpdk.org; Honnappa > Nagarahalli ; nd > Subject: RE: [PATCH 1/2] eal: remove redundant

Re: [dpdk-dev] [PATCH 1/2] eal: remove redundant code

2020-07-07 Thread Honnappa Nagarahalli
> Subject: [PATCH 1/2] eal: remove redundant code > > The event status has been cleaned up by the CAS operation when we free > the event data, so there is no need to set it to invalid after that. > > Fixes: 49e2f374e45a ("eal/linux: support external Rx interrupt") > Cc: shah...@mellanox.com > C

Re: [dpdk-dev] [PATCH v2] mbuf: use C11 atomics for refcnt operations

2020-07-07 Thread Phil Yang
> -Original Message- > From: dev On Behalf Of Phil Yang > Sent: Tuesday, July 7, 2020 6:11 PM > To: david.march...@redhat.com; dev@dpdk.org > Cc: d...@linux.vnet.ibm.com; Honnappa Nagarahalli > ; olivier.m...@6wind.com; Ruifeng Wang > ; nd > Subject: [dpdk-dev] [PATCH v2] mbuf: use C11 at

[dpdk-dev] [PATCH v2] lib/librte_timer:fix corruption with reset

2020-07-07 Thread Sarosh Arif
If the user tries to reset/stop some other timer in it's callback function, which is also about to expire, using rte_timer_reset_sync/rte_timer_stop_sync the application goes into an infinite loop. This happens because rte_timer_reset_sync/rte_timer_stop_sync loop until the timer resets/stops an

Re: [dpdk-dev] [PATCH v2] mbuf: use C11 atomics for refcnt operations

2020-07-07 Thread Phil Yang
> -Original Message- > From: Stephen Hemminger > Sent: Wednesday, July 8, 2020 1:13 AM > To: Phil Yang > Cc: david.march...@redhat.com; dev@dpdk.org; d...@linux.vnet.ibm.com; > Honnappa Nagarahalli ; > olivier.m...@6wind.com; Ruifeng Wang ; nd > > Subject: Re: [dpdk-dev] [PATCH v2] mbuf:

[dpdk-dev] [PATCH] net/ice/base: add SRC MAC field support for FD

2020-07-07 Thread Zhirun Yan
Add src MAC address field support, so that SRC MAC field in L2 can be matched when set Flow Director filter with SRC MAC address. Signed-off-by: Zhirun Yan --- drivers/net/ice/base/ice_fdir.c | 1 + drivers/net/ice/base/ice_fdir.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net

[dpdk-dev] [PATCH v3 0/3] add RSS support for IPv6 prefix

2020-07-07 Thread Junfeng Guo
RSS for IPv6 prefix fields are supported in this patch, so that we can use prefixes instead of full IPv6 address for RSS. These prefixes include the first 32, 48, 64 bits of both SRC and DST IPv6 address. This feature is mainly for NAT64 scenarios. v3: * Code rebase. v2: * Split previous patch in

[dpdk-dev] [PATCH v3 1/3] ethdev: add new RSS types for IPv6 prefix

2020-07-07 Thread Junfeng Guo
This patch defines new RSS offload types for IPv6 prefix with 32, 48, 64 bits of both SRC and DST IPv6 address. Signed-off-by: Junfeng Guo --- lib/librte_ethdev/rte_ethdev.h | 51 ++ 1 file changed, 51 insertions(+) diff --git a/lib/librte_ethdev/rte_ethdev.h b/l

[dpdk-dev] [PATCH v3 3/3] net/ice: add RSS support for IPv6 prefix

2020-07-07 Thread Junfeng Guo
RSS for IPv6 prefix fields are supported in this patch, so that we can use prefixes instead of full IPv6 address for RSS. These prefixes include the first 32, 48, 64 bits of both SRC and DST IPv6 address. Signed-off-by: Junfeng Guo --- drivers/net/ice/ice_hash.c | 207 +++

[dpdk-dev] [PATCH v3 2/3] app/testpmd: support extended RSS offload types

2020-07-07 Thread Junfeng Guo
This patch adds testpmd cmdline support for IPv6 prefix. Signed-off-by: Junfeng Guo --- app/test-pmd/cmdline.c | 6 ++ app/test-pmd/config.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 81c87c8c3..4d4612395 100644 --- a/app/te

[dpdk-dev] [PATCH v4 2/2] net/iavf: add FD support for GTPU with outer IPv4 and IPv6

2020-07-07 Thread Junfeng Guo
Add FDir support for MAC_IPV4_GTPU and MAC_IPV6_GTPU type with outer IPv4/IPv6 address, teid and qfi fields matching. Note that outer IPv4 and IPv6 matching fields here include both SRC & DST of both IPv4 & IPv6. Signed-off-by: Junfeng Guo --- drivers/net/iavf/iavf_fdir.c | 18 ++

[dpdk-dev] [PATCH v4 0/2] add FD support for GTPU with outer IP on PF and VF

2020-07-07 Thread Junfeng Guo
Add FDir support for MAC_IPV6_GTPU type with outer IP address, teid and qfi fields matching for both VF and PF. Note that outer IP matching fields here includes both SRC & DST of both IPv4 & IPv6.: [PATCH v4 1/2] add FD support for GTPU with outer IP on PF [PATCH v4 2/2] add FD support for GTPU wi

[dpdk-dev] [PATCH v4 1/2] net/ice: add FD support for GTPU with outer IPv4 and IPv6

2020-07-07 Thread Junfeng Guo
Add FDir support for MAC_IPV4_GTPU and MAC_IPV6_GTPU type with outer IPv4/IPv6 address, teid and qfi fields matching. Note that outer IPv4 and IPv6 matching fields here include both SRC & DST of both IPv4 & IPv6. Signed-off-by: Junfeng Guo --- drivers/net/ice/ice_fdir_filter.c | 53

Re: [dpdk-dev] [PATCH v6 2/2] ethdev: fix VLAN offloads set if no relative capabilities

2020-07-07 Thread Wei Hu (Xavier)
Hi, Thomas Monjalon & Anatoly Burakov & Heinrich Kuhn & Jerin Jacob & Nithin Dabilpuram & Kiran Kumar K & Rasesh Mody & Shahed Shaikh & Qi Zhang & Xiao Wang. Could you please help to review this patch and give 'Acked-by' if there are no objects. Thanks, Xavier On 2020/7/7 21:38, S

Re: [dpdk-dev] [PATCH v6 2/2] ethdev: fix VLAN offloads set if no relative capabilities

2020-07-07 Thread Wei Hu (Xavier)
Hi, Thomas Monjalon On 2020/7/7 22:11, Thomas Monjalon wrote: 06/07/2020 09:06, Wei Hu (Xavier): Currently, there is a potential problem that calling the API function rte_eth_dev_set_vlan_offload to start VLAN hardware offloads which the driver does not support. If the PMD driver does not supp

Re: [dpdk-dev] [PATCH v4 5/5] app/testpmd: support query RSS config in flow query

2020-07-07 Thread Yang, Qiming
Acke-by: Qiming Yang > -Original Message- > From: Di, ChenxuX > Sent: Wednesday, July 8, 2020 09:19 > To: dev@dpdk.org > Cc: Yang, Qiming ; Di, ChenxuX > > Subject: [PATCH v4 5/5] app/testpmd: support query RSS config in flow query > > This patch support RSS action in flow query. > It

Re: [dpdk-dev] [PATCH v4 3/5] app/testpmd: re-implement commands by using private API

2020-07-07 Thread Yang, Qiming
Acked-by: Qiming Yang > -Original Message- > From: Di, ChenxuX > Sent: Wednesday, July 8, 2020 09:19 > To: dev@dpdk.org > Cc: Yang, Qiming ; Di, ChenxuX > > Subject: [PATCH v4 3/5] app/testpmd: re-implement commands by using > private API > > The legacy filter API will be superseded. T

[dpdk-dev] [PATCH v5 2/2] net/iavf: add RSS support for ipv4 ipv6 mix of GTP

2020-07-07 Thread Junfeng Guo
RSS for GTP with outer & inner ipv4 & ipv6 combination are supported in this patch, so that we can process RSS based on inner 5 tuples or 3 tuples of all the cases below of GTP packets: 1. ipv4 (outer) + ipv4 (inner) 2. ipv4 (outer) + ipv6 (inner) 3. ipv6 (outer) + ipv4 (inn

[dpdk-dev] [PATCH v5 1/2] net/ice: add RSS support for ipv4 ipv6 mix of GTP

2020-07-07 Thread Junfeng Guo
RSS for GTP with outer & inner ipv4 & ipv6 combination are supported in this patch, so that we can process RSS based on inner 5 tuples or 3 tuples of all the cases below of GTP packets: 1. ipv4 (outer) + ipv4 (inner) 2. ipv4 (outer) + ipv6 (inner) 3. ipv6 (outer) + ipv4 (inn

[dpdk-dev] [PATCH v5 0/2] add RSS support for ipv4 ipv6 mix of GTP on PF and VF

2020-07-07 Thread Junfeng Guo
RSS for GTP with outer & inner ipv4 & ipv6 combination are supported in this patchset, so that we can process RSS based on inner 5 tuples or 3 tuples of all the cases below of GTP packets: 1. ipv4 (outer) + ipv4 (inner) 2. ipv4 (outer) + ipv6 (inner) 3. ipv6 (outer) + ipv4 (

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

2020-07-07 Thread Joyce Kong
> -Original Message- > From: David Marchand > Sent: Tuesday, July 7, 2020 10:00 PM > To: Joyce Kong > Cc: Maxime Coquelin ; jer...@marvell.com; > Zhihong Wang ; Xiaolong Ye > ; Beilei Xing ; Jeff Guo > ; Mcnamara, John ; Matan > Azrad ; Shahaf Shuler ; > Viacheslav Ovsiienko ; Honnappa Na

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

2020-07-07 Thread Feifei Wang
> -Original Message- > From: Honnappa Nagarahalli > Sent: 2020年7月8日 0:22 > To: Ananyev, Konstantin ; Feifei Wang > ; d...@linux.vnet.ibm.com > Cc: dev@dpdk.org; nd ; Ruifeng Wang > ; nd ; Honnappa Nagarahalli > ; nd > Subject: RE: [PATCH 3/3] ring: use element APIs to implement legacy

Re: [dpdk-dev] [RFC] example/vhost: add support for vhost async data path

2020-07-07 Thread Jiang, Cheng1
Hi Chenbo, > -Original Message- > From: Xia, Chenbo > Sent: Tuesday, June 23, 2020 9:54 AM > To: Jiang, Cheng1 ; maxime.coque...@redhat.com; > Wang, Zhihong > Cc: dev@dpdk.org; Fu, Patrick ; Liang, Cunming > > Subject: RE: [RFC] example/vhost: add support for vhost async data path > >

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

2020-07-07 Thread Guinan Sun
This patch enables cloud filter for IPv4_UDP/IPv4_TCP/IPv4_SCTP with SRC port only or DST port only. This supports different filter types for the same packet type. E.g. one IPv4_UDP rules with SRC port only and another IPv4_UDP rule with DST port only. Signed-off-by: Guinan Sun --- v4: * Modify r

Re: [dpdk-dev] [PATCH] net/ice: add support for src MAC filter on FDIR

2020-07-07 Thread Zhang, Qi Z
> -Original Message- > From: Yan, Zhirun > Sent: Wednesday, July 8, 2020 6:52 PM > To: Zhang, Qi Z > Cc: Cao, Yahui ; Su, Simei ; > Wang, Xiao W ; dev@dpdk.org; Yan, Zhirun > > Subject: [PATCH] net/ice: add support for src MAC filter on FDIR > > This patch enables FDIR with src mac f

[dpdk-dev] [PATCH] net/ice: add support for src MAC filter on FDIR

2020-07-07 Thread Zhirun Yan
This patch enables FDIR with src mac filter and change the logic for only supporting ether type field without IP pattern. Application may set ether type with IP. It is redundant for flow, ignore ether type except for ICE_FLTR_PTYPE_NON_IP_L2. Also, remove redundant code for checking next_type. Si

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

2020-07-07 Thread Joyce Kong
> -Original Message- > From: David Marchand > Sent: Tuesday, July 7, 2020 9:57 PM > To: Joyce Kong > Cc: Maxime Coquelin ; jer...@marvell.com; > Zhihong Wang ; Xiaolong Ye > ; Beilei Xing ; Jeff Guo > ; Mcnamara, John ; Matan > Azrad ; Shahaf Shuler ; > Viacheslav Ovsiienko ; Honnappa Nag

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

2020-07-07 Thread Ajit Khaparde
From: Lance Richardson Retrieve burst mode options according to the selected Rx/Tx burst function name. Update 20.08 release notes with this information. Signed-off-by: Lance Richardson Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- doc/guides/nics/features/bnxt.ini | 1 + d

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

2020-07-07 Thread Ajit Khaparde
From: Lance Richardson Add bnxt vector PMD support using NEON SIMD instructions. Also update the 20.08 release notes with this information. Signed-off-by: Lance Richardson Reviewed-by: Ajit Khaparde Reviewed-by: Ruifeng Wang --- doc/guides/nics/bnxt.rst| 6 +- doc/guides/re

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

2020-07-07 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

[dpdk-dev] [PATCH v5 0/3] net/bnxt: vector mode enhancements

2020-07-07 Thread Ajit Khaparde
v2->v3: - update bnxt doc - update 20.08 release notes v3->v4: - rebase against latest code base v4->v5: - distribute release notes updates to the patches that adds the feature Lance Richardson (3): net/bnxt: disable vector receive for mark action net/bnxt: support Rx/Tx burst mode info

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

2020-07-07 Thread Ajit Khaparde
On Tue, Jul 7, 2020 at 3:05 PM Ferruh Yigit wrote: > On 7/6/2020 6:26 PM, Ajit Khaparde wrote: > > 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 fil

[dpdk-dev] [PATCH v4 4/5] net/i40e: enable flow query RSS

2020-07-07 Thread Chenxu Di
This patch enables flow query function to get the configuration of the specified rule. Signed-off-by: Chenxu Di Acked-by: Jeff Guo --- doc/guides/rel_notes/release_20_08.rst | 1 + drivers/net/i40e/i40e_flow.c | 49 ++ 2 files changed, 50 insertions(+) diff -

[dpdk-dev] [PATCH v4 3/5] app/testpmd: re-implement commands by using private API

2020-07-07 Thread Chenxu Di
The legacy filter API will be superseded. This patch use private api to change the implementation of commands global_config gre-key-len and show port fdir Signed-off-by: Chenxu Di --- app/test-pmd/cmdline.c | 4 +++ app/test-pmd/config.c | 57 ++ 2 fi

[dpdk-dev] [PATCH v4 5/5] app/testpmd: support query RSS config in flow query

2020-07-07 Thread Chenxu Di
This patch support RSS action in flow query. It can display the RSS configuration of the specified rule. For example: we can create an RSS rule by command "flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp l3-src-only l4-dst-only end queues end func symmetric_toeplitz

[dpdk-dev] [PATCH v4 2/5] net/ixgbe: add private APIs

2020-07-07 Thread Chenxu Di
The legacy filter API will be superseded by rte_flow. There are also several small features which can not be implemented in rte_flow. This patch re-implemented these features as private API. Two APIs are added: rte_pmd_ixgbe_get_fdir_info. rte_pmd_ixgbe_get_fdir_stats. Signed-off-by: Chenxu Di Ac

[dpdk-dev] [PATCH v4 0/5] re-implement legacy filter functions by private API

2020-07-07 Thread Chenxu Di
The legacy filter API will be superseded by rte_flow. There are also several small features which can not be implemented in rte_flow. This patch re-implemented features get_fdir_info, get_fdir_stat and set_gre_key_len as private API. This patch also enable RSS action in flow query. v4: -updated co

[dpdk-dev] [PATCH v4 1/5] net/i40e: add private APIs

2020-07-07 Thread Chenxu Di
The legacy filter API will be superseded by rte_flow. There are also several small features which can not be implemented in rte_flow. This patch re-implemented these features as private API. Three APIs are added: rte_pmd_i40e_get_fdir_info. rte_pmd_i40e_get_fdir_stats. rte_pmd_i40e_set_gre_key_len.

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

2020-07-07 Thread Feifei Wang
Hi, David > -Original Message- > From: David Christensen > Sent: 2020年7月8日 4:07 > To: Ananyev, Konstantin ; Feifei Wang > ; Honnappa Nagarahalli > > Cc: dev@dpdk.org; nd ; Ruifeng Wang > > Subject: Re: [PATCH 3/3] ring: use element APIs to implement legacy APIs > > > > On 7/7/20 7:04

[dpdk-dev] Question about “PCI memorymmap”

2020-07-07 Thread 陈毅强
Hi,ALL We fail to start dpdk in a newly deployed machine.Failed progress works in proc-type=secondary mode..Some logs are shown below = Primary progress: EAL: PCI device :04:00.1 on NUMA socket 0 EAL:

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

2020-07-07 Thread Feifei Wang
Hi, Konstantin Thanks very much for your effort. Feifei > -Original Message- > From: Ananyev, Konstantin > Sent: 2020年7月7日 22:04 > To: Feifei Wang ; Honnappa Nagarahalli > ; d...@linux.vnet.ibm.com > Cc: dev@dpdk.org; nd ; Ruifeng Wang > ; nd > Subject: RE: [PATCH 3/3] ring: use elemen

Re: [dpdk-dev] [PATCH 6/7] cmdline: support Windows

2020-07-07 Thread Dmitry Kozlyuk
On Tue, 30 Jun 2020 02:56:20 +0300, Dmitry Kozlyuk wrote: > On Mon, 29 Jun 2020 08:12:51 +, Tal Shnaiderman wrote: > > > From: Dmitry Kozlyuk > > > Subject: Re: [dpdk-dev] [PATCH 6/7] cmdline: support Windows > > > > > > On Sun, 28 Jun 2020 23:23:11 -0700, Ranjit Menon wrote: [snip] > > >

[dpdk-dev] [PATCH v3 4/4] pmdinfogen: remove C implementation

2020-07-07 Thread Dmitry Kozlyuk
Delete the files no longer used in build process. Keep Neil Horman maintainer of the entire "Driver information" section, only adjust paths. Signed-off-by: Dmitry Kozlyuk --- MAINTAINERS| 2 +- buildtools/pmdinfogen/Makefile | 20 -- buildtools/pmdinfogen/meson.bu

[dpdk-dev] [PATCH v3 0/4] pmdinfogen: rewrite in Python

2020-07-07 Thread Dmitry Kozlyuk
This patchset implements existing pmdinfogen logic in Python, replaces and removes the old code. The goals of rewriting are: * easier maintenance by using a more high-level language, * simpler build process without host application and libelf. Travis CI script is adjusted to install python3-pyelf

[dpdk-dev] [PATCH v3 1/4] pmdinfogen: add Python implementation

2020-07-07 Thread Dmitry Kozlyuk
Using a high-level, interpreted language simplifies maintenance and build process. Furthermore, ELF handling is delegated to pyelftools package. Original logic is kept, the copyright recognizes that. Signed-off-by: Dmitry Kozlyuk --- buildtools/pmdinfogen.py | 194 +++

[dpdk-dev] [PATCH v3 3/4] doc/linux_gsg: require pyelftools for pmdinfogen

2020-07-07 Thread Dmitry Kozlyuk
The package is available on all major distributions. FreeBSD has no system requirements section in its GSG, Windows currently neither uses pmdinfogen not is supported by it. Signed-off-by: Dmitry Kozlyuk --- doc/guides/linux_gsg/sys_reqs.rst | 6 ++ 1 file changed, 6 insertions(+) diff --gi

[dpdk-dev] [PATCH v3 2/4] build: use Python pmdinfogen

2020-07-07 Thread Dmitry Kozlyuk
Like for other build scripts, use Python interpreter to run pmdinfogen. Adjust wrapper script accordingly and also don't suppress stderr from ar and pmdinfogen. Add python3-pyelftools to CI configuration. Signed-off-by: Dmitry Kozlyuk --- .travis.yml | 2 +- GNUmakefile

Re: [dpdk-dev] [PATCH v2 00/20] update ixgbe base code

2020-07-07 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Guinan Sun > Sent: Thursday, July 2, 2020 11:13 AM > To: dev@dpdk.org > Cc: Guo, Jia ; Zhao1, Wei ; Sun, > GuinanX > Subject: [dpdk-dev] [PATCH v2 00/20] update ixgbe base code > > source code of ixgbe driver: > not-released-cid-ixgbe.2020

Re: [dpdk-dev] [PATCH 0/2] update base code batch 4

2020-07-07 Thread Zhang, Qi Z
> -Original Message- > From: Zhao1, Wei > Sent: Tuesday, July 7, 2020 5:41 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Lu, Nannan > Subject: [PATCH 0/2] update base code batch 4 > > The patchset include 2 bug fixes for base code. > > Wei Zhao (2): > ice-shared: Fix tunnel type check

Re: [dpdk-dev] [PATCH] eal/windows: detect insufficient privileges for hugepages

2020-07-07 Thread Dmitry Kozlyuk
On Tue, 7 Jul 2020 16:45:07 -0700, Ranjit Menon wrote: > On 7/7/2020 1:22 PM, Dmitry Kozlyuk wrote: > > AdjustTokenPrivileges() succeeds even if no requested privileges have > > been granted; this behavior is documented. Check last error code in > > addition to return value to detect such case. > >

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

2020-07-07 Thread Ajit Khaparde
On Fri, Jul 3, 2020 at 11:58 AM Honnappa Nagarahalli < honnappa.nagaraha...@arm.com> wrote: > rte_cio_*mb APIs will be deprecated in 20.11 release. > > Signed-off-by: Honnappa Nagarahalli > Acked-by: Ajit Khaparde --- > doc/guides/rel_notes/deprecation.rst | 6 ++ > 1 file changed, 6 inser

Re: [dpdk-dev] [PATCH] eal/windows: detect insufficient privileges for hugepages

2020-07-07 Thread Ranjit Menon
On 7/7/2020 1:22 PM, Dmitry Kozlyuk wrote: AdjustTokenPrivileges() succeeds even if no requested privileges have been granted; this behavior is documented. Check last error code in addition to return value to detect such case. Signed-off-by: Dmitry Kozlyuk --- lib/librte_eal/windows/eal_hug

[dpdk-dev] [pull-request] next-crypto 20.08 rc1

2020-07-07 Thread Akhil Goyal
The following changes since commit fea5a82f5643901f8259bb1250acf53d6be4b9cb: test/service: check active state on two lcores (2020-07-07 23:52:12 +0200) are available in the Git repository at: http://dpdk.org/git/next/dpdk-next-crypto for you to fetch changes up to 10cddc7193c297208e23e0478

Re: [dpdk-dev] [PATCH 3/4] common/dpaax/caamflib: fix 12 bit NULL auth case

2020-07-07 Thread Akhil Goyal
Updated patch description In cases of NULL auth in PDCP, the desciptors should be based on ALGORITHM command instead of PROTOCOL command. It was done in case of encap, but was missing in decap. Fixes: 526cdf60f1e5 ("crypto/dpaa2_sec: update desc for PDCP 18-bit enc-auth")

Re: [dpdk-dev] [PATCH 2/4] crypto/dpaa2_sec: fix HFN override

2020-07-07 Thread Akhil Goyal
> > HFN is set as a uint32_t but the value retrieved is > uint8_t. Fixed the type casting to get the correct value. > > Signed-off-by: Akhil Goyal > --- Updated Fixes while applying patches. Fixes: bef594ec5cc8 ("crypto/dpaa2_sec: support PDCP offload") Fixes: af61f0750948 ("crypto/d

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

2020-07-07 Thread Akhil Goyal
> 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 descripto

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

2020-07-07 Thread Ajit Khaparde
On Mon, Jul 6, 2020 at 10:27 AM Ajit Khaparde wrote: > v2->v3: > - update bnxt doc > - update 20.08 release notes > > v3->v4: > - rebase against latest code base > Patchset applied to dpdk-next-net-brcm. Thanks > > Ajit Khaparde (1): > doc: update release notes > > Lance Richardson (3): >

Re: [dpdk-dev] [PATCH v5 1/2] drivers/qat: add chacha poly implementation

2020-07-07 Thread Akhil Goyal
> This patchset adds Chacha20-Poly1305 implementation to Intel > QuickAssist Technology pmd. > > Signed-off-by: Arek Kusztal > --- Series Applied to dpdk-next-crypto Thanks.

Re: [dpdk-dev] [PATCH v5 3/3] drivers/qat: add handling of capabilities in multi process

2020-07-07 Thread Akhil Goyal
> Move qat capabilities data into a memzone where it can be > shared by primary and secondary processes. > > Signed-off-by: Arek Kusztal > --- Series Applied to dpdk-next-crypto Fixed following check patch warning while applying the patchset. diff --git a/drivers/crypto/qat/qat_sym_pmd.c b/d

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

2020-07-07 Thread Ferruh Yigit
On 7/6/2020 6:26 PM, Ajit Khaparde wrote: > 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/re

Re: [dpdk-dev] [PATCH] ethdev: fix log type for some logs

2020-07-07 Thread Ferruh Yigit
On 7/2/2020 12:40 PM, Andrew Rybchenko wrote: > On 7/2/20 2:17 PM, Ferruh Yigit wrote: >> Some log macros was using 'EAL' logtype, convert them to 'ethdev'. >> Also fix missing EOL and fix syntax for some logs. >> >> Fixes: 214ed1acd125 ("ethdev: add iterator to match devargs input") >> Fixes: e489

Re: [dpdk-dev] [PATCH v3 1/2] service: fix wrong lcore indices

2020-07-07 Thread Thomas Monjalon
07/07/2020 15:14, Van Haaren, Harry: > From: Andrew Rybchenko > > From: Igor Romanov > > > > The service core list is populated, but not used. Incorrect > > lcore states are examined for a service. > > > > Use the populated list to iterate over service cores. > > > > Fixes: e30d d318 47d2 ("se

Re: [dpdk-dev] [PATCH 0/3] rib: minor fixes

2020-07-07 Thread Thomas Monjalon
25/06/2020 22:32, Stephen Hemminger: > Some minor updates to the RIB library to fix issues found > while reviewing and trying it out. > > Stephen Hemminger (3): > rib: constify arguments > rib: check for invalid max_nodes > rib: add C++ include guard Applied, thanks

Re: [dpdk-dev] [EXT] Re: [PATCH v2 1/4] net/qede/base: re-arrange few structures for DDC

2020-07-07 Thread Rasesh Mody
>From: Jerin Jacob >Sent: Tuesday, June 30, 2020 10:47 AM > >On Tue, Jun 30, 2020 at 2:03 PM Rasesh Mody wrote: >> >> This patch rearranges some of the base driver structures which will be >> also used by debug data collection (DDC) implementation. It adds a new >> file ecore_hsi_func_common.h wi

[dpdk-dev] [PATCH v4 4/4] net/qede: add support for get register operation

2020-07-07 Thread Rasesh Mody
Add support for .get_reg eth_dev ops which will be used to collect the firmware debug data. PMD on detecting on some HW errors will collect the FW/HW Dump to a buffer and then it will save it to a file implemented in qede_save_fw_dump(). Dump file location and name: Location: or DPDK root Name:

[dpdk-dev] [PATCH v4 2/4] net/qede/base: add changes for debug data collection

2020-07-07 Thread Rasesh Mody
This patch adds base driver APIs required for debug data collection. It adds support for dumping internal lookup tables(ilt), reading nvram image, register definitions. Signed-off-by: Rasesh Mody Signed-off-by: Igor Russkikh --- drivers/net/qede/base/bcm_osal.c | 6 + drivers/net

[dpdk-dev] [PATCH v4 1/4] net/qede/base: re-arrange few structures for DDC

2020-07-07 Thread Rasesh Mody
This patch rearranges some of the base driver structures which will be also used by debug data collection (DDC) implementation. It adds a new file ecore_hsi_func_common.h with Physical, Virtual memory descriptors. Signed-off-by: Rasesh Mody Signed-off-by: Igor Russkikh --- drivers/net/qede/base

[dpdk-dev] [PATCH v4 0/4] net/qede: add FW debug data collection support

2020-07-07 Thread Rasesh Mody
Hi Jerin, Ferruh, This patch-set adds an ability to collect FW and HW Debug Data/Dump (referred to as FW/HW Dump) to QEDE PMD. The dump is collected either when PMD detects an error or when a DPDK application asks PMD to collect it upon detection of application error. This FW/HW Dump needs to be s

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

2020-07-07 Thread Ori Kam
Hi Jerin, > -Original Message- > From: Jerin Jacob > > On Tue, Jul 7, 2020 at 11:51 AM Ori Kam wrote: > > > > Hi Jerin, > > Thanks you for your quick reply. > > > > > -Original Message- > > > From: Jerin Jacob > > > Subject: Re: [dpdk-dev] [PATCH] add flow shared action API >

Re: [dpdk-dev] [PATCH v5 2/4] build: add arm32 meson build flags

2020-07-07 Thread Honnappa Nagarahalli
> Subject: Re: [dpdk-dev] [PATCH v5 2/4] build: add arm32 meson build flags > > On Mon, Jul 6, 2020 at 1:59 PM Juraj Linkeš > wrote: > > > > Base the flags on config/defconfig_arm-armv7a-linuxapp-gcc. > > Omit driver flags which can be built on arm32. > > > > Signed-off-by: Juraj Linkeš > > H

Re: [dpdk-dev] [dpdk-dev v4 1/4] cryptodev: add symmetric crypto data-path APIs

2020-07-07 Thread Akhil Goyal
Hi Fan, > > Hi Akhil, > > ... > > > > > > As you may have seen the structure definition is hW centric with the > > > IOVA addresses all over. Also as you will from the patch series the > > operation is > > > Per operation basis instead of operating in a burst. The external > > > application > >

[dpdk-dev] [PATCH] eal/windows: detect insufficient privileges for hugepages

2020-07-07 Thread Dmitry Kozlyuk
AdjustTokenPrivileges() succeeds even if no requested privileges have been granted; this behavior is documented. Check last error code in addition to return value to detect such case. Signed-off-by: Dmitry Kozlyuk --- lib/librte_eal/windows/eal_hugepages.c | 4 1 file changed, 4 insertions(

[dpdk-dev] [PATCH v3 4/4] net/qede: add support for get register operation

2020-07-07 Thread Rasesh Mody
Add support for .get_reg eth_dev ops which will be used to collect the firmware debug data. PMD on detecting on some HW errors will collect the FW/HW Dump to a buffer and then it will save it to a file implemented in qede_save_fw_dump(). Dump file location and name: Location: or DPDK root Name:

[dpdk-dev] [PATCH v3 2/4] net/qede/base: add changes for debug data collection

2020-07-07 Thread Rasesh Mody
This patch adds base driver APIs required for debug data collection. It adds support for dumping internal lookup tables(ilt), reading nvram image, register definitions. Signed-off-by: Rasesh Mody Signed-off-by: Igor Russkikh --- drivers/net/qede/base/bcm_osal.c | 6 + drivers/net

[dpdk-dev] [PATCH v3 1/4] net/qede/base: re-arrange few structures for DDC

2020-07-07 Thread Rasesh Mody
This patch rearranges some of the base driver structures which will be also used by debug data collection (DDC) implementation. It adds a new file ecore_hsi_func_common.h with Physical, Virtual memory descriptors. Signed-off-by: Rasesh Mody Signed-off-by: Igor Russkikh --- drivers/net/qede/base

[dpdk-dev] [PATCH v3 0/4] net/qede: add FW debug data collection support

2020-07-07 Thread Rasesh Mody
Hi Jerin, Ferruh, This patch-set adds an ability to collect FW and HW Debug Data/Dump (referred to as FW/HW Dump) to QEDE PMD. The dump is collected either when PMD detects an error or when a DPDK application asks PMD to collect it upon detection of application error. This FW/HW Dump needs to be s

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

2020-07-07 Thread David Christensen
On 7/6/20 4:43 PM, Honnappa Nagarahalli wrote: 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/deprecati

Re: [dpdk-dev] [PATCH v2 1/4] lib: introduce IF Proxy library

2020-07-07 Thread Andrzej Ostruszka [C]
First of all, please excuse me Stephen for late reply. On 02/07/2020 02:34, Stephen Hemminger wrote: > I had great hopes for this library, because such code exists in > almost every real world application. But the current version falls > short. Sorry to disappoint. > So what this library does is

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

2020-07-07 Thread David Christensen
On 7/7/20 7:04 AM, Ananyev, Konstantin wrote: Hi Feifei, > 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

Re: [dpdk-dev] [PATCH v3 2/2] test/service: add test for service active on two lcores

2020-07-07 Thread Honnappa Nagarahalli
> -Original Message- > From: dev On Behalf Of Andrew Rybchenko > Sent: Tuesday, July 7, 2020 5:45 AM > To: dev@dpdk.org > Cc: Igor Romanov ; Harry van Haaren > > Subject: [dpdk-dev] [PATCH v3 2/2] test/service: add test for service active > on > two lcores > > From: Igor Romanov >

Re: [dpdk-dev] [PATCH v1 5/5] net/hinic/base: modify return errors

2020-07-07 Thread Ferruh Yigit
On 6/27/2020 4:55 AM, Xiaoyun wang wrote: > Modify return errors with linux system errors when > system requests fail. > > Signed-off-by: Xiaoyun wang <...> > @@ -475,7 +475,7 @@ static int wait_for_flr_finish(struct hinic_hwif *hwif) > rte_delay_ms(10); > } while (time_befo

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

2020-07-07 Thread Jerin Jacob
On Tue, Jul 7, 2020 at 11:51 AM Ori Kam wrote: > > 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

Re: [dpdk-dev] [PATCH v3 1/2] service: fix wrong lcore indices

2020-07-07 Thread Honnappa Nagarahalli
> Subject: [dpdk-dev] [PATCH v3 1/2] service: fix wrong lcore indices > > From: Igor Romanov > > The service core list is populated, but not used. Incorrect lcore states are > examined for a service. > > Use the populated list to iterate over service cores. > > Fixes: e30dd31847d2 ("service:

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

2020-07-07 Thread Akhil Goyal
> >> >Why do we need this change? > >> >The existing test case is to demonstrate a generic case where we can > >> >have an auth only trailer as well. It is similar to a case of IPSEC > >> >ESN but not exactly IPSec. Cipher offset can be anything as per the app > >requirement. > >> >I don't think

Re: [dpdk-dev] [PATCH 0/4] updates for hns3 PMD driver

2020-07-07 Thread Ferruh Yigit
On 7/4/2020 11:09 AM, Wei Hu (Xavier) wrote: > This series are updates for hns3 PMD driver. > > Chengchang Tang (1): > net/hns3: cleanup duplicate code when processing TSO in Tx > > Lijun Ou (1): > doc: update feature list of hns3 rst document > > Wei Hu (Xavier) (2): > net/hns3: check if

Re: [dpdk-dev] [PATCH v2 2/2] doc: clarify alias to experimental period

2020-07-07 Thread Honnappa Nagarahalli
> Subject: [PATCH v2 2/2] doc: clarify alias to experimental period > > Clarify retention period for aliases to experimental. > > Signed-off-by: Ray Kinsella Reviewed-by: Honnappa Nagarahalli > --- > doc/guides/contributing/abi_versioning.rst | 5 +++-- > 1 file changed, 3 insertions(+), 2

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

2020-07-07 Thread Honnappa Nagarahalli
> Subject: Re: [dpdk-dev] [PATCH v4 2/3] doc: update armv8-a IO barrier > changes > > On Tue, Jul 7, 2020 at 1:44 AM Honnappa Nagarahalli > wrote: > > > > Updated the use of DMB instruction in rte_*mb APIs for Armv8-a. > > > > Signed-off-by: Honnappa Nagarahalli > > Acked-by: Jerin Jacob > >

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

2020-07-07 Thread Ranjit Menon
On 7/7/2020 1:39 AM, Dmitry Kozlyuk wrote: On Tue, 7 Jul 2020 08:04:00 +, Tal Shnaiderman wrote: Dmitry, It looks like we got to this stage since hugepage_claim_privilege() cannot actually detect that "Lock pages" isn't granted to the current user, as a result we fail on the first usage

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

2020-07-07 Thread Ferruh Yigit
On 7/7/2020 6:24 PM, Ori Kam wrote: > Hi Ferruh, > >> -Original Message- >> From: Ferruh Yigit >> >> On 7/7/2020 7:21 AM, Ori Kam wrote: >>> Hi Jerin, >>> Thanks you for your quick reply. >>> -Original Message- From: Jerin Jacob Subject: Re: [dpdk-dev] [PATCH] add

[dpdk-dev] [PATCH v2 2/2] doc: clarify alias to experimental period

2020-07-07 Thread Ray Kinsella
Clarify retention period for aliases to experimental. Signed-off-by: Ray Kinsella --- doc/guides/contributing/abi_versioning.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guides/contributing/abi_versioning.rst b/doc/guides/contributing/abi_versioning.rst index

[dpdk-dev] [PATCH v2 0/2] doc: minor abi policy fixes

2020-07-07 Thread Ray Kinsella
Few documentation fixexs, clarifing the Windows ABI policy and aliases to experimental mode. Ray Kinsella (2): doc: reword abi policy for windows doc: clarify alias to experimental period v2: Addressed feedback from Thomas Monjalon. doc/guides/contributing/abi_policy.rst | 4 +++- doc

[dpdk-dev] [PATCH v2 1/2] doc: reword abi policy for windows

2020-07-07 Thread Ray Kinsella
Minor changes to the abi policy for windows. Signed-off-by: Ray Kinsella --- doc/guides/contributing/abi_policy.rst | 4 +++- doc/guides/windows_gsg/intro.rst | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/guides/contributing/abi_policy.rst b/doc/guides/con

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

2020-07-07 Thread Ferruh Yigit
On 7/7/2020 12:32 AM, Honnappa Nagarahalli wrote: > 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 t

Re: [dpdk-dev] [dpdk-stable] [PATCH] cfgfile: avoid stack buffer underflow

2020-07-07 Thread Thomas Monjalon
02/07/2020 11:20, Bruce Richardson: > On Wed, Jul 01, 2020 at 08:05:58PM -0700, Stephen Hemminger wrote: > > If cfgfile is give a line with comment character at the start > > of the line, it will dereference outside of the buffer. > > > > Detected with address sanitizer: [...] > > Good catch by t

  1   2   3   >