[dpdk-dev] [PATCH v3 2/2] examples/l3fwd: eliminate unnecessary reloads in loop

2021-06-09 Thread Ruifeng Wang
Number of rx queue and number of rx port in lcore config are constants during the period of l3 forward application running. But compiler has no this information. Copied values from lcore config to local variables and used the local variables for iteration. Compiler can see that the local variables

[dpdk-dev] [PATCH v3 1/2] examples/l3fwd: eliminate unnecessary calculations

2021-06-09 Thread Ruifeng Wang
Both L2 and L3 headers will be used in forward processing. And these two headers are in the same cache line. It has the same effect for prefetching with L2 header address and prefetching with L3 header address. Changed to use L2 header address for prefetching. The change showed no measurable perfo

[dpdk-dev] [PATCH v3 0/2] l3fwd improvements

2021-06-09 Thread Ruifeng Wang
This series of patches include changes to l3fwd example application. Some improvements are made for better usage of CPU cycles and memory. v3: Dropped 1/3 code reorg from v2. v2: Dropped 1/4 prefetch to write change from v1. Dropped 4/4 data struct change from v1. Added 1/3 code reorganize. Updat

Re: [dpdk-dev] [PATCH 00/28] add support for baseband phy

2021-06-09 Thread Jerin Jacob
On Tue, Jun 1, 2021 at 3:11 AM Tomasz Duszynski wrote: > > This series adds initial support for baseband PHY available on SOCs > belonging to Fusion family. BPHY is a hardware block comprising > accelerators and DSPs specifically tailored for 5G/LTE usecases. 5G/LTE inline use cases. > > This se

Re: [dpdk-dev] [PATCH 1/2] net/bonding: support Tx prepare for bonding

2021-06-09 Thread Chengchang Tang
On 2021/6/9 18:25, Ananyev, Konstantin wrote: >>> On 4/23/21 12:46 PM, Chengchang Tang wrote: To use the HW offloads capability (e.g. checksum and TSO) in the Tx direction, the upper-layer users need to call rte_eth_dev_prepare to do some adjustment to the packets before sending t

Re: [dpdk-dev] [PATCH 09/28] raw/cnxk_bphy: add bphy cgx/rpm skeleton driver

2021-06-09 Thread Jerin Jacob
On Tue, Jun 1, 2021 at 3:13 AM Tomasz Duszynski wrote: > > Add baseband phy cgx/rpm skeleton driver. At this point > it merely probes a matching device. > > Signed-off-by: Tomasz Duszynski > Signed-off-by: Jakub Palider > --- > MAINTAINERS | 5 + > doc/guides/rawdevs

[dpdk-dev] [PATCH v5 4/4] net/iavf: support AVF RSS for GTPoGRE packet

2021-06-09 Thread Lingyu Liu
Support AVF RSS for inner most header of GTPoGRE packet. It supports RSS based on inner most IP src + dst address and TCP/UDP src + dst port. Signed-off-by: Lingyu Liu --- drivers/net/iavf/iavf_hash.c | 154 +-- 1 file changed, 127 insertions(+), 27 deletions(-)

[dpdk-dev] [PATCH v5 3/4] net/iavf: support AVF FDIR for GTPoGRE tunnel packet

