[dpdk-dev] [PATCH] ip_frag: fix ipv6 when MTU sizes not aligned to 8 bytes

2018-11-26 Thread Chas Williams
From: Chas Williams The same issue was fixed on for the ipv4 version of this routine in commit 8d4d3a4f7337 ("ip_frag: handle MTU sizes not aligned to 8 bytes"). Briefly, the size of an ipv6 header is always 40 bytes. With an MTU of 1500, this will never produce a multiple of 8 bytes for the fra

Re: [dpdk-dev] About the LRU Cache based DPDK?

2018-11-26 Thread bai bakari
OK, thank you very much! -- Original -- From: "Dumitrescu, Cristian"; Date: Tue, Nov 27, 2018 05:49 AM To: "bai bakari"<912873...@qq.com>;"dev"; Subject: RE: [dpdk-dev] About the LRU Cache based DPDK? > -Original Message- > From: dev [mailto:dev-b

Re: [dpdk-dev] [PATCH] app/testpmd: improve MAC swap performance

2018-11-26 Thread Zhang, Qi Z
> -Original Message- > From: Wiles, Keith > Sent: Saturday, November 24, 2018 8:24 AM > To: Zhang, Qi Z > Cc: Richardson, Bruce ; dev ; Lu, > Wenzhuo ; Iremonger, Bernard > ; sta...@dpdk.org > Subject: Re: [PATCH] app/testpmd: improve MAC swap performance > > > > > On Nov 23, 2018, a

Re: [dpdk-dev] Fedora 28 fails DPDK 18.11 on Azure/Hyper-V

2018-11-26 Thread Stephen Hemminger
On Mon, 26 Nov 2018 22:47:23 +0100 Timothy Redaelli wrote: > On Mon, 26 Nov 2018 13:30:46 -0800 > Stephen Hemminger wrote: > > > Started testing DPDK support of Hyper-V in Fedora and discovered that it > > doesn't work. > > Looks like the multiq qdisc is not in the default Fedora kernel > > c

[dpdk-dev] [dpdk-announce] DPDK 18.11 released

2018-11-26 Thread Thomas Monjalon
As good news never come alone, the Camp Fire is contained, and a new major DPDK release is available: http://fast.dpdk.org/rel/dpdk-18.11.tar.xz The branch 18.11 should be supported for at least two years, making it recommended for system integration and deployment. The maintainer of this

[dpdk-dev] struct malloc_elem overrun/corruption

2018-11-26 Thread He Huang
Hi, I’ve been troubleshooting a possible memory allocator corruption: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffefdf0700 (LWP 1079)] 0x004794ee in malloc_elem_free_list_insert (elem=0x7ff82d265000) at dpdk/lib/librte_eal/common/malloc_elem.c:292 292

Re: [dpdk-dev] [PATCH] version: 18.11.0

2018-11-26 Thread Thomas Monjalon
26/11/2018 18:18, Thomas Monjalon: > Signed-off-by: Thomas Monjalon Applied

Re: [dpdk-dev] [PATCH v2] doc: update release notes for 18.11

2018-11-26 Thread Thomas Monjalon
27/11/2018 00:15, John McNamara: > Fix grammar, spelling and formatting of DPDK 18.11 release notes. > > Signed-off-by: John McNamara Applied with few more details changed

[dpdk-dev] [PATCH v2] doc: update release notes for 18.11

2018-11-26 Thread John McNamara
Fix grammar, spelling and formatting of DPDK 18.11 release notes. Signed-off-by: John McNamara --- doc/guides/rel_notes/release_18_11.rst | 298 - 1 file changed, 148 insertions(+), 150 deletions(-) diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guide

Re: [dpdk-dev] About the LRU Cache based DPDK?

2018-11-26 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of bai bakari > Sent: Monday, November 26, 2018 9:28 AM > To: dev > Subject: [dpdk-dev] About the LRU Cache based DPDK? > > Hi all, > > > I'm going to implement a LRU Cache based DPDK. > The most famous implemen

