Re: [dpdk-dev] [PATCH 1/2] config/arm: fix Hisilicon kunpeng920 SoC build

2021-02-23 Thread Thomas Monjalon
24/02/2021 02:34, oulijun: > > 在 2021/2/10 17:41, Thomas Monjalon 写道: > > 03/02/2021 13:46, Lijun Ou: > >> From: Chengchang Tang > >> > >> Because of the '9ca2f16' have merged, the current hns3 > >> pmd driver can not be directly complied on the kunpeng920 > >> server board. Therefore, we need to

Re: [dpdk-dev] [PATCH v3 1/7] eal: add wrappers for POSIX string functions

2021-02-23 Thread Andrew Rybchenko
On 2/24/21 12:53 AM, Nick Connolly wrote: > >> Allocating memory using rte_strdup() I'd use rte_free() >> to release it. I guess it will fail badly. >> So, I think that a different, more specific prefix is >> required for POSIX wrappers. > > Andrew: my understanding of Bruce's proposal is that th

Re: [dpdk-dev] [PATCH v2] net/igc: remove MTU setting limitation

2021-02-23 Thread Guo, Jia
Seems that v2 is the same as v1, but v1 exposure the coding style issue. Anyway please add the change when update new version. Thanks. Acked-by: Jeff Guo > -Original Message- > From: Yu, DapengX > Sent: Friday, February 19, 2021 6:01 PM > To: Guo, Jia ; Wang, Haiyue > Cc: dev@dpdk.org

Re: [dpdk-dev] [PATCH] net/e1000: remove MTU setting limitation

2021-02-23 Thread Guo, Jia
Seems that this is align with the fixing process of the other pmds(ixgbe/txgbe) and it is not bad. Thanks. Acked-by: Jeff Guo > -Original Message- > From: Yu, DapengX > Sent: Friday, February 19, 2021 6:03 PM > To: Guo, Jia ; Wang, Haiyue > Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.

Re: [dpdk-dev] [PATCH] net/i40evf: fix packet loss issue for X722

2021-02-23 Thread Guo, Jia
Acked-by: Jeff Guo > -Original Message- > From: Xing, Beilei > Sent: Wednesday, February 24, 2021 10:09 AM > To: Guo, Jia > Cc: dev@dpdk.org; Xing, Beilei ; sta...@dpdk.org; > Zhang, HengjianX > Subject: [PATCH] net/i40evf: fix packet loss issue for X722 > > From: Beilei Xing > > Wh

[dpdk-dev] [PATCH] net/i40evf: fix packet loss issue for X722