2021-06-09 Thread Lingyu Liu
Support AVF FDIR for inner header of GTPoGRE tunnel packet. ++---+ |Pattern |Input Set | ++---+ |eth/ipv4/gre/ipv4/gtpu/(

[dpdk-dev] [PATCH v5 2/4] common/iavf: add header types for GRE

2021-06-09 Thread Lingyu Liu
Add a virtchnl protocol header type to support AVF FDIR and RSS for GRE. Signed-off-by: Lingyu Liu --- drivers/common/iavf/virtchnl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h index 3a60faff93..197edce8a1 100644 --- a/driv

[dpdk-dev] [PATCH v5 0/4] support AVF RSS and FDIR for GTPoGRE packet

2021-06-09 Thread Lingyu Liu
Support AVF RSS and FDIR for GTPoGRE packet. Lingyu Liu (4): net/iavf: support flow pattern for GTPoGRE common/iavf: add header types for GRE net/iavf: support AVF FDIR for GTPoGRE tunnel packet net/iavf: support AVF RSS for GTPoGRE packet --- V5 change: - refine protocol header for tw

[dpdk-dev] [PATCH v5 1/4] net/iavf: support flow pattern for GTPoGRE

2021-06-09 Thread Lingyu Liu
Add GTPoGRE pattern support for AVF FDIR and RSS. Signed-off-by: Lingyu Liu --- drivers/net/iavf/iavf_generic_flow.c | 600 +++ drivers/net/iavf/iavf_generic_flow.h | 80 2 files changed, 680 insertions(+) diff --git a/drivers/net/iavf/iavf_generic_flow.c b/driver

Re: [dpdk-dev] [RFC v2] bus/auxiliary: introduce auxiliary bus

2021-06-09 Thread Xueming(Steven) Li
> -Original Message- > From: Thomas Monjalon > Sent: Tuesday, June 8, 2021 3:53 PM > To: Xueming(Steven) Li > Cc: dev@dpdk.org; Parav Pandit ; Ray Kinsella > ; Wang Haiyue ; > andrew.rybche...@oktetlabs.ru > Subject: Re: [dpdk-dev] [RFC v2] bus/auxiliary: introduce auxiliary bus > > 1

Re: [dpdk-dev] [RFC v2] bus/auxiliary: introduce auxiliary bus

2021-06-09 Thread Xueming(Steven) Li
> -Original Message- > From: Wang, Haiyue > Sent: Tuesday, June 8, 2021 4:41 PM > To: NBU-Contact-Thomas Monjalon ; Xueming(Steven) Li > > Cc: dev@dpdk.org; Parav Pandit ; Ray Kinsella > ; andrew.rybche...@oktetlabs.ru > Subject: RE: [dpdk-dev] [RFC v2] bus/auxiliary: introduce auxil

Re: [dpdk-dev] [PATCH 2/2] net/bonding: support configuring Tx offloading for bonding

2021-06-09 Thread Chengchang Tang
Hi, Andrew and Ananyev On 2021/6/9 17:37, Andrew Rybchenko wrote: > On 6/9/21 12:11 PM, Ananyev, Konstantin wrote: >> >>> >>> >>> On 2021/6/8 17:49, Andrew Rybchenko wrote: "for bonding" is redundant in the summary since it is already "net/bonding" On 4/23/21 12:46 PM, Chengcha

Re: [dpdk-dev] [PATCH 06/28] common/cnxk: add support for setting link mode

2021-06-09 Thread Jerin Jacob
On Tue, Jun 1, 2021 at 3:12 AM Tomasz Duszynski wrote: > > Add support for setting link mode. > > Signed-off-by: Tomasz Duszynski > Signed-off-by: Jakub Palider > --- > drivers/common/cnxk/roc_bphy_cgx.c | 28 > drivers/common/cnxk/roc_bphy_cgx.h | 11 + > drivers/com

Re: [dpdk-dev] [PATCH 04/28] common/cnxk: add support for changing internal loopback

2021-06-09 Thread Jerin Jacob
On Tue, Jun 1, 2021 at 3:12 AM Tomasz Duszynski wrote: > > Add support for enabling or disabling internal loopback. > > Signed-off-by: Tomasz Duszynski > Signed-off-by: Jakub Palider In all the git commit message we can shorten From: common/cnxk: add support for changing internal loopback To

Re: [dpdk-dev] [PATCH v2 0/2] fixes for link speed

2021-06-09 Thread Huisong Li
在 2021/6/8 18:29, Andrew Rybchenko 写道: What is the difference of v2 from v1? Please, try to add version changelog in the future. ok😁 On 4/28/21 11:36 AM, Min Hu (Connor) wrote: This patchset contains fixes for link speed in testpmd. Huisong Li (2): app/testpmd: add link speed check befor

Re: [dpdk-dev] [PATCH v2 1/2] app/testpmd: add link speed check before port start

2021-06-09 Thread Huisong Li
在 2021/6/8 18:49, Andrew Rybchenko 写道: On 4/28/21 11:36 AM, Min Hu (Connor) wrote: From: Huisong Li Currently, to check whether the configured link_speeds is valid, we have to run "port start". In addition, if the configuration fails, "port->dev_conf.link_speeds" maintained in testpmd cannot

[dpdk-dev] [RFC] porting AddressSanitizer feature to DPDK

2021-06-09 Thread zhihongx . peng
From: Zhihong Peng AddressSanitizer (ASan) is a google memory error detect standard tool. It could help to detect use-after-free and {heap,stack,global}-buffer overflow bugs in C/C++ programs, print detailed error information when error happens, large improve debug efficiency. By referring to it

Re: [dpdk-dev] [PATCH 03/28] common/cnxk: add support for getting link information

2021-06-09 Thread Jerin Jacob
On Tue, Jun 1, 2021 at 3:12 AM Tomasz Duszynski wrote: > > Add support for retrieving link information. > > Signed-off-by: Tomasz Duszynski > Signed-off-by: Jakub Palider > --- > +enum roc_bphy_cgx_eth_link_speed { > + ROC_BPHY_CGX_ETH_LINK_SPEED_NONE, > + ROC_BPHY_CGX_ETH_LINK_SPEED

Re: [dpdk-dev] [PATCH 02/28] common/cnxk: add support for communication with atf

2021-06-09 Thread Jerin Jacob
On Tue, Jun 1, 2021 at 3:12 AM Tomasz Duszynski wrote: > > Messages can be exchanged between userspace software and firmware > via set of two dedicated registers, namely scratch1 and scratch0. > > scratch1 acts as a command register i.e message is sent to firmware, > while scratch0 holds response

Re: [dpdk-dev] [PATCH] net: introduce IPv4 ihl and version fields

2021-06-09 Thread Gregory Etelson
Hello, There was no activity that patch for a long time. The patch is marked as failed, but we verified failed tests and concluded that the failures can be ignored. https://patchwork.dpdk.org/project/dpdk/patch/20210527152858.13312-1-getel...@nvidia.com/ How should I proceed with this case ? Plea

Re: [dpdk-dev] [RFC v2] bus/auxiliary: introduce auxiliary bus

2021-06-09 Thread Xueming(Steven) Li
> -Original Message- > From: Kinsella, Ray > Sent: Tuesday, May 11, 2021 5:48 PM > To: Xueming(Steven) Li ; NBU-Contact-Thomas Monjalon > > Cc: dev@dpdk.org; Parav Pandit ; Neil Horman > ; Wang Haiyue > > Subject: Re: [RFC v2] bus/auxiliary: introduce auxiliary bus > // snip // >

[dpdk-dev] [PATCH v1] net/ice: fix RSS for L2 packet

2021-06-09 Thread Wenjun Wu
L2 RSS support was deleted by mistake during code refactoring. This patch adds it again. Fixes: 38d632cbdc88 ("net/ice: refactor PF RSS") Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_flow.c | 2 +- drivers/net/ice/ice_hash.c | 17 + 2 files changed, 18 insertions(

[dpdk-dev] [PATCH v1] net/ice/base: fix wrong ptype bitmap for IP fragment

2021-06-09 Thread Ting Xu
IPv4 and IPv6 fragment ptypes are supposed to be separated from IP other ptypes. New bitmaps for IP fragment ptypes were created, but the IP fragment ptypes were not deleted from the previous non-frag bitmaps, which will cause conflicts. This patch removes IP fragment ptypes from the non-frag bitma

[dpdk-dev] [PATCH] examples/l2fwd: fix l2fwd long options parse issue

2021-06-09 Thread SunChengLian
Readd other long options case in l2fwd_parse_args function to ensure all long options will work well. Fixes: fa19eb20d2126d8bc63acc8f336a353dfaf8c354 ("examples/l2fwd: add forwarding port mapping option") Cc: sta...@dpdk.org Signed-off-by: SunChengLian --- examples/l2fwd/main.c | 3 +++ 1 file

Re: [dpdk-dev] [PATCH v9 07/10] eal: implement functions for mutex management

2021-06-09 Thread Dmitry Kozlyuk
2021-06-09 02:04 (UTC+0300), Dmitry Kozlyuk: > 2021-06-04 16:44 (UTC-0700), Narcisa Ana Maria Vasile: > [...] > > diff --git a/lib/eal/include/rte_thread_types.h > > b/lib/eal/include/rte_thread_types.h > > index d67b24a563..7bb0d2948c 100644 > > --- a/lib/eal/include/rte_thread_types.h > > +++ b/

Re: [dpdk-dev] [dpdk-ci] [PATCH v2] pmdinfogen: allow padding after NUL terminator

2021-06-09 Thread Owen Hilyard
Hi Dmitry, Those failures are the result of a known issue with that machine. Those tests were disabled on that machine shortly after you submitted that patch. I've re-run the patch. Owen Hilyard On Wed, Jun 9, 2021 at 12:48 PM Dmitry Kozlyuk wrote: > 2021-06-09 12:01 (UTC-0400), Lincoln Lavoie

Re: [dpdk-dev] [dpdk-ci] [PATCH v2] pmdinfogen: allow padding after NUL terminator

2021-06-09 Thread Dmitry Kozlyuk
2021-06-09 12:01 (UTC-0400), Lincoln Lavoie: > Hi Dmitry, > > If the failing test is the unit test func_reentrancy_autotest, that is > being looked into , as it seems like the test case does not reliably run. > It passes / fails between different systems running both on bare metal and > in virtual

Re: [dpdk-dev] [dpdk-ci] [PATCH v2] pmdinfogen: allow padding after NUL terminator

2021-06-09 Thread Lincoln Lavoie
Hi Dmitry, If the failing test is the unit test func_reentrancy_autotest, that is being looked into , as it seems like the test case does not reliably run. It passes / fails between different systems running both on bare metal and in virtual environments, on different OSes and architectures. Do y

Re: [dpdk-dev] [PATCH v2] pmdinfogen: allow padding after NUL terminator

2021-06-09 Thread Dmitry Kozlyuk
2021-05-28 00:24 (UTC+0300), Dmitry Kozlyuk: > Size of string constant symbol may be larger than its length > measured up to NUL terminator. In this case pmdinfogen included padding > bytes after NUL terminator in generated source, yielding incorrect code. > > Always trim string data to NUL termin

Re: [dpdk-dev] [EXT] [PATCH v3] doc: announce API changes for Windows compatibility

2021-06-09 Thread Dmitry Kozlyuk
2021-05-20 20:17 (UTC+), Akhil Goyal: > > > > 2021-05-20 18:59 (UTC+), Akhil Goyal: > > > > Windows system headers define `s_addr`, `min`, and `max` macros which > > > > break structure definitions containing fields with one of these names. > > > > Undefining those macros would break con

Re: [dpdk-dev] [PATCH] net/mlx5: fix aging counter deallocation

2021-06-09 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Matan Azrad > Sent: Wednesday, June 9, 2021 3:33 PM > To: dev@dpdk.org > Cc: Slava Ovsiienko ; sta...@dpdk.org; Bing Zhao > > Subject: [dpdk-dev] [PATCH] net/mlx5: fix aging counter deallocation > > When a counter is destroyed and used f

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-09 Thread Andrew Rybchenko
On 6/8/21 9:49 PM, Thomas Monjalon wrote: > 08/06/2021 18:32, Andrew Rybchenko: >> On 6/8/21 7:13 PM, Thomas Monjalon wrote: >>> We will be at least 4 tomorrow Wednesday 3pm UTC. >>> Everybody is welcome to join the community meeting: >>> https://zoom.us/j/93391811485 >> Invite has July, 7. Typ

[dpdk-dev] [PATCH v2 2/2] net/nfp: fix PF secondary process probing

2021-06-09 Thread Heinrich Kuhn
This patch creates a new function for handling PF probing of a secondary process. A CPP handle is obtained for the CPP bridge service and the service itself is also registered during secondary process initialization. DPDK services aren't shared between processes so it is not enough to only have the

[dpdk-dev] [PATCH v2 1/2] net/nfp: improve PF probing logic

2021-06-09 Thread Heinrich Kuhn
When using rte_eth_dev_pci_generic_probe() during probing a rte_eth_dev will be created with the name field corresponding to the PCI address of the device. NFP4000/6000 devices only have a single PF (but potentially multiple physical ports). This means that in a simple two port example the rte_eth_

Re: [dpdk-dev] [PATCH] net/mlx5: fix meter policy creation error flow

2021-06-09 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Li Zhang > Sent: Wednesday, June 9, 2021 5:07 AM > To: Ori Kam ; Slava Ovsiienko > ; Matan Azrad ; NBU- > Contact-Thomas Monjalon > Cc: dev@dpdk.org; Raslan Darawsheh ; Asaf Penso > ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix meter policy creation

Re: [dpdk-dev] [PATCH] common/mlx5: add provider query port support to glue library

2021-06-09 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Slava Ovsiienko > Sent: Monday, June 7, 2021 12:37 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; sta...@dpdk.org > Subject: [PATCH] common/mlx5: add provider query port support to glue > library > > The rdma-core mlx5 provider introduced

Re: [dpdk-dev] Reg 6Wind fastpath DPDK 18.11.1 virtual memory allocation ( 54.5GB of anonymous mapping)

2021-06-09 Thread Bruce Richardson
On Wed, Jun 09, 2021 at 02:28:04PM +0200, David Marchand wrote: > On Wed, Jun 9, 2021 at 2:02 PM Shanmugasundaram M wrote: > > We are using 6Wind fastpath(fp-rte) which is using DPDK version 18.11.1. > > We are seeing 65.5G(preallocated during startup) of virtual memory for > > fp-rte on a 32GB

Re: [dpdk-dev] [RFC PATCH 1/3] sched: add pie based congestion management

2021-06-09 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Liguzinski, > WojciechX > Sent: Wednesday, 9 June 2021 10.37 > > > From: Morten Brørup > > Sent: Tuesday, May 25, 2021 11:17 AM > > > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Liguzinski, > > > WojciechX > > > Sent: Monday, 24

[dpdk-dev] [PATCH] net/mlx5: fix aging counter deallocation

2021-06-09 Thread Matan Azrad
When a counter is destroyed and used for aging action, the driver should remove the counter object from the age-out list if it is there. The counter memory of the list entry and of the counter shared information is shared because, currently, shared counter cannot be used for aging. When the suppo

Re: [dpdk-dev] Reg 6Wind fastpath DPDK 18.11.1 virtual memory allocation ( 54.5GB of anonymous mapping)

2021-06-09 Thread David Marchand
On Wed, Jun 9, 2021 at 2:02 PM Shanmugasundaram M wrote: > We are using 6Wind fastpath(fp-rte) which is using DPDK version 18.11.1. > We are seeing 65.5G(preallocated during startup) of virtual memory for > fp-rte on a 32GB machine, 10G of that was huge pages (5000 mappings of 2M.) > > We found

[dpdk-dev] [PATCH 2/2] net/nfp: fix PF secondary process probing

2021-06-09 Thread Heinrich Kuhn
This patch creates a new function for handling PF probing of a secondary process. A CPP handle is obtained for the CPP bridge service and the service itself is also registered during secondary process initialization. DPDK services aren't shared between processes so it is not enough to only have the

[dpdk-dev] [PATCH 1/2] net/nfp: improve PF probing logic

2021-06-09 Thread Heinrich Kuhn
When using rte_eth_dev_pci_generic_probe() during probing a rte_eth_dev will be created with the name field corresponding to the PCI address of the device. NFP4000/6000 devices only have a single PF (but potentially multiple physical ports). This means that in a simple two port example the rte_eth_

Re: [dpdk-dev] Does memif support primary<->secondary process communication?

2021-06-09 Thread Wu, Jianyue (NSB - CN/Hangzhou)
BTW, I use it for primary and secondary communication, so that will use memif to share data between primary and secondary. Thanks. Best Regards, Dave(Jianyue) From: Wu, Jianyue (NSB - CN/Hangzhou) Sent: 2021年6月9日 19:26 To: us...@dpdk.org; 'dev@dpdk.org' Subject: Does memif support primary<->sec

[dpdk-dev] Reg 6Wind fastpath DPDK 18.11.1 virtual memory allocation ( 54.5GB of anonymous mapping)

2021-06-09 Thread Shanmugasundaram M
Dear Team, We are using 6Wind fastpath(fp-rte) which is using DPDK version 18.11.1. We are seeing 65.5G(preallocated during startup) of virtual memory for fp-rte on a 32GB machine, 10G of that was huge pages (5000 mappings of 2M.) We found 4 strange anon (4K size) segments totaling 54.5G (16+1

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

2021-06-09 Thread Xueming(Steven) Li
Hi all, Thanks Kevin's feedback, there are some patches missing between v21.05-rc1..v21.05. Will roll out rc2 to include them all, please hold test and verification. Best Regards, Xueming > -Original Message- > From: Xueming(Steven) Li > Sent: Tuesday, June 1, 2021 3:55 PM > Cc: dev@d

Re: [dpdk-dev] [PATCH v5] eal: arm: fix out of tree build

2021-06-09 Thread Jerin Jacob
On Wed, Jun 9, 2021 at 3:48 PM Michael Pfeiffer wrote: > > Including various headers may fail for ARM builds with 'Platform must > be built with RTE_FORCE_INTRINSICS' if rte_config.h is not included > before. Move the error message after the includes to ensure rte_config.h > is always included. >

[dpdk-dev] Does memif support primary<->secondary process communication?

2021-06-09 Thread Wu, Jianyue (NSB - CN/Hangzhou)
Hello, May I ask a question about memif? When I'm trying to develop a communication mechanism for two processes, which also need to share memzones between the processes, so need primary<->secondary. https://doc.dpdk.org/guides/nics/memif.html But from the guideline, it seems always use primary<->

Re: [dpdk-dev] [PATCH v2 55/62] net/cnxk: add base PTP timesync support

2021-06-09 Thread Nithin Dabilpuram
On Tue, Jun 08, 2021 at 12:04:45PM +, Pavan Nikhilesh Bhagavatula wrote: > > > > > >+static __rte_always_inline void > >+cn10k_nix_xmit_prepare_tstamp(uintptr_t lmt_addr, const uint64_t > >*cmd, > >+ const uint64_t ol_flags, const uint16_t > >no_segdw, > >+

Re: [dpdk-dev] [PATCH v2 02/62] common/cnxk: update Rx inline IPsec mbox message format

2021-06-09 Thread Nithin Dabilpuram
On Tue, Jun 08, 2021 at 03:26:08PM +0300, Andrew Rybchenko wrote: > On 6/7/21 8:58 PM, Nithin Dabilpuram wrote: > > From: Srujana Challa > > > > Updates Rx inline IPSEC mailbox message format to make it > > sync with latest CPT PF driver. > > > > Signed-off-by: Srujana Challa > > --- > > drive

[dpdk-dev] [RFC PATCH v1 3/3] example/ip_pipeline: add PIE support

2021-06-09 Thread Liguzinski, WojciechX
Adding the PIE support for IP Pipeline Signed-off-by: Liguzinski, WojciechX --- examples/ip_pipeline/tmgr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ip_pipeline/tmgr.c b/examples/ip_pipeline/tmgr.c index e4e364cbc0..73da2da870 100644 --- a/examples/ip_pi

[dpdk-dev] [RFC PATCH v1 2/3] example/qos_sched: add PIE support

2021-06-09 Thread Liguzinski, WojciechX
patch add support enable PIE or RED by parsing config file. Signed-off-by: Liguzinski, WojciechX --- config/rte_config.h | 1 - examples/qos_sched/app_thread.c | 1 - examples/qos_sched/cfg_file.c | 82 ++--- examples/qos_sched/init.c | 7 +- examples/qos_sched

[dpdk-dev] [RFC PATCH v1 1/3] sched: add PIE based congestion management

2021-06-09 Thread Liguzinski, WojciechX
Implement PIE based congestion management based on rfc8033 Signed-off-by: Liguzinski, WojciechX --- drivers/net/softnic/rte_eth_softnic_tm.c | 6 +- lib/sched/meson.build| 10 +- lib/sched/rte_pie.c | 79 + lib/sched/rte_pie.h

[dpdk-dev] [RFC PATCH v1 0/3] Add PIE support for HQoS library

2021-06-09 Thread Liguzinski, WojciechX
DPDK sched library is equipped with mechanism that secures it from the bufferbloat problem which is a situation when excess buffers in the network cause high latency and latency variation. Currently, it supports RED for active queue management (which is designed to control the queue length but

Re: [dpdk-dev] [PATCH v2 09/62] net/cnxk: add build infra and common probe

2021-06-09 Thread Nithin Dabilpuram
On Wed, Jun 09, 2021 at 09:38:04AM +0800, Huisong Li wrote: > > 在 2021/6/8 1:58, Nithin Dabilpuram 写道: > > Add build infrastructure and common probe and remove for cnxk driver > > which is used by both CN10K and CN9K SoC. > > > > Signed-off-by: Nithin Dabilpuram > > --- > > MAINTAINERS

Re: [dpdk-dev] [PATCH 1/2] net/bonding: support Tx prepare for bonding

2021-06-09 Thread Ananyev, Konstantin
> > On 4/23/21 12:46 PM, Chengchang Tang wrote: > >> To use the HW offloads capability (e.g. checksum and TSO) in the Tx > >> direction, the upper-layer users need to call rte_eth_dev_prepare to do > >> some adjustment to the packets before sending them (e.g. processing > >> pseudo headers when Tx

Re: [dpdk-dev] [PATCH 2/2] net/failsafe: fix primary/secondary mutex

2021-06-09 Thread Andrew Rybchenko
On 6/8/21 11:48 PM, Stephen Hemminger wrote: > On Tue, 8 Jun 2021 18:55:17 +0300 > Andrew Rybchenko wrote: > >> On 6/8/21 6:42 PM, Stephen Hemminger wrote: >>> On Tue, 8 Jun 2021 11:00:37 +0300 >>> Andrew Rybchenko wrote: >>> On 4/19/21 8:08 PM, Thomas Monjalon wrote: > About the t

Re: [dpdk-dev] [PATCH v5] eal: arm: fix out of tree build

2021-06-09 Thread Ruifeng Wang
> -Original Message- > From: Michael Pfeiffer > Sent: Wednesday, June 9, 2021 6:18 PM > To: Jan Viktorin ; Ruifeng Wang > ; jer...@marvell.com > Cc: dev@dpdk.org; Michael Pfeiffer ; > sta...@dpdk.org; ko...@rehivetech.com; Phil Yang ; > Joyce Kong > Subject: [PATCH v5] eal: arm: fix out o

[dpdk-dev] [PATCH v5] eal: arm: fix out of tree build

2021-06-09 Thread Michael Pfeiffer
Including various headers may fail for ARM builds with 'Platform must be built with RTE_FORCE_INTRINSICS' if rte_config.h is not included before. Move the error message after the includes to ensure rte_config.h is always included. Fixes: de966ccdcd7f ("eal/arm: add byte order operations for ARM")

Re: [dpdk-dev] [PATCH] net/mlx5: allow copy from one tag to another

2021-06-09 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Alexander Kozyrev > Sent: Tuesday, May 25, 2021 8:14 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko ; Matan Azrad ; > Ori Kam > Subject: [PATCH] net/mlx5: allow copy from one tag to another > > The modify field implemen

Re: [dpdk-dev] [PATCH 2/2] net/bonding: support configuring Tx offloading for bonding

2021-06-09 Thread Andrew Rybchenko
On 6/9/21 12:11 PM, Ananyev, Konstantin wrote: > >> >> >> On 2021/6/8 17:49, Andrew Rybchenko wrote: >>> "for bonding" is redundant in the summary since it is already >>> "net/bonding" >>> >>> On 4/23/21 12:46 PM, Chengchang Tang wrote: Currently, the TX offloading of the bonding device will

Re: [dpdk-dev] [PATCH 1/2] net/bonding: support Tx prepare for bonding

2021-06-09 Thread Andrew Rybchenko
On 6/9/21 9:42 AM, Chengchang Tang wrote: > Hi, Andrew and Ferruh > > On 2021/6/8 17:49, Andrew Rybchenko wrote: >> "for bonding" is redundant in the summary since it is already "net/bonding". >> >> On 4/23/21 12:46 PM, Chengchang Tang wrote: >>> To use the HW offloads capability (e.g. checksum an

Re: [dpdk-dev] [PATCH 2/2] net/bonding: support configuring Tx offloading for bonding

2021-06-09 Thread Ananyev, Konstantin
> > > On 2021/6/8 17:49, Andrew Rybchenko wrote: > > "for bonding" is redundant in the summary since it is already > > "net/bonding" > > > > On 4/23/21 12:46 PM, Chengchang Tang wrote: > >> Currently, the TX offloading of the bonding device will not take effect by > > > > TX -> Tx > > > >> using

Re: [dpdk-dev] [RFC PATCH 1/3] sched: add pie based congestion management

2021-06-09 Thread Liguzinski, WojciechX
> -Original Message- > From: Morten Brørup > Sent: Tuesday, May 25, 2021 11:17 AM > To: Liguzinski, WojciechX ; dev@dpdk.org; > Singh, Jasvinder ; Dumitrescu, Cristian > > Cc: Dharmappa, Savinay > Subject: RE: [dpdk-dev] [RFC PATCH 1/3] sched: add pie based congestion > management

Re: [dpdk-dev] [PATCH v4] eal: arm: fix out of tree build

2021-06-09 Thread Ruifeng Wang
> -Original Message- > From: Michael Pfeiffer > Sent: Tuesday, June 8, 2021 6:29 PM > To: Jan Viktorin ; Ruifeng Wang > ; jer...@marvell.com > Cc: dev@dpdk.org; Michael Pfeiffer ; > ko...@rehivetech.com; sta...@dpdk.org > Subject: [PATCH v4] eal: arm: fix out of tree build > > Including v

[dpdk-dev] [PATCH] net/i40e: fix data path corrupt on secondary process

2021-06-09 Thread dapengx . yu
From: Dapeng Yu The rte_eth_devices array is not in share memory, it should not be referenced by i40e_adapter which is shared by primary and secondary. Any process set i40e_adapter->eth_dev will corrupt another process' context. The patch removed the field "eth_dev" from i40e_adapter. Now, when

[dpdk-dev] [PATCH] net/i40e: fix wrong data path selection in secondary process

2021-06-09 Thread dapengx . yu
From: Dapeng Yu The flag use_avx2 and use_avx512 are defined as local variables, they will not be aware by the secondary process, then wrong data path is selected. Fix the issue by moving them into struct i40e_adapter. Fixes: 6ada10deac66 ("net/i40e: remove devarg use-latest-supported-vec") Fixe