Re: Using rte_flow to distribute single flow type among multiple Rx queues using DPDK in Mellanox ConnectX-5 Ex

2021-09-29 Thread Anna A
Hi Raslan, As a part of rte_flow configuration I did include rss.types = ETH_RSS_IP for action type RTE_FLOW_ACTION_TYPE_RSS. Doesn't that support the spreading in mlx5 pmd? Please correct me if my understanding is different from what you suggested. Thanks Anna On Wed, Sep 29, 2021 at 6:13 PM

Re: Using rte_flow to distribute single flow type among multiple Rx queues using DPDK in Mellanox ConnectX-5 Ex

2021-09-29 Thread Raslan Darawsheh
Hi Anna, What you are basically doing is trying to do RSS on eth layer which we don't support the spreading on it. To make it work you can do either adding ip layer to the items to make the RSS happen on L3 or simply through the rss types of the rss action which would cause an automatic

Re: Using rte_flow to distribute single flow type among multiple Rx queues using DPDK in Mellanox ConnectX-5 Ex

2021-09-29 Thread Anna A
Hi Wisam, I added .rxmode.mq_mode = ETH_MQ_RX_RSS to rte_eth_conf before calling the fn, rte_eth_dev_configure() but still have the packets sent to a single queue. My order of configuration is as follows: 1. Enable .rxmode.mq_mode = ETH_MQ_RX_RSS 2. Initialize port by rte_eth_dev_configure() 3.

Re: [dpdk-users] [Broadcom BNXT] Link event not working

2021-09-29 Thread Ajit Khaparde
On Wed, Sep 29, 2021 at 3:36 AM Thomas Monjalon wrote: > > 17/09/2021 14:39, Antoine POLLENUS: > > Hi, > > > > I'm experiencing some issues with a Broadcom P225P and DPDK in 19.11.3 > > version. > > > > We register a handler to take care of the link status as specified in the > > DPDK

Re: [dpdk-users] what's the cache size of rte_mempool_create()?

2021-09-29 Thread Olivier Matz
Hi, On Wed, Sep 29, 2021 at 12:48:24PM +0200, Thomas Monjalon wrote: > +Cc mempool maintainers > > 08/09/2021 11:18, topperxin: > > HI list > > A question about the value of cache size of rte_mempool_crate() > > function, the defination of this function like below: > > > > > >

Re: [dpdk-users] Memory allocation limits

2021-09-29 Thread Thomas Monjalon
29/09/2021 14:43, Burakov, Anatoly: > From: Thomas Monjalon > > 29/09/2021 12:14, Burakov, Anatoly: > > > From: Thomas Monjalon > > > > 26/09/2021 17:52, Mohammad Masumi: > > > > > I have HP server with 768GB memory 384GB in each Numa but I can't > > > > > allocate more than 64GB by rte_malloc

RE: [dpdk-users] Memory allocation limits

2021-09-29 Thread Burakov, Anatoly
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, September 29, 2021 12:12 PM > To: Mohammad Masumi ; Burakov, Anatoly > > Cc: users@dpdk.org; dmitry.kozl...@gmail.com; Richardson, Bruce > ; step...@networkplumber.org > Subject: Re: [dpdk-users] Memory allocation limits >

RE: [dpdk-users] can we reserve hugepage and not release

2021-09-29 Thread Burakov, Anatoly
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, September 29, 2021 12:11 PM > To: Jiany Wu ; Burakov, Anatoly > > Cc: users@dpdk.org; Richardson, Bruce ; > olivier.m...@6wind.com; dmitry.kozl...@gmail.com; > step...@networkplumber.org; Mcnamara, John > > Subject: Re:

Re: I need DPDK MLX5 Probe error support

2021-09-29 Thread Thomas Monjalon
27/09/2021 02:18, Jaeeun Ham: > Hi, > > I hope you are well. > My name is Jaeeun Ham and I have been working for the Ericsson. > > I am suffering from enabling MLX5 NIC, so could you take a look at how to run > it? > There are two pci address for the SRIOV(vfio) mlx5 nic support but it doesn't

Re: [dpdk-users] Memory allocation limits

2021-09-29 Thread Thomas Monjalon
29/09/2021 12:14, Burakov, Anatoly: > From: Thomas Monjalon > > 26/09/2021 17:52, Mohammad Masumi: > > > Hi > > > > > > I have HP server with 768GB memory 384GB in each Numa but I can't > > > allocate more than 64GB by rte_malloc by changing some parameters in > > > rte_config.h it increased to

Re: [dpdk-users] can we reserve hugepage and not release

2021-09-29 Thread Thomas Monjalon
29/09/2021 12:16, Burakov, Anatoly: > From: Thomas Monjalon > > 18/09/2021 04:37, Jiany Wu: > > > Hello, > > > > > > I met a scenario that, need to start and stop the container many times > > > for the hugepage. But after several times container start and stop, > > > the hugepage is not able to

Re: Issues Cross compiling DPDK

2021-09-29 Thread Thomas Monjalon
27/09/2021 17:45, Ginés García Avilés: > Hi, > I'm trying to cross-compile DPDK using the information provided > here (56. Installing DPDK Using the meson build system — Data Plane > Development Kit 21.11.0-rc0 documentation > ) but,

Re: [dpdk-users] what's the cache size of rte_mempool_create()?

