Re: [dpdk-dev] [PATCH] net/iavf: fix TSO max segment size

2021-03-25 Thread Zhang, Qi Z
> -Original Message- > From: Xing, Beilei > Sent: Friday, March 26, 2021 9:28 AM > To: Zhang, Qi Z ; Wu, Jingjing > Cc: Anantharam, Arjun ; Miskell, Timothy > ; dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH] net/iavf: fix TSO max segment size > > > > > -Original Message

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

2021-03-25 Thread Min Hu (Connor)
在 2021/3/26 7:25, Ajit Khaparde 写道: On Thu, Mar 25, 2021 at 6:32 AM Min Hu (Connor) wrote: 在 2021/3/24 16:08, Li, Xiaoyun 写道: Hi -Original Message- From: dev On Behalf Of Min Hu (Connor) Sent: Monday, March 22, 2021 15:07 To: dev@dpdk.org Cc: Yigit, Ferruh ; ajit.khapa...@broa

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

2021-03-25 Thread Min Hu (Connor)
From: Lijun Ou This patch adds multi-process support for testpmd. The test cmd example as follows: the primary cmd: ./dpdk-testpmd -a xxx --proc-type=auto -l 0-1 -- -i \ --rxq=4 --txq=4 --num-procs=2 --proc-id=0 the secondary cmd: ./dpdk-testpmd -a xxx --proc-type=auto -l 2-3 -- -i \ --rxq=4 --t

Re: [dpdk-dev] [PATCH v3 0/3] support GTPU inner IPv4/IPv6 for AVF FDIR.

2021-03-25 Thread Zhang, Qi Z
> -Original Message- > From: Guo, Junfeng > Sent: Friday, March 26, 2021 10:30 PM > To: Zhang, Qi Z ; Wu, Jingjing ; > Xing, Beilei > Cc: dev@dpdk.org; Wang, Haiyue ; Zhang, Yuying > ; Guo, Junfeng > Subject: [PATCH v3 0/3] support GTPU inner IPv4/IPv6 for AVF FDIR. > > Support GTPU_

[dpdk-dev] [PATCH v3 3/3] doc: add release notes for 21.05

2021-03-25 Thread Junfeng Guo
Add support for FDIR GTPU_(EH)_IPv4/IPv6 inner L3/L4 fields matching. Signed-off-by: Junfeng Guo --- doc/guides/rel_notes/release_21_05.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc/guides/rel_notes/release_21_05.rst index 22aa80a15b.

[dpdk-dev] [PATCH v3 2/3] net/iavf: support GTPU inner IPv6 for FDIR

2021-03-25 Thread Junfeng Guo
Support GTPU_(EH)_IPV6 inner L3 and L4 fields matching for AVF FDIR. +--+-+ | Pattern|Input Set| +--+-+ | eth/ipv4/gtpu/ipv6

[dpdk-dev] [PATCH v3 1/3] net/iavf: support GTPU inner IPv4 for FDIR

2021-03-25 Thread Junfeng Guo
Support GTPU_(EH)_IPV4 inner L3 and L4 fields matching for AVF FDIR. +--+-+ | Pattern|Input Set| +--+-+ | eth/ipv4/gtpu/ipv4

[dpdk-dev] [PATCH v3 0/3] support GTPU inner IPv4/IPv6 for AVF FDIR.

2021-03-25 Thread Junfeng Guo
Support GTPU_(EH)_IPV4/IPV6 inner L3 and L4 fields matching for AVF FDIR. v2: * add release notes for 21.05. v3: * update release notes for 21.05. [PATCH v3 1/3] support GTPU inner IPv4 for FDIR. [PATCH v3 2/3] support GTPU inner IPv6 for FDIR. [PATCH v3 3/3] add release notes for 21.05. Junfeng

Re: [dpdk-dev] [PATCH v5 4/8] eventdev: add Rx adapter event vector support

2021-03-25 Thread Jayatheerthan, Jay
> -Original Message- > From: Pavan Nikhilesh Bhagavatula > Sent: Thursday, March 25, 2021 6:44 PM > To: Jayatheerthan, Jay ; Jerin Jacob > Kollanukkaran ; Carrillo, Erik G > ; Gujjar, Abhinandan S > ; McDaniel, Timothy > ; hemant.agra...@nxp.com; Van Haaren, Harry > ; mattias.ronnblom >

Re: [dpdk-dev] [PATCH v2 3/3] doc: add release notes for 21.05

2021-03-25 Thread Zhang, Qi Z
> -Original Message- > From: Guo, Junfeng > Sent: Friday, March 26, 2021 6:42 PM > To: Zhang, Qi Z ; Wu, Jingjing ; > Xing, Beilei > Cc: dev@dpdk.org; Guo, Junfeng > Subject: [PATCH v2 3/3] doc: add release notes for 21.05 > > Add support for FDIR GTPU_(EH)_IPv4/IPv6 inner L3/L4 fiel

[dpdk-dev] [PATCH 2/2] net/mlx5: fix missing shared RSS hash types

2021-03-25 Thread Xiaoyu Min
Shared RSS action create all supported RSS hash combination in advance and lookup the right hash TIR when flow is actually applied by comparing hash field value. Unfortunately some hash combination is missed, for example, UDP/TCP dest port only, L3-src-only, etc. This patch add the missing hash c

[dpdk-dev] [PATCH 1/2] net/mlx5: fix shared inner RSS

2021-03-25 Thread Xiaoyu Min
The shared RSS action use the _tunnel_ information which is derived from flow items to decide whether need to do inner RSS or not. However, inner RSS should be decided by RSS level (>1) in configuration and then to create TIR with 'IBV_RX_HASH_INNER' hash bit set. Also, for one shared RSS action t