Re: [dpdk-dev] Fedora 28 fails DPDK 18.11 on Azure/Hyper-V

2018-11-26 Thread Timothy Redaelli
On Mon, 26 Nov 2018 13:30:46 -0800 Stephen Hemminger wrote: > Started testing DPDK support of Hyper-V in Fedora and discovered that it > doesn't work. > Looks like the multiq qdisc is not in the default Fedora kernel configuration. > Hopefully CentOS/RHEL don't have the same problem. > > Not su

Re: [dpdk-dev] Fedora 28 fails DPDK 18.11 on Azure/Hyper-V

2018-11-26 Thread Maxime Coquelin
Hi Stephen, On 11/26/18 10:30 PM, Stephen Hemminger wrote: Started testing DPDK support of Hyper-V in Fedora and discovered that it doesn't work. Looks like the multiq qdisc is not in the default Fedora kernel configuration. Hopefully CentOS/RHEL don't have the same problem. Not sure why SCH_M

[dpdk-dev] Fedora 28 fails DPDK 18.11 on Azure/Hyper-V

2018-11-26 Thread Stephen Hemminger
Started testing DPDK support of Hyper-V in Fedora and discovered that it doesn't work. Looks like the multiq qdisc is not in the default Fedora kernel configuration. Hopefully CentOS/RHEL don't have the same problem. Not sure why SCH_MULTIQ is in the shipped kernel config files but not present. L

[dpdk-dev] [PATCH] kni: Fix build on RHEL 8

2018-11-26 Thread Mohammed Gamal
As RHEL8 beta has been released and is based on recent upstream kernels which don't use ndo_change_mtu_rh74 function. Fix the build so that it doesn't fail because the function is missing Signed-off-by: Mohammed Gamal --- kernel/linux/kni/compat.h | 3 ++- 1 file changed, 2 insertions(+), 1 dele

[dpdk-dev] [PATCH] pkg: remove RPM recipe

2018-11-26 Thread Thomas Monjalon
This RPM recipe is not well maintained and probably not used a lot. Each distribution has its own constraints and recipes. It may not be a good idea to try maintaining packaging recipes in the project itself. Signed-off-by: Thomas Monjalon --- pkg/dpdk.spec | 96 -

Re: [dpdk-dev] [PATCH] fix dpdk.org URLs

2018-11-26 Thread Thomas Monjalon
26/11/2018 18:59, Mcnamara, John: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > > The DPDK website has a new URL scheme since June 2018. > > Acked-by: John McNamara Cc stable for backport in all maintained releases. Applied

Re: [dpdk-dev] [PATCH] fix indentation in symbol maps

2018-11-26 Thread Thomas Monjalon
> > Signed-off-by: Thomas Monjalon > > For drivers/net/avp: > Acked-by: Allain Legacy Applied

Re: [dpdk-dev] [PATCH] fix dpdk.org URLs

2018-11-26 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, November 26, 2018 5:56 PM > To: Jerin Jacob ; Mcnamara, John > ; Kovacevic, Marko ; > Griffin, John ; Trahe, Fiona ; > Jain, Deepak K ; Richardson, Bruce > ; John Daley ; Hyong Youb Kim > ; Carrillo

Re: [dpdk-dev] [PATCH v1] doc: update release notes for 18.11

2018-11-26 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, November 26, 2018 2:53 PM > To: Mcnamara, John > Cc: dev@dpdk.org; Kovacevic, Marko > Subject: Re: [dpdk-dev] [PATCH v1] doc: update release notes for 18.11 > > Hi John, > > Thanks for the updat

[dpdk-dev] [PATCH] fix dpdk.org URLs

2018-11-26 Thread Thomas Monjalon
The DPDK website has a new URL scheme since June 2018. Signed-off-by: Thomas Monjalon --- app/test-eventdev/test_order_atq.c | 2 +- app/test-eventdev/test_order_queue.c | 2 +- app/test-eventdev/test_perf_atq.c| 2 +- app/test-eventdev/test_perf_queu