2021-09-29 Thread Thomas Monjalon
+Cc mempool maintainers 08/09/2021 11:18, topperxin: > HI list > A question about the value of cache size of rte_mempool_crate() > function, the defination of this function like below: > > > struct rte_mempool * > > rte_mempool_create(const char *name, unsigned n, unsigned

Re: [dpdk-users] pktgen-dpdk failed to load LUA script

2021-09-29 Thread Thomas Monjalon
+Cc the maintainer 10/09/2021 09:34, Kevin Chen (陳奕儒) : 8553: > Dear DPDK Community, > > I'm trying to execute the LUA script with the following command. > # usr/local/bin/pktgen -l 0-2 -- -T -P -m 1.0,2.1 -f test/hello-world.lua > > But the LUA script is not executed with this message. > >>>

Re: [dpdk-users] pktgen not showing any capture.

2021-09-29 Thread Thomas Monjalon
+Cc dpdk-pktgen maintainer 10/09/2021 12:02, Filip Janiszewski: > Hi, > > While attempting to capture with pktgen, I see the counter > rx_steer_missed_packets increasing in ethtool and nothing being captured. > > in pktgen 'page stats' is always empty and 'page xstats' shows something > is

Re: [dpdk-users] MLX ConnectX-4 Discarding packets

2021-09-29 Thread Thomas Monjalon
Great, thanks for the update! 12/09/2021 11:32, Filip Janiszewski: > Alright, nailed it down to a wrong preferred PCIe device in the BIOS > configuration, it has not been changed after the NIC have been moved to > another PCIe slot. > > Now the EPYC is going really great, getting 100Gbps rate

Re: [dpdk-users] SW Turbo Poll Mode Driver

2021-09-29 Thread Thomas Monjalon
+Cc maintainer 14/09/2021 12:58, Ginés García Avilés: > Hi all, > After following the steps listed here (3. SW Turbo Poll Mode Driver — Data > Plane Development Kit 21.08.0 documentation (dpdk.org) > ), using the specific > versions of > DPDK and

Re: [dpdk-users] EAL: Failed to attach device on primary process error in dpdk 21.08

2021-09-29 Thread Thomas Monjalon
15/09/2021 16:08, animesh tripathi: > Hi Team, > > I am migrating from dpdk 19.11 to dpdk 21.08 for my application and I am > getting the following error while executing the binary: > > *EAL: Failed to attach device on primary process* > > Can anyone please help me out here in understanding the

Re: [dpdk-users] [Broadcom BNXT] Link event not working

2021-09-29 Thread Thomas Monjalon
17/09/2021 14:39, Antoine POLLENUS: > Hi, > > I'm experiencing some issues with a Broadcom P225P and DPDK in 19.11.3 > version. > > We register a handler to take care of the link status as specified in the > DPDK documentation. > > But with this specific board the event is never triggered. I

Re: [dpdk-users] DPDK CPU selection criteria?

2021-09-29 Thread Thomas Monjalon
17/09/2021 17:23, Jared Brown: > Hello everybody! > > Is there some canonical resource or at least a recommendation on how to > evaluate different CPUs for suitability for use with DPDK? There are some performance reports with details: https://core.dpdk.org/perf-reports/ It is difficult to

RE: [dpdk-users] Memory allocation limits

2021-09-29 Thread Burakov, Anatoly
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, September 29, 2021 10:59 AM > To: Mohammad Masumi > Cc: users@dpdk.org; Burakov, Anatoly ; > dmitry.kozl...@gmail.com; Richardson, Bruce > ; step...@networkplumber.org > Subject: Re: [dpdk-users] Memory allocation limits >

RE: Using rte_flow to distribute single flow type among multiple Rx queues using DPDK in Mellanox ConnectX-5 Ex

2021-09-29 Thread Wisam Monther
Hi Anna, > -Original Message- > From: Thomas Monjalon > Sent: Wednesday, September 29, 2021 12:54 PM > To: Anna A > Cc: users@dpdk.org; Matan Azrad ; Slava Ovsiienko > > Subject: Re: Using rte_flow to distribute single flow type among multiple Rx > queues using DPDK in Mellanox

Re: [dpdk-users] can we reserve hugepage and not release

2021-09-29 Thread Thomas Monjalon
18/09/2021 04:37, Jiany Wu: > Hello, > > I met a scenario that, need to start and stop the container many times for > the hugepage. But after several times container start and stop, the > hugepage is not able to reserve. > Hugepage size is 2MB, and HW only support 2MB, can't support 1GB. > Is

Re: [dpdk-users] TX/RX adapter running on the same core problem

2021-09-29 Thread Thomas Monjalon
+Cc eventdev maintainers 26/09/2021 07:21, Jaeeun Ham: > Hi, > > I hope you are well. > > During the traffic test, TX adapter showed starvation due to Rx adapter > processing on the same dpdk-core 03 and dropped the 41412 packets after > 154655 tx_retry. > So, I expect I have to assign TX/RX

Re: [dpdk-users] Memory allocation limits

2021-09-29 Thread Thomas Monjalon
26/09/2021 17:52, Mohammad Masumi: > Hi > > I have HP server with 768GB memory 384GB in each Numa but I can't allocate > more than 64GB by rte_malloc by changing some parameters in rte_config.h it > increased to 128GB > How to increase heap size? adding people Cc to help

Re: Using rte_flow to distribute single flow type among multiple Rx queues using DPDK in Mellanox ConnectX-5 Ex

2021-09-29 Thread Thomas Monjalon
29/09/2021 07:26, Anna A: > Hi, > > I'm trying to use rte_flow_action_type_rss to distribute packets all of the > same flow type among multiple Rx queues on a single port. Mellanox > ConnectX-5 Ex and DPDK version 20.05 is used for this purpose. It doesn't > seem to work and all the packets are