[dpdk-dev] [PATCH 0/2] fixs for shared RSS action

2021-03-25 Thread Xiaoyu Min
This series of patchs fix two problems of shared RSS action: 1. inner RSS (level > 1) doesn't work 2. missed RSS types support (i.e L3-src-only) Xiaoyu Min (2): net/mlx5: fix shared inner RSS net/mlx5: fix missing shared RSS hash types drivers/net/mlx5/mlx5_flow.h| 22 +++- drivers/net/

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

2021-03-25 Thread Ajit Khaparde
On Thu, Mar 25, 2021 at 6:32 AM Min Hu (Connor) wrote: > > > > 在 2021/3/24 16:08, Li, Xiaoyun 写道: > > Hi > > > >> -Original Message- > >> From: dev On Behalf Of Min Hu (Connor) > >> Sent: Monday, March 22, 2021 15:07 > >> To: dev@dpdk.org > >> Cc: Yigit, Ferruh ; ajit.khapa...@broadcom.co

Re: [dpdk-dev] [PATCH 2/2] [RFC]: ethdev: manage meter API object handles by the drivers

2021-03-25 Thread Ajit Khaparde
On Thu, Mar 25, 2021 at 1:21 AM Matan Azrad wrote: > > Hi Cristian > > From: Dumitrescu, Cristian > > Hi Li and Matan, > > > > > -Original Message- > > > From: Li Zhang > > > Sent: Thursday, March 18, 2021 8:58 AM > > > To: dek...@nvidia.com; or...@nvidia.com; viachesl...@nvidia.com; > >

[dpdk-dev] [PATCH v2 3/3] doc: add release notes for 21.05

2021-03-25 Thread Junfeng Guo
Add support for FDIR GTPU_(EH)_IPv4/IPv6 inner L3/L4 fields matching. Signed-off-by: Junfeng Guo --- doc/guides/rel_notes/release_21_05.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc/guides/rel_notes/release_21_05.rst index 22aa80a15b.

[dpdk-dev] [PATCH v2 2/3] net/iavf: support GTPU inner IPv6 for FDIR

2021-03-25 Thread Junfeng Guo
Support GTPU_(EH)_IPV6 inner L3 and L4 fields matching for AVF FDIR. +--+-+ | Pattern|Input Set| +--+-+ | eth/ipv4/gtpu/ipv6

[dpdk-dev] [PATCH v2 1/3] net/iavf: support GTPU inner IPv4 for FDIR

2021-03-25 Thread Junfeng Guo
Support GTPU_(EH)_IPV4 inner L3 and L4 fields matching for AVF FDIR. +--+-+ | Pattern|Input Set| +--+-+ | eth/ipv4/gtpu/ipv4

[dpdk-dev] [PATCH v2 0/3] support GTPU inner IPv4/IPv6 for AVF FDIR.

2021-03-25 Thread Junfeng Guo
Support GTPU_(EH)_IPV4/IPV6 inner L3 and L4 fields matching for AVF FDIR. v2: * add release notes for 21.05. [PATCH v2 1/3] support GTPU inner IPv4 for FDIR. [PATCH v2 2/3] support GTPU inner IPv6 for FDIR. [PATCH v2 3/3] add release notes for 21.05. Junfeng Guo (3): net/iavf: support GTPU inn

Re: [dpdk-dev] [PATCH v3 3/7] net/txgbe: update link setup process of backplane NICs

2021-03-25 Thread Jiawen Wu
On March 25, 2021 6:20 PM, Ferruh Yigit wrote: > On 3/25/2021 5:51 AM, Jiawen Wu wrote: > > Add device arguments to support runtime options. > > And use these configuration to control the link setup flow, to adapt > > to different NIC's construction. Use firmware version to control the > > impact o

Re: [dpdk-dev] [PATCH 1/3] net/iavf: fix segment fault in AVX512

2021-03-25 Thread Lu, Wenzhuo
Hi David, Thanks for the comments. I see they're the same as the i40e patch. Will handle them in V2. Best regards Wenzhuo Lu

Re: [dpdk-dev] [PATCH 2/3] net/ice: fix segment fault in AVX512

2021-03-25 Thread Lu, Wenzhuo
Hi David, Thanks for the comments. I see they're the same as the i40e patch. Will handle them in V2. Best regards Wenzhuo Lu

Re: [dpdk-dev] [PATCH 3/3] net/i40e: fix segment fault in AVX512

2021-03-25 Thread Lu, Wenzhuo
Hi David, Sorry for the late response. > > + if (!cache) > > + goto normal; > > [DC] Like in IAVF and ICE, should we also check for cache->len == 0, like is > done in Tx path? Not necessary because below code tries to get more buffer is length is not as long as needed, it covers the

[dpdk-dev] [PATCH v3 4/4] net/iavf: add offload path for Rx AVX512 flex desc

2021-03-25 Thread Wenzhuo Lu
Add a specific path for RX AVX512 (flexible descriptor). In this path, support the HW offload features, like, checksum, VLAN stripping, RSS hash. This path is chosen automatically according to the configuration. 'inline' is used, then the duplicate code is generated by the compiler. Signed-off-by

[dpdk-dev] [PATCH v3 3/4] net/iavf: add offload path for Rx AVX512

2021-03-25 Thread Wenzhuo Lu
Add a specific path for RX AVX512 (traditional). In this path, support the HW offload features, like, checksum, VLAN stripping, RSS hash. This path is chosen automatically according to the configuration. 'inline' is used, then the duplicate code is generated by the compiler. Signed-off-by: Wenzhu

[dpdk-dev] [PATCH v3 2/4] net/iavf: add offload path for Tx AVX512