2021-02-23 Thread beilei . xing
From: Beilei Xing When Tx queue number is more than Rx queue number, and RSS is enabled, there'll be packet loss with X722. The root cause is the lookup table is not configured correctly, since it uses VF's queue pair number but not Rx queue number. Fixes: 2da3ba746795 ("net/i40e: fix VF runtime

Re: [dpdk-dev] [PATCH v4] log: support custom log function

2021-02-23 Thread Feng Li
Hi Dmitry, Thanks for your comments. I will submit the next patch to address your concern. On Fri, Feb 19, 2021 at 4:11 PM Dmitry Kozlyuk wrote: > > On Thu, 18 Feb 2021 14:12:53 +0800, Li Feng wrote: > > By default, the dpdk log is out to stdout/stderr and syslog. > > The rte_openlog_stream could

Re: [dpdk-dev] [PATCH 1/2] config/arm: fix Hisilicon kunpeng920 SoC build

2021-02-23 Thread oulijun
在 2021/2/10 17:41, Thomas Monjalon 写道: 03/02/2021 13:46, Lijun Ou: From: Chengchang Tang Because of the '9ca2f16' have merged, the current hns3 pmd driver can not be directly complied on the kunpeng920 server board. Therefore, we need to fix the meson build. Besides, add kunpeng 920 SoC mes

[dpdk-dev] [PATCH 01/13] net/hns3: support module EEPROM dump

2021-02-23 Thread Lijun Ou
From: Chengchang Tang This patch add support for dumping module EEPROM. Signed-off-by: Chengchang Tang Signed-off-by: Lijun Ou --- doc/guides/rel_notes/release_21_05.rst | 4 + drivers/net/hns3/hns3_cmd.h| 16 drivers/net/hns3/hns3_ethdev.c | 159 ++

[dpdk-dev] [PATCH 08/13] net/hns3: support RXD advanced layout

2021-02-23 Thread Lijun Ou
From: Chengwen Feng Currently, the driver get packet type by parse the L3_ID/L4_ID/OL3_ID/OL4_ID from Rx descriptor and then lookup multiple tables, it's time consuming. Now Kunpeng930 support advanced RXD layout, which: 1. Combine OL3_ID/OL4_ID to 8bit PTYPE filed, so the driver get packet type

[dpdk-dev] [PATCH 02/13] net/hns3: add more registers to dump

2021-02-23 Thread Lijun Ou
From: Chengchang Tang This patch makes more registers dumped in the dump_reg API to help loacte the fault. Signed-off-by: Chengchang Tang Signed-off-by: Lijun Ou --- drivers/net/hns3/hns3_cmd.h | 13 drivers/net/hns3/hns3_regs.c | 171 ++- 2 file

[dpdk-dev] [PATCH 03/13] net/hns3: implement cleanup for Tx done

2021-02-23 Thread Lijun Ou
From: Chengwen Feng This patch add support tx_done_cleanup ops, which could support for the API rte_eth_tx_done_cleanup to free consumed mbufs on Tx ring. Signed-off-by: Chengwen Feng Signed-off-by: Lijun Ou --- doc/guides/nics/features/hns3.ini | 1 + doc/guides/nics/features/hns3_vf.i

[dpdk-dev] [PATCH 04/13] net/hns3: add Rx and Tx bytes stats

2021-02-23 Thread Lijun Ou
From: "Min Hu (Connor)" In current HNS3 PMD, Rx/Tx bytes from packet stats are not implemented. This patch implemented Rx/Tx bytes using soft counters. Rx/Tx bytes stats will be enabled if the macro RTE_LIBRTE_HNS3_PMD_SOFT_COUNTERS is defined. Signed-off-by: Min Hu (Connor) Signed-off-by: Lij

[dpdk-dev] [PATCH 12/13] net/hns3: add process for MAC interrupt

2021-02-23 Thread Lijun Ou
From: Hongbo Zheng Enable the interrupt report of MAC when MAC state changes and log the hardware MAC state value. Signed-off-by: Hongbo Zheng Signed-off-by: Lijun Ou --- drivers/net/hns3/hns3_cmd.h| 3 +++ drivers/net/hns3/hns3_ethdev.c | 57 -- d

[dpdk-dev] [PATCH 05/13] net/hns3: add imissed packet stats

2021-02-23 Thread Lijun Ou
From: "Min Hu (Connor)" This patch implement Rx imissed stats by querying cmdq. Signed-off-by: Min Hu (Connor) Signed-off-by: Lijun Ou --- drivers/net/hns3/hns3_cmd.h| 7 +++ drivers/net/hns3/hns3_ethdev.c | 7 +++ drivers/net/hns3/hns3_ethdev.h | 1 + drivers/net/hns3/hns3_stats.c

[dpdk-dev] [PATCH 07/13] net/hns3: support PF on electrical net device

2021-02-23 Thread Lijun Ou
From: Huisong Li The normal operation of electrical interface devices depends on the initialization and configuration of the PHY chip. The task of driving the PHY chip is implemented in some firmware versions. If firmware supports the phy driver, it will report a capability flag to driver in prob

[dpdk-dev] [PATCH 13/13] net/hns3: fix imprecise statistics

2021-02-23 Thread Lijun Ou
From: Chengchang Tang Currently, the hns3 statistics may be inaccurate due to the following two problems: 1. Queue-level statistics are read from the firmware, and only one Rx or Tx can be read at a time. This results in a large time interval between reading multiple queues statistics in a stres

[dpdk-dev] [PATCH 06/13] net/hns3: encapsulate a port shaping interface

2021-02-23 Thread Lijun Ou
From: Huisong Li When rate of port changes, the rate limit of the port needs to be updated. So it is necessary to encapsulate an interface that configures the rate limit based on the rate. Signed-off-by: Huisong Li Signed-off-by: Lijun Ou --- drivers/net/hns3/hns3_dcb.c| 22 ++

[dpdk-dev] [PATCH 00/13] Features and bugfixes for hns3

2021-02-23 Thread Lijun Ou
This series add three features according to the 21.05 roadmap as well as fix some bugs. Chengchang Tang (4): net/hns3: support module EEPROM dump net/hns3: add more registers to dump net/hns3: fix maximum frame size update after buffer alloc net/hns3: fix imprecise statistics Chengwen Fen

[dpdk-dev] [PATCH 09/13] net/hns3: fix maximum frame size update after buffer alloc

2021-02-23 Thread Lijun Ou
From: Chengchang Tang After MTU changed, the buffer used to store packets in HW should be reallocated. And buffer size is allocated based on the maximum frame size in the PF struct. However, the value of maximum frame size is not updated in time when MTU is changed. This would lead to a packet l

[dpdk-dev] [PATCH 10/13] net/hns3: remove unused parameter from func declaration

2021-02-23 Thread Lijun Ou
From: Huisong Li All input parameters in the "hns3_dev_xstats_get_by_id" API are used, so the rte_unused flag of some variables should be deleted. Fixes: 3213d584b698 ("net/hns3: fix xstats with id and names") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Lijun Ou --- drivers/

[dpdk-dev] [PATCH 11/13] net/hns3: fix memory leakage for mbuf

2021-02-23 Thread Lijun Ou
From: Huisong Li The mbufs of rx queue will be allocated in "hns3_do_start" function. But these mbufs are not released when "hns3_dev_start" executes failed. Fixes: c4ae39b2cfc5 ("net/hns3: fix Rx interrupt after reset") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Lijun Ou --

[dpdk-dev] [PATCH v2] rte_metrics: unconditionally exports rte_metrics_tel_xxx functions

2021-02-23 Thread Jie Zhou
From: Jie Zhou This patch allows the same set of rte_metrics_tel_* functions to be exported no matter JANSSON is available or not, by doing following: 1. Leverage dpdk_conf to set configuration flag RTE_HAVE_JANSSON when Jansson dependency is found. 2. In rte_metrics_telemetry.c, levera

Re: [dpdk-dev] [PATCH 21.05] app/testpmd: count outer IP checksum errors

2021-02-23 Thread Ajit Khaparde
On Tue, Feb 23, 2021 at 10:36 AM Ferruh Yigit wrote: > > On 1/31/2021 11:53 AM, Wisam Monther wrote: > > Hi, > > > >> -Original Message- > >> From: dev On Behalf Of Lance Richardson > >> Sent: Saturday, January 30, 2021 12:36 AM > >> To: Wenzhuo Lu ; Xiaoyun Li > >> ; Bernard Iremonger >

Re: [dpdk-dev] [PATCH v3 3/7] eal: add sleep API

2021-02-23 Thread Nick Connolly
Hi Dmitry, +void +rte_thread_sleep(unsigned int sec) +{ + return Sleep(MS_PER_S * sec); +} There's probably no benefit in returning the 'void' value - I'd suggest just call Sleep(). Regards, Nick

Re: [dpdk-dev] [PATCH v3 1/7] eal: add wrappers for POSIX string functions

2021-02-23 Thread Nick Connolly
Allocating memory using rte_strdup() I'd use rte_free() to release it. I guess it will fail badly. So, I think that a different, more specific prefix is required for POSIX wrappers. Andrew: my understanding of Bruce's proposal is that the strdup() name will now be kept (in this case through

Re: [dpdk-dev] [PATCH 21.05] app/testpmd: count outer IP checksum errors

2021-02-23 Thread Thomas Monjalon
23/02/2021 19:39, Ajit Khaparde: > On Tue, Feb 23, 2021 at 10:36 AM Ferruh Yigit wrote: > > > > On 1/31/2021 11:53 AM, Wisam Monther wrote: > > > Hi, > > > > > >> -Original Message- > > >> From: dev On Behalf Of Lance Richardson > > >> Sent: Saturday, January 30, 2021 12:36 AM > > >> To:

Re: [dpdk-dev] [PATCH 21.05] app/testpmd: count outer IP checksum errors

2021-02-23 Thread Ferruh Yigit
On 1/31/2021 11:53 AM, Wisam Monther wrote: Hi, -Original Message- From: dev On Behalf Of Lance Richardson Sent: Saturday, January 30, 2021 12:36 AM To: Wenzhuo Lu ; Xiaoyun Li ; Bernard Iremonger Cc: dev@dpdk.org; Ajit Kumar Khaparde ; Kalesh Anakkur Purayil Subject: [dpdk-dev] [PAT

[dpdk-dev] [PATCH] examples/l3fwd: fix TX burst queue drain edge case

2021-02-23 Thread Kathleen Capella
Initialize prev_tsc to cur_tsc. This avoids running the TX queue drain in the first iteration of the packet processing loop. Fixes: af75078fece3 ("first public release") Signed-off-by: Kathleen Capella Reviewed-by: Honnappa Nagarahalli --- examples/l3fwd/l3fwd_em.c | 9 + examples/l3f

[dpdk-dev] [PATCH v6] bus/pci: nvme on Windows requires class id and bus

2021-02-23 Thread Nick Connolly
Attaching to an NVMe disk on Windows using SPDK requires the PCI class ID and device.bus fields. Decode the class ID from the PCI device info strings if it is present and set device.bus. Signed-off-by: Nick Connolly Acked-by: Tal Shnaiderman --- v6: * no changes - resending to resolve spurious i

[dpdk-dev] [PATCH v2] dpdk-kmods: nvme support for netuio on Windows

2021-02-23 Thread Nick Connolly
Enable the netuio driver for an NVMe storage controller on Windows. Add the class ID 010802 and identify the device as 'netuio NVM Express Controller'. Signed-off-by: Nick Connolly --- v2: * rebase to latest netuio.inf windows/netuio/netuio.inf | 2 ++ 1 file changed, 2 insertions(+) diff --g

[dpdk-dev] dpdk-graph-crypto-perf on ARM platform

2021-02-23 Thread Nipun Gupta
Has anyone tried using 'dpdk-graph-crypto-perf' on any of the ARM platform? There seems to be some dependencies on tools/utilities orca and plotly which seems missing for ARM. Regards, Nipun

Re: [dpdk-dev] [PATCH v3] ci: update arm64 Travis jobs to Graviton2

2021-02-23 Thread Aaron Conole
Juraj Linkeš writes: > Use only the newer Graviton2 environment in Travis CI instead of using > the older platform, which has intermittent issues: > 1. collect2: fatal error: ld terminated with signal 9 [Killed] > 2. ticketlock_autotest sometimes times out > > These failures hint at resource avai

Re: [dpdk-dev] [PATCH v7 2/2] bus/pci: support MMIO in PCI ioport accessors

2021-02-23 Thread 谢华伟(此时此刻)
On 2021/2/23 1:25, Ferruh Yigit wrote: On 2/22/2021 5:15 PM, 谢华伟(此时此刻) wrote: From: "huawei.xhw" With IO BAR, we get PIO(programmed IO) address. With MMIO BAR, we get mapped virtual address. We distinguish PIO(Programmed IO) and MMIO(memory mapped IO) by their address like how kernel does.

[dpdk-dev] [PATCH 2/2] kni: fix rtnl deadlocks and race conditions v3

2021-02-23 Thread Elad Nachman
This part of the series includes my fixes for the issues reported by Ferruh and Igor on top of part 1 of the patch series: A. KNI sync lock is being locked while rtnl is held. If two threads are calling kni_net_process_request() , then the first one will take the sync lock, release rtnl lock then

[dpdk-dev] [PATCH 1/2] kni: fix rtnl deadlocks and race conditions v3

2021-02-23 Thread Elad Nachman
This first part of v3 of the patch re-introduces Stephen Hemminger's patch 64106 . This part changes the parameter kni_net_process_request() gets and introduces the initial rtnl unlocking mechanism. Signed-off-by: Elad Nachman --- v3: * Include original patch and new patch as a series of patch,

[dpdk-dev] [PATCH V2] kni: fix rtnl deadlocks and race conditions v2

2021-02-23 Thread Elad Nachman
This version 2 of the patch leverages on Stephen Hemminger's 64106 patch from Dec 2019, and fixes the issues reported by Ferruh and Igor: A. KNI sync lock is being locked while rtnl is held. If two threads are calling kni_net_process_request() , then the first one will take the sync lock, relea

Re: [dpdk-dev] [PATCH V2] kni: fix rtnl deadlocks and race conditions v2

2021-02-23 Thread Ferruh Yigit
On 2/23/2021 12:05 PM, Elad Nachman wrote: This version 2 of the patch leverages on Stephen Hemminger's 64106 patch from Dec 2019, and fixes the issues reported by Ferruh and Igor: A. KNI sync lock is being locked while rtnl is held. If two threads are calling kni_net_process_request() , then th

Re: [dpdk-dev] [PATCH] net/iavf: fix the VLAN tag extraction handling

2021-02-23 Thread Zhang, Qi Z
> -Original Message- > From: Xie, WeiX > Sent: Tuesday, February 23, 2021 3:18 PM > To: Rong, Leyi ; Zhang, Qi Z ; Lu, > Wenzhuo ; Xing, Beilei > Cc: dev@dpdk.org; Wang, Haiyue ; Rong, Leyi > > Subject: RE: [dpdk-dev] [PATCH] net/iavf: fix the VLAN tag extraction handling > > Tested-

Re: [dpdk-dev] [PATCH v6 0/9] ethdev: support SubFunction representor

2021-02-23 Thread Wang, Haiyue
> -Original Message- > From: dev On Behalf Of Stephen Hemminger > Sent: Tuesday, February 23, 2021 09:55 > To: Xueming Li > Cc: dev@dpdk.org; Viacheslav Ovsiienko ; Asaf Penso > > Subject: Re: [dpdk-dev] [PATCH v6 0/9] ethdev: support SubFunction representor > > On Sun, 14 Feb 2021 03:

Re: [dpdk-dev] [PATCH] maintainers: update crypto ownership

2021-02-23 Thread Thomas Monjalon
23/02/2021 09:42, Akhil Goyal: > Recently joined Marvell, hence change in > email id for crypto sub tree, security API > and ipsec-secgw application maintainers list. > > Signed-off-by: Akhil Goyal Applied, thanks

Re: [dpdk-dev] [PATCH] maintainers: update for NXP pfe and dpaax_sec

2021-02-23 Thread Thomas Monjalon
18/02/2021 14:16, Hemant Agrawal: > remove Akhil > add Gagan > > Signed-off-by: Hemant Agrawal Applied, thanks

Re: [dpdk-dev] [PATCH] rte_metrics: unconditionally export rte_metrics_tel_xxx functions

2021-02-23 Thread Bruce Richardson
On Tue, Feb 23, 2021 at 01:24:15AM +0300, Dmitry Kozlyuk wrote: > + Bruce > > On Mon, 22 Feb 2021 13:25:02 -0800, Jie wrote: > [...] > > diff --git a/config/meson.build b/config/meson.build > > index 3cf560b8a..892bd9677 100644 > > --- a/config/meson.build > > +++ b/config/meson.build > > @@ -292,

Re: [dpdk-dev] [PATCH] maintainers: update crypto ownership

2021-02-23 Thread Hemant Agrawal
> -Original Message- > From: Thomas Monjalon > > 23/02/2021 09:42, Akhil Goyal: > > Recently joined Marvell, hence change in email id for crypto sub tree, > > security API and ipsec-secgw application maintainers list. > > > > Signed-off-by: Akhil Goyal > > --- > > MAINTAINERS | 6 +++

Re: [dpdk-dev] [PATCH v2 1/7] eal: add wrappers for POSIX string functions

2021-02-23 Thread Bruce Richardson
On Tue, Feb 23, 2021 at 01:57:50AM +0300, Dmitry Kozlyuk wrote: > 2021-02-22 14:26, Bruce Richardson: > > As you say, though, the main issue will be whether we have instances in > > public header files or not. I would hope that no static inline functions in > > DPDK use any of the functions in ques

Re: [dpdk-dev] [PATCH] maintainers: update crypto ownership

2021-02-23 Thread Akhil Goyal
> 23/02/2021 09:42, Akhil Goyal: > > Recently joined Marvell, hence change in > > email id for crypto sub tree, security API > > and ipsec-secgw application maintainers list. > > > > Signed-off-by: Akhil Goyal > > --- > > MAINTAINERS | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [dpdk-dev] [RFC PATCH v2] build: add platform meson option

2021-02-23 Thread Bruce Richardson
On Tue, Feb 23, 2021 at 08:45:09AM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: David Christensen > > Sent: Monday, February 22, 2021 10:25 PM > > To: Juraj Linkeš ; Bruce Richardson > > > > Cc: tho...@monjalon.net; honnappa.nagaraha...@arm.com; dev@dpdk.org > > Subje

Re: [dpdk-dev] [PATCH] maintainers: update crypto ownership

2021-02-23 Thread Thomas Monjalon
23/02/2021 09:42, Akhil Goyal: > Recently joined Marvell, hence change in > email id for crypto sub tree, security API > and ipsec-secgw application maintainers list. > > Signed-off-by: Akhil Goyal > --- > MAINTAINERS | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) What about NXP

[dpdk-dev] [PATCH] maintainers: update crypto ownership

2021-02-23 Thread Akhil Goyal
Recently joined Marvell, hence change in email id for crypto sub tree, security API and ipsec-secgw application maintainers list. Signed-off-by: Akhil Goyal --- MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1962284e9..78e91f

[dpdk-dev] DPDK 21.05 Huawei hns3 Roadmap

2021-02-23 Thread oulijun
Hi, Following are the work items of hns3 PMD planned for 21.05, Some features are delayed to the current releases. New features: 【1】 Add PTP(Precise Time Protocol) support 【2】 Add query optical module info by API 【3】 Support LSC(Link Status Changed) event

Re: [dpdk-dev] [PATCH v3] ci: update arm64 Travis jobs to Graviton2

2021-02-23 Thread Ruifeng Wang
> -Original Message- > From: Juraj Linkeš > Sent: Tuesday, February 23, 2021 4:28 PM > To: tho...@monjalon.net; david.march...@redhat.com; > acon...@redhat.com; maicolgabr...@hotmail.com > Cc: dev@dpdk.org; Ruifeng Wang ; Honnappa > Nagarahalli ; Juraj Linkeš > > Subject: [PATCH v3] ci: u

Re: [dpdk-dev] [RFC PATCH v2] build: add platform meson option

2021-02-23 Thread Juraj Linkeš
> -Original Message- > From: David Christensen > Sent: Monday, February 22, 2021 10:25 PM > To: Juraj Linkeš ; Bruce Richardson > > Cc: tho...@monjalon.net; honnappa.nagaraha...@arm.com; dev@dpdk.org > Subject: Re: [RFC PATCH v2] build: add platform meson option > > > > On 2/19/21 1:

[dpdk-dev] [PATCH v3] ci: update arm64 Travis jobs to Graviton2

2021-02-23 Thread Juraj Linkeš
Use only the newer Graviton2 environment in Travis CI instead of using the older platform, which has intermittent issues: 1. collect2: fatal error: ld terminated with signal 9 [Killed] 2. ticketlock_autotest sometimes times out These failures hint at resource availability issues in container envir

Re: [dpdk-dev] [PATCH] net/mlx5: fix UAR allocation diagnostics messages

2021-02-23 Thread Matan Azrad
From: Viacheslav Ovsiienko > Depending on kernel capabilities and rdma-core version the mapping of UAR > (User Access Region) of desired memory caching type (non-cached or write > combining). The PMD implements the flexible strategy of UAR mapping, > alternating the type of caching to succeed. D

Re: [dpdk-dev] [PATCH] [RFC, v2]: adds support PPS(packet per second) on meter

2021-02-23 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Li Zhang > Sent: Tuesday, February 23, 2021 3:07 AM > > Thanks for your comments. > We changed the struct as below: > struct rte_mtr_meter_profile { > .. > /** Items only valid when alg is set to sprTCM. */ > s

Re: [dpdk-dev] [PATCH] net/mlx5: fix hashed list size for tunnel flow groups

2021-02-23 Thread Matan Azrad
From: Viacheslav Ovsiienko > The hasged list size must be the power of 2, otherwise the adjustment is > applied and the warning message is emitted. > This patch provides the correct list size to eliminate the warning. > > Fixes: 4ec6360de37d ("net/mlx5: implement tunnel offload") > Cc: sta...@d

[dpdk-dev] Potential bug in QAT PMD code

2021-02-23 Thread Linfeng Li
Hi, We believe we found a potential bug in the QAT PMD code. file link: https://github.com/DPDK/dpdk/blob/main/drivers/crypto/qat/qat_sym.c The undesired behavior happens when: * symmetric operation * out-of-place operation * encryption * do cipher + do hash

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

2021-02-23 Thread Roy Shterman
When using huge_unlink we unlink the segment right after allocation. Although we unlink the file we keep the fd in fd_list so file still exist just the path deleted. When freeing the hugepage we need to close the fd and assign it with (-1) in fd_list for the page to be released. The current flow f