Re: [dpdk-dev] [PATCH] fix indentation in symbol maps

2018-11-26 Thread Legacy, Allain
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, November 26, 2018 12:11 PM > To: Legacy, Allain; Peters, Matt; Ravi Kumar; Declan Doherty; Chas Williams; > Cristian Dumitrescu; Fiona Trahe; Pablo de Lara; Ashish Gupta; Konstantin > Ananyev; David

[dpdk-dev] [PATCH] version: 18.11.0

2018-11-26 Thread Thomas Monjalon
Signed-off-by: Thomas Monjalon --- lib/librte_eal/common/include/rte_version.h | 4 ++-- meson.build | 2 +- pkg/dpdk.spec | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_eal/common/include/rte_version

[dpdk-dev] [PATCH] fix indentation in symbol maps

2018-11-26 Thread Thomas Monjalon
Signed-off-by: Thomas Monjalon --- drivers/net/avp/rte_pmd_avp_version.map | 3 +-- drivers/net/axgbe/rte_pmd_axgbe_version.map | 3 +-- drivers/net/bonding/rte_pmd_bond_version.map| 9 - lib/librte_cfgfile/rte_cfgfile_version.map | 4 ++-- .../rte_compressdev_ver

Re: [dpdk-dev] [PASS]dpdk 18.11-rc5 testing from Red Hat

2018-11-26 Thread Thomas Monjalon
Good news! About the format of this email, no need to Cc techboard. I think it would be easier to find if sent as a reply of the release candidate email. Thank you 26/11/2018 16:11, Pei Zhang: > Hi all, > > dpdk 18.11-rc5 testing: PASS . As no regression bugs were found. > > Testing scenar

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Asaf Sinai
+CC Ilia & Sasha. -Original Message- From: Burakov, Anatoly Sent: Monday, November 26, 2018 04:57 PM To: Ilya Maximets ; Asaf Sinai ; dev@dpdk.org; Thomas Monjalon Subject: Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disa

[dpdk-dev] [PASS]dpdk 18.11-rc5 testing from Red Hat

2018-11-26 Thread Pei Zhang
Hi all, dpdk 18.11-rc5 testing: PASS . As no regression bugs were found. Testing scenarios: (1)Guest with device assignment(PF) throughput testing(1G hugepage size) PASS (2)Guest with device assignment(PF) throughput testing(2M hugepage size) PASS (3)Guest with device assignment(VF) throughp

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Burakov, Anatoly
On 26-Nov-18 2:32 PM, Ilya Maximets wrote: On 26.11.2018 17:21, Burakov, Anatoly wrote: On 26-Nov-18 2:10 PM, Ilya Maximets wrote: On 26.11.2018 16:42, Burakov, Anatoly wrote: On 26-Nov-18 1:20 PM, Ilya Maximets wrote: On 26.11.2018 16:16, Ilya Maximets wrote: On 26.11.2018 15:50, Burakov, A

Re: [dpdk-dev] [PATCH v1] doc: update release notes for 18.11

2018-11-26 Thread Thomas Monjalon
Hi John, Thanks for the update. I have a couple of comments below. 26/11/2018 11:51, John McNamara: > * **Updated the AESNI MB PMD.** > > - The AESNI MB PMD has been updated with additional support for AES-GCM > - algorithm support. > - > -* **Added NXP CAAM JR PMD.** > - > - Added the new

Re: [dpdk-dev] [PATCH] mem: fix division by zero in no-NUMA mode