2021-03-25 Thread Wenzhuo Lu
Add a specific path for TX AVX512. In this path, support the HW offload features, like, checksum insertion, VLAN insertion. This path is chosen automatically according to the configuration. 'inline' is used, then the duplicate code is generated by the compiler. Signed-off-by: Wenzhuo Lu --- dri

[dpdk-dev] [PATCH v3 1/4] net/iavf: store offload flag of Rx queue

2021-03-25 Thread Wenzhuo Lu
Add the offload flag for RX queues to know which offload features are set. Signed-off-by: Wenzhuo Lu --- drivers/net/iavf/iavf_rxtx.c | 4 drivers/net/iavf/iavf_rxtx.h | 1 + 2 files changed, 5 insertions(+) diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c index 8fa

[dpdk-dev] [PATCH v3 0/4] add Rx/Tx offload paths for IAVF AVX512

2021-03-25 Thread Wenzhuo Lu
Add specific paths for RX/TX AVX512, called offload paths. In these paths, support the HW offload features, like, checksum, VLAN, RSS offload. These paths are chosen automatically according to the configuration. v2: - Fixed compile error. v3: - Used 'inline' to drop the duplicate code. - some

Re: [dpdk-dev] [PATCH] net/iavf: fix TSO max segment size

2021-03-25 Thread Xing, Beilei
> -Original Message- > From: Zhang, Qi Z > Sent: Monday, March 1, 2021 3:57 PM > To: Wu, Jingjing > Cc: Anantharam, Arjun ; Miskell, Timothy > ; Xing, Beilei ; > dev@dpdk.org; Zhang, Qi Z ; sta...@dpdk.org > Subject: [PATCH] net/iavf: fix TSO max segment size > > According to Intel® AV

[dpdk-dev] rte_bitmap_init() mem_size argument

2021-03-25 Thread Andrew Boyer
Why is mem_size defined as “Minimum expected size of bitmap”? The code looks strange to me. It will return an error if you pass in 2KB of memory to hold a 1KB bitmap, but not if you pass in 2KB of memory to hold a 4KB bitmap. Shouldn’t it be the other way around? -Andrew

Re: [dpdk-dev] [Linuxarm] [PATCH V2 0/4] add Hisilicon kunpeng CPU support

2021-03-25 Thread oulijun
在 2021/3/25 22:40, Thomas Monjalon 写道: 25/03/2021 14:26, oulijun: 在 2021/3/25 20:19, Thomas Monjalon 写道: 25/03/2021 12:17, oulijun: Ruifeng has reviewed-by. Does anyone else have any comments? Is it necessary to send the V2? v2 for what? There is a change? No. no change. So why are yo

Re: [dpdk-dev] [PATCH] eal: standard c++ forbids defining the keyword asm as a macro

2021-03-25 Thread Tyler Retzlaff
On Thu, Mar 25, 2021 at 09:00:54AM +0100, Thomas Monjalon wrote: > 25/03/2021 01:09, Tyler Retzlaff: > > On Thu, Mar 25, 2021 at 01:41:47AM +0300, Dmitry Kozlyuk wrote: > > > 2021-03-24 14:55 (UTC-0700), Tyler Retzlaff: > > > > > > Can't speak for Seastar and Click, but we never hit this particula

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-25 Thread Ilya Maximets
On 3/25/21 5:43 PM, Stefan Hajnoczi wrote: > On Thu, Mar 25, 2021 at 12:00:11PM +0100, Ilya Maximets wrote: >> On 3/25/21 10:35 AM, Stefan Hajnoczi wrote: >>> On Wed, Mar 24, 2021 at 02:11:31PM +0100, Ilya Maximets wrote: On 3/24/21 1:05 PM, Stefan Hajnoczi wrote: > On Tue, Mar 23, 2021 at

Re: [dpdk-dev] [PATCH] doc: add sampling and mirroring in testpmd guide

2021-03-25 Thread Thomas Monjalon
25/03/2021 18:10, Ferruh Yigit: > On 3/9/2021 1:18 PM, Jiawei Wang wrote: > > Update documentation for sample action usage in testpmd and > > show the command line example. > > > > +1 to document this. > > Indeed for all testpmd flow update, it must be mandatory to update "Flow > rules > manag

[dpdk-dev] [dpdk-dev v21.11] [PATCH v7 8/8] eventdev: simplify Rx adapter event vector config

2021-03-25 Thread pbhagavatula
From: Pavan Nikhilesh Include vector configuration into the structure ``rte_event_eth_rx_adapter_queue_conf`` used when configuring rest of the Rx adapter ethernet device Rx queue parameters. This simplifies event vector configuration as it avoids splitting configuration per Rx queue. Signed-off

Re: [dpdk-dev] [PATCH] ci: remove aarch64 from Travis jobs

2021-03-25 Thread Thomas Monjalon
25/03/2021 17:40, Aaron Conole: > Thomas Monjalon writes: > >> Travis is not reliable for native Arm and PPC: > >> https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6 > >> > >> In order to get reliable Travis reports, > >> the use of Arm machines is removed until Travis fixes it. >

[dpdk-dev] [PATCH v7 7/8] doc: announce event Rx adapter config changes

2021-03-25 Thread pbhagavatula
From: Pavan Nikhilesh The Rx adapter event vector configuration will be merged into Rx adapter queue configuration to simplify enabling event vectorization. Signed-off-by: Pavan Nikhilesh Acked-by: Ray Kinsella --- doc/guides/rel_notes/deprecation.rst | 9 + 1 file changed, 9 insertio

[dpdk-dev] [PATCH v7 6/8] app/eventdev: add event vector mode in pipeline test

2021-03-25 Thread pbhagavatula
From: Pavan Nikhilesh Add event vector support in pipeline tests. By default this mode is disabled, it can be enabled by using the option --enable_vector. example: dpdk-test-eventdev -l 7-23 -s 0xff00 -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=a

Re: [dpdk-dev] [PATCH] doc: add sampling and mirroring in testpmd guide

2021-03-25 Thread Ferruh Yigit
On 3/9/2021 1:18 PM, Jiawei Wang wrote: Update documentation for sample action usage in testpmd and show the command line example. +1 to document this. Indeed for all testpmd flow update, it must be mandatory to update "Flow rules management" section for it, Ori what do you think? Signed-

[dpdk-dev] [PATCH v7 5/8] eventdev: add Tx adapter event vector support

2021-03-25 Thread pbhagavatula
From: Pavan Nikhilesh Add event vector support for event eth Tx adapter, the implementation receives events from the single linked queue and based on rte_event_vector::attr_valid transmits the vector of mbufs to a given port, queue pair. Signed-off-by: Pavan Nikhilesh Acked-by: Jay Jayatheertha

[dpdk-dev] [PATCH v7 4/8] eventdev: add Rx adapter event vector support

2021-03-25 Thread pbhagavatula
From: Pavan Nikhilesh Add event vector support for event eth Rx adapter, the implementation creates vector flows based on port and queue identifier of the received mbufs. The flow id for SW Rx event vectorization will use the queue and port identifier for simplicity. Signed-off-by: Pavan Nikhile

[dpdk-dev] [PATCH v7 0/8] Introduce event vectorization

2021-03-25 Thread pbhagavatula
From: Pavan Nikhilesh In traditional event programming model, events are identified by a flow-id and a uintptr_t. The flow-id uniquely identifies a given event and determines the order of scheduling based on schedule type, the uintptr_t holds a single object. Event devices also support burst mod

[dpdk-dev] [PATCH v7 2/8] eventdev: introduce event vector Rx capability

2021-03-25 Thread pbhagavatula
From: Pavan Nikhilesh Introduce event ethernet Rx adapter event vector capability. If an event eth Rx adapter has the capability of RTE_EVENT_ETH_RX_ADAPTER_CAP_EVENT_VECTOR then a given Rx queue can be configured to enable event vectorization by passing the flag RTE_EVENT_ETH_RX_ADAPTER_QUEUE_E

[dpdk-dev] [PATCH v7 3/8] eventdev: introduce event vector Tx capability

2021-03-25 Thread pbhagavatula
From: Pavan Nikhilesh Introduce event vector transmit capability for event eth tx adapter. The capability indicates that the Tx adapter is capable of transmitting event vectors. When rte_event_vector::union_valid is set, the Tx adapter should transmit all the packets to the rte_event_vector::por

[dpdk-dev] [PATCH v7 1/8] eventdev: introduce event vector capability

2021-03-25 Thread pbhagavatula
From: Pavan Nikhilesh Introduce rte_event_vector datastructure which is capable of holding multiple uintptr_t of the same flow thereby allowing applications to vectorize their pipeline and reducing the complexity of pipelining the events across multiple stages. This approach also reduces the sche

Re: [dpdk-dev] [PATCH] usertools: show hugepages requested/set on failure

2021-03-25 Thread Thomas Monjalon
08/03/2021 23:25, Thomas Monjalon: > In case the number of requested hugepages cannot be set, > a more detailed error message is printed. > The new message does not mention "reserve" because setting > can be reserving or clearing. > The filename and numbers requested/set are printed to ease debuggi

Re: [dpdk-dev] [PATCH v2] usertools: check 0-division with hugepage size

2021-03-25 Thread Thomas Monjalon
23/03/2021 12:30, Burakov, Anatoly: > On 21-Mar-21 9:09 AM, Thomas Monjalon wrote: > > The default page size can be None, and the page size from user request > > can be 0 kB if lower than 1024. In these cases, a division will fail. > > In order to avoid a Python exception, the page size is checked

Re: [dpdk-dev] [PATCH v2] usertools/dpdk-telemetry: print name of app when connected

2021-03-25 Thread Thomas Monjalon
17/02/2021 14:57, Kevin Laatz: > On 16/02/2021 11:39, Bruce Richardson wrote: > > When the dpdk-telemetry client connects to a DPDK instance, we can use the > > PID provided in the initial connection message to query from /proc the name > > of the process we are connected to, and display that to th

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

2021-03-25 Thread Jie Zhou
On Wed, Mar 10, 2021 at 05:58:48PM -0800, Pallavi Kadam wrote: > Disable loading of external DDP package as it is not > supported on Windows. > > Signed-off-by: Pallavi Kadam > Reviewed-by: Ranjit Menon Acked-by: Jie Zhou > --- > drivers/net/ice/ice_ethdev.c | 6 ++ > 1 file changed, 6 i

Re: [dpdk-dev] [PATCH v3] usertools/dpdk-telemetry: add file-prefix cmdline argument

2021-03-25 Thread Thomas Monjalon
16/02/2021 12:50, Kevin Laatz: > Currently the dpdk-telemetry.py script connects to all running DPDK apps > consecutively. With the addition of this file-prefix argument, we can limit > the amount of information returned providing improved consumability and > precision to the user. > > Signed-off

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

2021-03-25 Thread Jie Zhou
On Wed, Mar 10, 2021 at 05:58:47PM -0800, Pallavi Kadam wrote: > - Add Intel ice PMD support on Windows. > - Remove #include sys/ioctl header file as it is not needed. > - Replace x86intrin.h with rte_vect.h to avoid __m_prefetchw conflicting > types. > - Replace POSIX usleep() API with rte API. >