2018-11-26 Thread Thomas Monjalon
26/11/2018 12:14, Hunt, David: > Hi Anatoly, > > On 26/11/2018 10:57 AM, Anatoly Burakov wrote: > > When RTE_EAL_NUMA_AWARE_HUGEPAGES is set to "n", not all memtypes > > will be valid, because we skip some due to not supporting other > > NUMA nodes, leading to a division by zero error down the lin

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Ilya Maximets
On 26.11.2018 17:21, Burakov, Anatoly wrote: > On 26-Nov-18 2:10 PM, Ilya Maximets wrote: >> On 26.11.2018 16:42, Burakov, Anatoly wrote: >>> On 26-Nov-18 1:20 PM, Ilya Maximets wrote: On 26.11.2018 16:16, Ilya Maximets wrote: > On 26.11.2018 15:50, Burakov, Anatoly wrote: >> On 26-Nov

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Burakov, Anatoly
On 26-Nov-18 2:10 PM, Ilya Maximets wrote: On 26.11.2018 16:42, Burakov, Anatoly wrote: On 26-Nov-18 1:20 PM, Ilya Maximets wrote: On 26.11.2018 16:16, Ilya Maximets wrote: On 26.11.2018 15:50, Burakov, Anatoly wrote: On 26-Nov-18 11:43 AM, Burakov, Anatoly wrote: On 26-Nov-18 11:33 AM, Asaf

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Ilya Maximets
On 26.11.2018 16:42, Burakov, Anatoly wrote: > On 26-Nov-18 1:20 PM, Ilya Maximets wrote: >> On 26.11.2018 16:16, Ilya Maximets wrote: >>> On 26.11.2018 15:50, Burakov, Anatoly wrote: On 26-Nov-18 11:43 AM, Burakov, Anatoly wrote: > On 26-Nov-18 11:33 AM, Asaf Sinai wrote: >> Hi Anatol

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Burakov, Anatoly
On 26-Nov-18 1:20 PM, Ilya Maximets wrote: On 26.11.2018 16:16, Ilya Maximets wrote: On 26.11.2018 15:50, Burakov, Anatoly wrote: On 26-Nov-18 11:43 AM, Burakov, Anatoly wrote: On 26-Nov-18 11:33 AM, Asaf Sinai wrote: Hi Anatoly, We did not check it with "testpmd", only with our application.

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Ilya Maximets
On 26.11.2018 16:16, Ilya Maximets wrote: > On 26.11.2018 15:50, Burakov, Anatoly wrote: >> On 26-Nov-18 11:43 AM, Burakov, Anatoly wrote: >>> On 26-Nov-18 11:33 AM, Asaf Sinai wrote: Hi Anatoly, We did not check it with "testpmd", only with our application.  From the beginning,

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Ilya Maximets
On 26.11.2018 15:50, Burakov, Anatoly wrote: > On 26-Nov-18 11:43 AM, Burakov, Anatoly wrote: >> On 26-Nov-18 11:33 AM, Asaf Sinai wrote: >>> Hi Anatoly, >>> >>> We did not check it with "testpmd", only with our application. >>>  From the beginning, we did not enable this configuration (look at att

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Burakov, Anatoly
On 26-Nov-18 11:43 AM, Burakov, Anatoly wrote: On 26-Nov-18 11:33 AM, Asaf Sinai wrote: Hi Anatoly, We did not check it with "testpmd", only with our application.  From the beginning, we did not enable this configuration (look at attached files), and everything works fine. Of course we rebuil

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations

2018-11-26 Thread Ilya Maximets
On 26.11.2018 15:23, Ilya Maximets wrote: >> Hi, >> >> We have 2 NUMAs in our system, and we try to allocate a single DPDK memory >> pool on each NUMA. >> However, we see no difference when enabling/disabling >> "CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES" configuration. >> We expected that disabling it

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations

2018-11-26 Thread Ilya Maximets
> Hi, > > We have 2 NUMAs in our system, and we try to allocate a single DPDK memory > pool on each NUMA. > However, we see no difference when enabling/disabling > "CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES" configuration. > We expected that disabling it will allocate pools only on one NUMA (probably

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Burakov, Anatoly
On 26-Nov-18 11:33 AM, Asaf Sinai wrote: Hi Anatoly, We did not check it with "testpmd", only with our application. From the beginning, we did not enable this configuration (look at attached files), and everything works fine. Of course we rebuild DPDK, when we change configuration. Please note

Re: [dpdk-dev] [PATCH] mbuf: implement generic format for sched field

2018-11-26 Thread Dumitrescu, Cristian
Hi Jasvinder, > -Original Message- > From: Singh, Jasvinder > Sent: Friday, November 23, 2018 4:54 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Pattan, Reshma > > Subject: [PATCH] mbuf: implement generic format for sched field > > This patch implements the changes proposed in the d

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Asaf Sinai
Hi Anatoly, We did not check it with "testpmd", only with our application. From the beginning, we did not enable this configuration (look at attached files), and everything works fine. Of course we rebuild DPDK, when we change configuration. Please note that we use DPDK 17.11.3, maybe this is why

Re: [dpdk-dev] [PATCH] mem: fix division by zero in no-NUMA mode

2018-11-26 Thread Hunt, David
Hi Anatoly, On 26/11/2018 10:57 AM, Anatoly Burakov wrote: When RTE_EAL_NUMA_AWARE_HUGEPAGES is set to "n", not all memtypes will be valid, because we skip some due to not supporting other NUMA nodes, leading to a division by zero error down the line because the necessary memtype fields weren't

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Burakov, Anatoly
On 26-Nov-18 9:15 AM, Asaf Sinai wrote: Hi, We have 2 NUMAs in our system, and we try to allocate a single DPDK memory pool on each NUMA. However, we see no difference when enabling/disabling "CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES" configuration. We expected that disabling it will allocate pools

[dpdk-dev] [PATCH] mem: fix division by zero in no-NUMA mode

2018-11-26 Thread Anatoly Burakov
When RTE_EAL_NUMA_AWARE_HUGEPAGES is set to "n", not all memtypes will be valid, because we skip some due to not supporting other NUMA nodes, leading to a division by zero error down the line because the necessary memtype fields weren't populated. Fix it by limiting number of memtypes to number of

Re: [dpdk-dev] [PATCH v1] doc: update release notes for 18.11

2018-11-26 Thread Mcnamara, John
> -Original Message- > From: Mcnamara, John > Sent: Monday, November 26, 2018 10:51 AM > To: dev@dpdk.org > Cc: Kovacevic, Marko ; Mcnamara, John > > Subject: [PATCH v1] doc: update release notes for 18.11 Thanks to everyone who submitted updates to this release note. The quality of descr

[dpdk-dev] [PATCH v1] doc: update release notes for 18.11

2018-11-26 Thread John McNamara
Fix grammar, spelling and formatting of DPDK 18.11 release notes. Signed-off-by: John McNamara --- doc/guides/rel_notes/release_18_11.rst | 299 - 1 file changed, 149 insertions(+), 150 deletions(-) diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guide

Re: [dpdk-dev] [PATCH v4 5/9] app/procinfo: add support for show tm

2018-11-26 Thread Varghese, Vipin
Hi, > Hi Vipin, > > > > > Hi Konstantin, > > > > > > > > > > If the operator is '|' what else except of 'OR' you expect it to be > > > > remapped? > > > > Thanks for your correction. I have rerun with logical or > > > > if ((ret) || (!is_leaf)) > >9a512: 83 bd 3

Re: [dpdk-dev] [PATCH v4 5/9] app/procinfo: add support for show tm

2018-11-26 Thread Ananyev, Konstantin
Hi Vipin, > > Hi Konstantin, > > > > > > > If the operator is '|' what else except of 'OR' you expect it to be > > > remapped? > > Thanks for your correction. I have rerun with logical or > > if ((ret) || (!is_leaf)) >9a512: 83 bd 3c fd ff ff 00cmpD

Re: [dpdk-dev] [PATCH v3 0/2] IOPL related fixes

2018-11-26 Thread Kevin Traynor
On 11/25/2018 10:42 AM, Thomas Monjalon wrote: > 23/11/2018 23:29, Thomas Monjalon: >> 23/11/2018 21:07, Kevin Traynor: >>> On 11/23/2018 04:25 PM, Maxime Coquelin wrote: On 11/23/18 4:53 PM, Ilya Maximets wrote: > On 23.11.2018 18:41, Maxime Coquelin wrote: >> On 11/23/18 4:39 PM, Ily

Re: [dpdk-dev] [PATCH v4 5/9] app/procinfo: add support for show tm

2018-11-26 Thread Varghese, Vipin
Hi Konstantin, > > > > If the operator is '|' what else except of 'OR' you expect it to be > > remapped? Thanks for your correction. I have rerun with logical or if ((ret) || (!is_leaf)) 9a512: 83 bd 3c fd ff ff 00cmpDWORD PTR [rbp-0x2c4],0x0 9a519:

Re: [dpdk-dev] [PATCH v4 5/9] app/procinfo: add support for show tm

2018-11-26 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Monday, November 26, 2018 9:28 AM > To: Varghese, Vipin ; Stephen Hemminger > > Cc: Pattan, Reshma ; dev@dpdk.org; > tho...@monjalon.net; Mcnamara, John ; > Byrne, Stephen1 ; Glynn,

Re: [dpdk-dev] [PATCH v4 5/9] app/procinfo: add support for show tm

2018-11-26 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Varghese, Vipin > Sent: Monday, November 26, 2018 4:15 AM > To: Stephen Hemminger > Cc: Pattan, Reshma ; dev@dpdk.org; > tho...@monjalon.net; Mcnamara, John ; > Byrne, Stephen1 ; Glynn, Michael J > ; Patel, Am

[dpdk-dev] About the LRU Cache based DPDK?

2018-11-26 Thread bai bakari
Hi all, I'm going to implement a LRU Cache based DPDK. The most famous implementation of LRU is based on LinkedHashMap. I know that DPDK has a `rte_hash` library, but I don't know whether it can assist me to build a LRU Cache. Can someone give me some advice? Thanks a lot in advance.

[dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-26 Thread Asaf Sinai
Hi, We have 2 NUMAs in our system, and we try to allocate a single DPDK memory pool on each NUMA. However, we see no difference when enabling/disabling "CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES" configuration. We expected that disabling it will allocate pools only on one NUMA (probably NUMA0), but i

[dpdk-dev] [PATCH] app/test-pmd: expand test-pmd queue threshold size of RED parameters

2018-11-26 Thread Rosen Xu
There's very commonly that more than 4G DDR memory in NIC for HQoS, so right now the queue threshold size of RED needs to expand to uint64_t. For struct rte_tm_red_params, it has been fixed, but for test-pmd TM configuration, it hasn't been fixed. This patch fixes it. Fixes: bddc2f40b594 ("app/tes

Re: [dpdk-dev] [PATCH] doc: announce deprecation of rawdev exposed array

2018-11-26 Thread Shreyansh Jain
On Saturday 24 November 2018 11:03 PM, Thomas Monjalon wrote: > 23/11/2018 17:32, Jerin Jacob: >> From: Shreyansh Jain >>> >>> rte_rawdevs is expected to be deprecated in future releases. This is >>> not expected to be directly used, without API access that is, by any >>> external application or d

Re: [dpdk-dev] [PATCH v2 1/2] doc: add guide for debug and troubleshoot

2018-11-26 Thread Varghese, Vipin
> -Original Message- > From: Thomas Monjalon > Sent: Monday, November 26, 2018 1:09 PM > To: Varghese, Vipin > Cc: dev@dpdk.org; Mcnamara, John ; Kovacevic, > Marko ; Byrne, Stephen1 > ; amol.patel@dpdk.org; > honnappa.nagaraha...@arm.com; Dumitrescu, Cristian > ; Burakov, Anatoly