Re: [dpdk-dev] [PATCH v4] eal: fix create user mem map repeatedly when it exists

2021-03-25 Thread Kevin Traynor
On 25/03/2021 14:30, Thomas Monjalon wrote: > 07/12/2020 12:08, wangyunjian: >> From: Yunjian Wang >> >> Currently, user mem maps will check if the newly mapped area is adjacent >> to any existing mapping, but will not check if the mapping is identical >> because it assumes that the API will never

Re: [dpdk-dev] [PATCH] maintainers: update for telemetry

2021-03-25 Thread Thomas Monjalon
25/03/2021 15:10, Kevin Laatz: > On 25/03/2021 11:53, Ciara Power wrote: > > Replace Kevin Laatz with Ciara Power. > > > > Signed-off-by: Ciara Power > > --- > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > Telemetry - EXPERIMENTAL > > -M: Kevin Laatz > > +M: Ciara Power > > Acked-by: Kevin La

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-25 Thread Stefan Hajnoczi
On Thu, Mar 25, 2021 at 12:00:11PM +0100, Ilya Maximets wrote: > On 3/25/21 10:35 AM, Stefan Hajnoczi wrote: > > On Wed, Mar 24, 2021 at 02:11:31PM +0100, Ilya Maximets wrote: > >> On 3/24/21 1:05 PM, Stefan Hajnoczi wrote: > >>> On Tue, Mar 23, 2021 at 04:54:57PM -0400, Billy McFall wrote: >

Re: [dpdk-dev] [PATCH] ci: remove aarch64 from Travis jobs

2021-03-25 Thread Aaron Conole
Thomas Monjalon writes: > 16/04/2020 13:00, Thomas Monjalon: >> Travis is not reliable for native Arm and PPC: >> https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6 >> >> In order to get reliable Travis reports, >> the use of Arm machines is removed until Travis fixes it. >> >> S

Re: [dpdk-dev] [PATCH v2 1/3] build: enable iavf base code to build on windows

2021-03-25 Thread Jie Zhou
On Wed, Mar 10, 2021 at 05:58:46PM -0800, Pallavi Kadam wrote: > Enable IAVF driver to build on Windows as it is required > to build ice PMD. > Disable all other drivers from common directory. > This patch also includes fix for a macro redefinition warning > in the IAVF driver. > > Signed-off-by:

Re: [dpdk-dev] [PATCH v2 0/4] telemetry logging improvements and cleanup

2021-03-25 Thread Thomas Monjalon
25/03/2021 14:57, Bruce Richardson: > This set adds support for using the regular rte_log functions from the > telemetry > library; avoiding circular dependencies by having EAL register the telemetry > library itself and then passing the required handles to that library as part > of > the telemet

Re: [dpdk-dev] [PATCH] tailq: secondary process may not have all tailq available

2021-03-25 Thread Bruce Richardson
On Thu, Mar 25, 2021 at 09:05:51AM -0700, Stephen Hemminger wrote: > On Thu, 25 Mar 2021 15:16:47 +0100 > David Marchand wrote: > > > On Mon, Jan 18, 2021 at 6:55 AM Hemant Agrawal > > wrote: > > > On 1/14/2021 7:14 PM, David Marchand wrote: > > > > On Thu, Jan 14, 2021 at 8:24 AM Hemant Agraw

Re: [dpdk-dev] [PATCH v3 7/7] doc: add txgbe backplane update in release notes

2021-03-25 Thread Ferruh Yigit
On 3/25/2021 5:51 AM, Jiawen Wu wrote: Declare updates related to device args for backplane NICs. Signed-off-by: Jiawen Wu --- doc/guides/rel_notes/release_21_05.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc/guides/rel_notes/release_21_

Re: [dpdk-dev] [PATCH] tailq: secondary process may not have all tailq available

2021-03-25 Thread Stephen Hemminger
On Thu, 25 Mar 2021 15:16:47 +0100 David Marchand wrote: > On Mon, Jan 18, 2021 at 6:55 AM Hemant Agrawal > wrote: > > On 1/14/2021 7:14 PM, David Marchand wrote: > > > On Thu, Jan 14, 2021 at 8:24 AM Hemant Agrawal > > > wrote: > > >> Secondary process may not have all the tailq available

Re: [dpdk-dev] [PATCH] net/vmxnet3: build on Windows

2021-03-25 Thread Ferruh Yigit
On 3/24/2021 6:32 PM, Yong Wang wrote: -Original Message- From: Dmitry Kozlyuk Date: Wednesday, March 24, 2021 at 10:50 AM To: Yong Wang Cc: Ferruh Yigit , "dev@dpdk.org" , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam Subject: Re: [dpdk-dev] [PATCH] net/vmxnet3: build on

Re: [dpdk-dev] [PATCH v3 3/7] net/txgbe: update link setup process of backplane NICs

2021-03-25 Thread Ferruh Yigit
On 3/25/2021 10:19 AM, Ferruh Yigit wrote: On 3/25/2021 5:51 AM, Jiawen Wu wrote: Add device arguments to support runtime options. And use these configuration to control the link setup flow, to adapt to different NIC's construction. Use firmware version to control the impact of firmware update.

Re: [dpdk-dev] [PATCH] ci: remove aarch64 from Travis jobs

2021-03-25 Thread Thomas Monjalon
16/04/2020 13:00, Thomas Monjalon: > Travis is not reliable for native Arm and PPC: > https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6 > > In order to get reliable Travis reports, > the use of Arm machines is removed until Travis fixes it. > > Signed-off-by: Thomas Monjalon We

Re: [dpdk-dev] [PATCH v5 8/8] net/igc: refine debug build option

2021-03-25 Thread Ferruh Yigit
On 3/24/2021 8:31 PM, David Marchand wrote: On Wed, Mar 24, 2021 at 8:27 PM Ferruh Yigit wrote: On 3/23/2021 11:07 AM, Qi Zhang wrote: 1. replace RTE_LIBRTE_IGC_DEBUG_RX with RTE_ETHDEV_DEBUG_RX. 2. replace RTE_LIBRTE_IGC_DEBUG_TX whth RTE_ETHDEV_DEBUG_TX. 3. merge RTE_LIBRTE_ETHDEV_DEBUG int

Re: [dpdk-dev] [PATCH v2] mem: fix cleanup when multi-process is disabled

2021-03-25 Thread Ranjit Menon
On 3/24/2021 12:32 PM, Dmitry Kozlyuk wrote: rte_eal_memory_detach() did not account for cases where multi-process mode is disabled: --in-memory and --no-shconf. This resulted in unmapping memory that had not been mapped, which caused errors: EAL: Could not unmap memory: No error (Windows

Re: [dpdk-dev] [dpdk-stable] [PATCH] EAL: Called remove() of drivers for vdev and pci buses

2021-03-25 Thread David Marchand
On Sun, Oct 25, 2020 at 10:28 PM Muhammad Bilal wrote: > > On Tue, Oct 20, 2020 at 6:43 PM David Marchand > wrote: > > > > Hello, > Hi > > > > On Sat, Sep 12, 2020 at 9:53 PM Gaëtan Rivet wrote: > > > > > > On 08/07/20 17:03 +0500, Muhammad Bilal wrote: > > > > while using memif with app, the re

Re: [dpdk-dev] [PATCH] test/autotest: checking for skipped or unsupported tests

2021-03-25 Thread David Marchand
On Tue, Jun 2, 2020 at 6:53 PM David Christensen wrote: > > > - When running the dedault configuration of autotest of the make test > >it'd take 900 seconds (15 minutes) for the script TIMEOUT and marks > >Failed for a specific device test that is not supported on the > >system under

Re: [dpdk-dev] [PATCH v4 0/4] add travis ci support for ppc64le

2021-03-25 Thread David Marchand
On Thu, Apr 2, 2020 at 7:13 PM David Wilder wrote: > > This patch series adds Travis gcc compilation jobs and unit testing > for ppc64le. Limitations for ppc64le are similar to arm64 (see commit > 31bb45bcfd). > > 1. Only gcc builds are supported on ppc64le. > 2. Hugepages are not available in th

Re: [dpdk-dev] [PATCH 1/7] common/octeontx: enable build only on 64bit Linux

2021-03-25 Thread David Marchand
On Thu, Mar 25, 2021 at 3:57 PM Thomas Monjalon wrote: > > > > In the past we said that depreciating HW support would be considered to > > > > be same as an ABI Breakage. > > > > > > > > From the policy ... > > > > "Updates to the minimum hardware requirements, which drop support for > > > > har

Re: [dpdk-dev] [PATCH v2 0/2] Use WFE for spinlock and ring

2021-03-25 Thread David Marchand
Hello, On Fri, Sep 25, 2020 at 4:30 PM David Marchand wrote: > > Hello Honnappa, > > On Sun, May 3, 2020 at 11:32 PM Honnappa Nagarahalli > wrote: > > > > > > > > > Subject: Re: [PATCH v2 0/2] Use WFE for spinlock and ring > > > > > > On Sun, Apr 26, 2020 at 10:39 AM Gavin Hu wrote: > > > > >

Re: [dpdk-dev] [PATCH 1/7] common/octeontx: enable build only on 64bit Linux

2021-03-25 Thread Thomas Monjalon
25/03/2021 13:46, Jerin Jacob: > On Thu, Mar 25, 2021 at 4:33 PM Thomas Monjalon wrote: > > 25/03/2021 11:58, Kinsella, Ray: > > > On 25/03/2021 10:46, Thomas Monjalon wrote: > > > > 25/03/2021 11:42, Thomas Monjalon: > > > >> I've reorganized the commits per family of drivers, > > > >> so it make

[dpdk-dev] [PATCH 21.11 v2 3/3] common/octeontx2: enable build only on 64-bit Linux

2021-03-25 Thread Thomas Monjalon
From: Pavan Nikhilesh Due to Linux kernel dependency, only enable build for 64-bit Linux. Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- drivers/common/octeontx2/meson.build | 4 ++-- drivers/event/octeontx2/meson.build | 4 ++-- drivers/mempool/octeontx2/meson.build | 9 ++---

[dpdk-dev] [PATCH 21.11 v2 2/3] common/octeontx: enable build only on 64-bit Linux

2021-03-25 Thread Thomas Monjalon
From: Pavan Nikhilesh Due to Linux kernel dependency, only enable build for 64-bit Linux. Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- drivers/common/octeontx/meson.build | 6 ++ drivers/compress/octeontx/meson.build | 6 ++ drivers/crypto/octeontx/meson.build | 7

[dpdk-dev] [PATCH 21.11 v2 1/3] net/thunderx: enable build only on 64-bit Linux

2021-03-25 Thread Thomas Monjalon
From: Pavan Nikhilesh Due to Linux kernel dependency, only enable build for 64-bit Linux. Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- drivers/net/thunderx/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/thunderx/meson.build b/driver

[dpdk-dev] [PATCH 21.11 v2 0/3] octeontx build only on 64-bit Linux

2021-03-25 Thread Thomas Monjalon
This is a reorg of the patches from Pavan. It has been discussed that it should wait for DPDK 21.11 for ABI compatibility reason. Pavan Nikhilesh (3): net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-

Re: [dpdk-dev] [PATCH] eal: changes for setting control thread mask

2021-03-25 Thread David Marchand
On Tue, Apr 21, 2020 at 10:01 AM David Marchand wrote: > > On Tue, Apr 21, 2020 at 9:42 AM Kiran KN wrote: > > Define a global variable ctrl_thread_set which the application can set. > > If this is the case, use this for setting control thread affinity instead > > of deducing it from the existing

Re: [dpdk-dev] [PATCH v2] eal: fix race in ctrl thread creation

2021-03-25 Thread Luc Pelletier
Hi Olivier, > Thank you for reporting this problem and submitting the patch. > I think the issue can be fixed without any loop, like in this > patch. What do you think? I think getting rid of the loop is an excellent idea. Good thinking. Your version is much cleaner. > + __atomic_store_n(¶

Re: [dpdk-dev] [Linuxarm] [PATCH V2 0/4] add Hisilicon kunpeng CPU support

2021-03-25 Thread Thomas Monjalon
25/03/2021 14:26, oulijun: > 在 2021/3/25 20:19, Thomas Monjalon 写道: > > 25/03/2021 12:17, oulijun: > >> Ruifeng has reviewed-by. Does anyone else have any comments? Is it > >> necessary to send the V2? > > > > v2 for what? There is a change? > > > No. no change. So why are you asking to send a v

Re: [dpdk-dev] [PATCH] eal: prefix telemetry initialization message

2021-03-25 Thread Thomas Monjalon
09/03/2021 15:03, Bruce Richardson: > On Tue, Mar 09, 2021 at 10:59:52AM +, Bruce Richardson wrote: > > On Mon, Mar 08, 2021 at 11:23:38PM +0100, Thomas Monjalon wrote: > > > If the telemetry library initialization has some issue, > > > the error message is returned in a string > > > (to avoid

Re: [dpdk-dev] [PATCH v4] eal: fix create user mem map repeatedly when it exists

2021-03-25 Thread Thomas Monjalon
07/12/2020 12:08, wangyunjian: > From: Yunjian Wang > > Currently, user mem maps will check if the newly mapped area is adjacent > to any existing mapping, but will not check if the mapping is identical > because it assumes that the API will never get called with the same > mapping twice. This wi

Re: [dpdk-dev] [PATCH dpdk-dev v3 2/2] mempool: use shared memzone for rte_mempool_ops

2021-03-25 Thread David Marchand
On Mon, May 4, 2020 at 9:42 AM Olivier Matz wrote: > > Hi, > > On Tue, Apr 28, 2020 at 09:22:37PM +0800, Tonghao Zhang wrote: > > On Mon, Apr 27, 2020 at 8:51 PM Tonghao Zhang > > wrote: > > > > > > On Mon, Apr 27, 2020 at 7:40 PM Thomas Monjalon > > > wrote: > > > > > > > > 27/04/2020 10:03,

Re: [dpdk-dev] [PATCH v2 2/2] examples/vhost_blk: Check protocol features before getting inflight info

2021-03-25 Thread Maxime Coquelin
On 3/22/21 8:22 AM, Keiichi Watanabe wrote: > Avoid calling rte_vhost_get_vhost_ring_inflight() and > rte_vhost_get_vring_base_from_inflight() when > VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD is not set. > > Signed-off-by: Keiichi Watanabe > --- > examples/vhost_blk/vhost_blk.c | 23 ++

Re: [dpdk-dev] [PATCH v2 1/4] telemetry: use rte_log for logging

2021-03-25 Thread Bruce Richardson
On Thu, Mar 25, 2021 at 03:09:32PM +0100, David Marchand wrote: > On Thu, Mar 25, 2021 at 2:57 PM Bruce Richardson > wrote: > > > > Rather than passing back an error string to the caller, take as input the > > rte_log function to use, and just use regular logging. > > > > Signed-off-by: Bruce Rich

Re: [dpdk-dev] [PATCH] tailq: secondary process may not have all tailq available

2021-03-25 Thread David Marchand
On Mon, Jan 18, 2021 at 6:55 AM Hemant Agrawal wrote: > On 1/14/2021 7:14 PM, David Marchand wrote: > > On Thu, Jan 14, 2021 at 8:24 AM Hemant Agrawal > > wrote: > >> Secondary process may not have all the tailq available for > >> mapping, so better to ignore the error. > >> > >> e.g. if the pri

Re: [dpdk-dev] [PATCH v2 1/2] vhost: Add API to get negotiated protocol features

2021-03-25 Thread Maxime Coquelin
On 3/22/21 8:22 AM, Keiichi Watanabe wrote: > Add rte_vhost_get_negotiated_protocol_features, which returns a set of > enabled protocol features. > > Signed-off-by: Keiichi Watanabe > --- > lib/librte_vhost/rte_vhost.h | 15 +++ > lib/librte_vhost/version.map | 1 + > lib/librte_

Re: [dpdk-dev] [PATCH] maintainers: update for telemetry

2021-03-25 Thread Kevin Laatz
On 25/03/2021 11:53, Ciara Power wrote: Replace Kevin Laatz with Ciara Power. Signed-off-by: Ciara Power --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 0f5e745cd0..0ec5588540 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1

Re: [dpdk-dev] [PATCH v2 1/4] telemetry: use rte_log for logging

2021-03-25 Thread David Marchand
On Thu, Mar 25, 2021 at 2:57 PM Bruce Richardson wrote: > > Rather than passing back an error string to the caller, take as input the > rte_log function to use, and just use regular logging. > > Signed-off-by: Bruce Richardson > Acked-by: Ciara Power I guess this replaces http://patchwork.dpdk.

[dpdk-dev] [PATCH v2 4/4] telemetry: move init function to internal header

2021-03-25 Thread Bruce Richardson
The rte_telemetry_init() function is for EAL use only, so can be moved to the internal header rather than being in the public one. Signed-off-by: Bruce Richardson Acked-by: Ciara Power --- lib/librte_eal/freebsd/eal.c | 2 +- lib/librte_eal/linux/eal.c| 2 +- lib/

[dpdk-dev] [PATCH v2 3/4] telemetry: rename internal-only header file

2021-03-25 Thread Bruce Richardson
The header file containing the legacy telemetry function prototypes was all internal-only, so we rename the file to be an internal-only one to make it clearer it's not for installation. Signed-off-by: Bruce Richardson Acked-by: Ciara Power --- lib/librte_metrics/rte_metrics_telemetry.c

[dpdk-dev] [PATCH v2 2/4] telemetry: make the legacy registration function internal

2021-03-25 Thread Bruce Richardson
The function for registration of callbacks for legacy telemetry was documented as internal-only in the API documents, but marked as experimental in the version.map file. Since this is an internal-only function, for consistency we update the version mapping to have it as internal. Signed-off-by: Br

[dpdk-dev] [PATCH v2 1/4] telemetry: use rte_log for logging

2021-03-25 Thread Bruce Richardson
Rather than passing back an error string to the caller, take as input the rte_log function to use, and just use regular logging. Signed-off-by: Bruce Richardson Acked-by: Ciara Power --- lib/librte_eal/freebsd/eal.c | 10 ++-- lib/librte_eal/linux/eal.c | 10 ++-- lib/librte_t

[dpdk-dev] [PATCH v2 0/4] telemetry logging improvements and cleanup

2021-03-25 Thread Bruce Richardson
This set adds support for using the regular rte_log functions from the telemetry library; avoiding circular dependencies by having EAL register the telemetry library itself and then passing the required handles to that library as part of the telemetry_init call. Beyond this change, the other three

[dpdk-dev] DPDKthe packet capture performance increases steeply between 11 Rx queues and 12 Rx queues. Any idea why?

2021-03-25 Thread Rajesh R
Hi, We are experimenting with testpmd packet generation and capture at 100 Gbps on two machines back to back. We are observing a peculiar behaviour that the packet capture performance increases steeply between 11 Rx queues and 12 Rx queues. Any idea why? The details of the setup are given below: D

Re: [dpdk-dev] [dpdk-dev v21.11] [PATCH v5 8/8] eventdev: simplify Rx adapter event vector config

2021-03-25 Thread Pavan Nikhilesh Bhagavatula
>> From: pbhagavat...@marvell.com >> Sent: Wednesday, March 24, 2021 10:35 AM >> To: jer...@marvell.com; Jayatheerthan, Jay >; Carrillo, Erik G >; Gujjar, >> Abhinandan S ; McDaniel, Timothy >; hemant.agra...@nxp.com; Van >> Haaren, Harry ; mattias.ronnblom >; Ma, Liang J >> ; Ray Kinsella ; Neil

Re: [dpdk-dev] [PATCH v4] eal: fix create user mem map repeatedly when it exists

2021-03-25 Thread wangyunjian
Friendly ping. > -Original Message- > From: wangyunjian > Sent: Monday, December 7, 2020 7:09 PM > To: dev@dpdk.org > Cc: david.march...@redhat.com; tho...@monjalon.net; > anatoly.bura...@intel.com; Lilijun (Jerry) ; > xudingke > ; wangyunjian ; > sta...@dpdk.org > Subject: [dpdk-dev] [PA

Re: [dpdk-dev] [dpdk-stable] [PATCH] mem: fix free segment when using huge-unlink option

2021-03-25 Thread David Marchand
Hello, On Mon, Mar 1, 2021 at 11:44 AM Burakov, Anatoly wrote: > > On 28-Feb-21 1:21 PM, Roy Shterman wrote: > > > > > > On Mon, Feb 22, 2021 at 5:53 PM Burakov, Anatoly > > mailto:anatoly.bura...@intel.com>> wrote: > > > > On 22-Feb-21 10:41 AM, Roy Shterman wrote: > > > When using huge

Re: [dpdk-dev] [PATCH] librte_eal: add APIs to speedup virt2iova/phys

2021-03-25 Thread David Marchand
Hello, On Mon, Apr 20, 2020 at 4:13 PM Li Feng wrote: > > Cool, thank you, Anatoly and Kozlyuk. > > I haven't found how Windows implements the rte_mem_virt2phy. > > Using an opaque structure pointer as the first argument is a good idea. I pinged about this patch status 6 months ago but got no re

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

2021-03-25 Thread Min Hu (Connor)
在 2021/3/24 16:08, Li, Xiaoyun 写道: Hi -Original Message- From: dev On Behalf Of Min Hu (Connor) Sent: Monday, March 22, 2021 15:07 To: dev@dpdk.org Cc: Yigit, Ferruh ; ajit.khapa...@broadcom.com Subject: [dpdk-dev] [PATCH v4] app/testpmd: support multi-process From: Lijun Ou This

Re: [dpdk-dev] [Linuxarm] [PATCH V2 0/4] add Hisilicon kunpeng CPU support

2021-03-25 Thread oulijun
在 2021/3/25 20:19, Thomas Monjalon 写道: 25/03/2021 12:17, oulijun: Ruifeng has reviewed-by. Does anyone else have any comments? Is it necessary to send the V2? v2 for what? There is a change? No. no change. 在 2021/3/25 17:07, Thomas Monjalon 写道: 25/03/2021 09:54, oulijun: Hi, Thomas&&

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

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

  1   2   >