Re: DPDK NIC - Firmware Comptability

2024-03-28 Thread Thomas Monjalon
28/03/2024 06:53, Pujar, Shyam: > Hi All , > I have question regarding DPDK NIC-Firmware version > compatibility. https://doc.dpdk.org/guides/nics/i40e.html. > I have highlighted the DPDK version in use. Does the following matrix > indicates that, "minimum version of Firmware or

Re: when link librte_net_mlx5.so and use gdb, my program can't get environment variable

2024-01-08 Thread Thomas Monjalon
Hello, We could dig in details what happens in constructors, but first I don't understand why you want to LD_PRELOAD some drivers. The DPDK drivers are already loaded dynamically with dlopen() from EAL. 04/12/2023 10:45, jiangheng (G): > Environment: > [root@localhost jh]# cat

Re: Direct Mem Pool vs Indirect mem pool creation

2023-09-01 Thread Thomas Monjalon
01/09/2023 14:47, omer yamac: > Hello, > > I need clarification while creating direct/indirect buffers for mbuf. I > couldn't find exact documentation, and I just looked over the fragmentation > test case and saw that two pools were created. One is a > direct pool, and the other is an indirect

Re: help

2023-08-11 Thread Thomas Monjalon
et3 PMD are ok? > > > > > > > > *From:* Igor de Paula > > *Sent:* Tuesday, July 25, 2023 8:42 PM > > *To:* Varghese, Vipin > > *Cc:* Yigit, Ferruh ; Jochen Behrens < > > jbehr...@vmware.com>; Thomas Monjalon ; > > users@dpdk.org; Gupta, Ni

Re: Supporting RSS with DPDK in a VM

2023-07-28 Thread Thomas Monjalon
Hello, You can have packets distributed to multiple queues without RSS. If you really wants to enable the RSS algorithms, it seems not supported for now with vhost_user. It can be enabled with vhost running in the kernel: https://qemu.readthedocs.io/en/latest/devel/ebpf_rss.html 26/07/2023

Re: Enable RSS for virtio application ( dpdk version 21.11)

2023-07-28 Thread Thomas Monjalon
You may need vhost running in the Linux kernel with some BPF code. There is a documentation about eBPF RSS: https://qemu.readthedocs.io/en/latest/devel/ebpf_rss.html 26/07/2023 09:32, shiv chittora: > Thanks Bing for quick response. > > The virtio driver version 1.0.0 is included in the Linux

Re: help

2023-07-20 Thread Thomas Monjalon
matter of BIOS settings for the IOMMU? > > > > > > > On Thu, Jul 20, 2023 at 10:32 AM Thomas Monjalon > > > wrote: > > > > > > > +Cc the vmxnet3 maintainer. > > > > > > > > Please Jochen, do you have an idea what's wrong be

Re: help

2023-07-20 Thread Thomas Monjalon
20/07/2023 11:35, Igor de Paula: > The weird thing is that it only happens when I am using a host with an AMD > processor. It doesn't happen when I use a host with an Intel processor. So it's probably a matter of BIOS settings for the IOMMU? > On Thu, Jul 20, 2023 at 10:32 AM Thomas

Re: help

2023-07-20 Thread Thomas Monjalon
+Cc the vmxnet3 maintainer. Please Jochen, do you have an idea what's wrong below? 20/07/2023 11:25, Igor de Paula: > This is because it can't negotiate the IOMMU type with any port. > > On Thu, Jul 20, 2023 at 5:08 AM Thomas Monjalon wrote: > > > Hello, > > >

Re: help

2023-07-19 Thread Thomas Monjalon
Hello, The first error is "Cause: Error: number of ports must be even" 03/05/2023 18:13, Igor de Paula: > I am running a VM inside a VMWARE server (vSphere). > My goal it to set up DPDK with two HW ports, and set up a virtio_user to > interact with the kernel stack. > In another app I have it

Re: Generic flow string parser

2023-04-29 Thread Thomas Monjalon
This thread is an API suggestion, it should be discussed in the developer mailing list (did the Cc here). 29/04/2023 16:23, Cliff Burdick: > > Would rather the flow parser was rewritten as well. Doing open coded > > parser is much more error prone and hard to extend versus writing the > > parser

Re: Generic flow string parser

2023-04-27 Thread Thomas Monjalon
26/04/2023 07:47, David Marchand: > On Wed, Apr 26, 2023 at 6:47 AM Cliff Burdick wrote: > > > > Does anyone know if a generic parser for flow strings exists anywhere? The > > one inside of testpmd is ideal, but unfortunately it's self-contained and > > not distributed as part of a normal DPDK

Re: Running testpmd as non-root user with uio_pci_generic

2023-03-28 Thread Thomas Monjalon
14/01/2023 23:17, Isaac Boukris: > Hi, > > I tried to run testpmd as a non-root user with uio_pci_generic (i.e. > not vfio-pci) on a vmxnet3 interface by setting the > 'cap_ipc_lock,cap_sys_admin' capabilities as according to the doc at: >

Re: USB device support in DPDK

2022-12-05 Thread Thomas Monjalon
02/12/2022 14:01, John Bize: > Will DPDK support USB-Ethernet devices? If there is a need and an advantage for USB devices to be supported in DPDK, why not? In general, DPDK supports what is contributed and maintained.

Re: OpenWRT Related Question

2022-07-21 Thread Thomas Monjalon
21/07/2022 03:08, R T: > On Wednesday, July 20, 2022 at 06:03:32 AM EDT, Thomas Monjalon > wrote: > > > We have this howto page about OpenWRT: > > https://doc.dpdk.org/guides/howto/openwrt.html > > I am not sure how much it is up to date, > > please

Re: OpenWRT Related Question

2022-07-20 Thread Thomas Monjalon
Hello, 20/07/2022 06:15, R T: > Hello Folks,I've been writing a small application on Ubuntu 20.04 that uses > DPDK. I started with some of the simpler examples such as l2fwd and > packet_ordering and added some other function I wanted to experiment with. > I'm getting good packet throughput

Re: Fwd: QOS sample example.

2022-03-31 Thread Thomas Monjalon
+Cc QoS scheduler maintainers (see file MAINTAINERS) 31/03/2022 18:59, satish amara: > Hi, > I am trying to understand the QOS sample scheduler application code. > Trying to understand what is tc_period in the config. > 30. QoS Scheduler Sample Application — Data Plane Development Kit 21.05.0

Re: ConnectX5 Setup with DPDK

2022-02-25 Thread Thomas Monjalon
25/02/2022 19:29, Aaron Lee: > Hi Thomas, > > I was doing some more testing and wanted to increase the RX queues for the > CX5 but was wondering how I could do that. I see in the usage example in > the docs, I could pass in --rxq=2 --txq=2 to set the queues to 2 each but I > don't see that in my

Re: ConnectX5 Setup with DPDK

2022-02-21 Thread Thomas Monjalon
ports number, the last port > > will pair with itself. > > > > Configuring Port 0 (socket 1) > > Port 0: EC:0D:9A:68:21:A8 > > Checking link statuses... > > Done > > testpmd> show port summary all > > Number of available ports: 1 > > Port MAC Add

Re: ConnectX5 Setup with DPDK

2022-02-21 Thread Thomas Monjalon
21/02/2022 19:52, Thomas Monjalon: > 18/02/2022 22:12, Aaron Lee: > > Hello, > > > > I'm trying to get my ConnectX5 NIC working with DPDK v21.11 but I'm > > wondering if the card I have simply isn't compatible. I first noticed that > > the model I was given is

Re: ConnectX5 Setup with DPDK

2022-02-21 Thread Thomas Monjalon
18/02/2022 22:12, Aaron Lee: > Hello, > > I'm trying to get my ConnectX5 NIC working with DPDK v21.11 but I'm > wondering if the card I have simply isn't compatible. I first noticed that > the model I was given is MCX515A-CCA_Ax_Bx. Below are some of the error > logs when running dpdk-pdump.

Re: Initial Setup and best practices

2022-02-13 Thread Thomas Monjalon
13/02/2022 18:37, Simon Brown: > Hello, Hello > I'm new to DPDK and I'm trying to setup a simple project to count packets. > I'm > using MoonGen to generate the traffic on one machine and can receive the data > using traditional sockets on another machine. So I know that part works. > > I've

Re: net_mlx5: unable to recognize master/representors on the multiple IB devices

2022-01-16 Thread Thomas Monjalon
+Cc mlx5 experts 14/01/2022 11:10, Rocio Dominguez: > Hi, > > I'm doing a setup with Mellanox ConnectX-4 (MCX416A-CCA) NICs. > > I'm using: > > OS SLES 15 SP2 > DPDK 19.11.4 (the official supported version for SLES 15 SP2) > MLNX_OFED_LINUX-5.5-1.0.3.2-sles15sp2-x86_64 (the latest one) >

release schedule change proposal

2021-11-15 Thread Thomas Monjalon
For the last 5 years, DPDK was doing 4 releases per year, in February, May, August and November (the LTS one): .02 .05 .08 .11 (LTS) This schedule has multiple issues: - clash with China's Spring Festival - too many rushes, impacting maintainers & testers -

Re: Enable RX interrupts

2021-11-06 Thread Thomas Monjalon
01/11/2021 09:56, Jack Humphries: > Hi Dmitry, > > Thanks for the quick response! Yes, I was calling rte_eth_dev_rx_intr_enable > — I just tried re-arming interrupts before each call to epoll and my initial > experiment shows that fixes the issue. > > You are right that l3fwd-power does the

Re: [dpdk-dev] Doubt regarding DPDK hash Library implementation

2021-11-04 Thread Thomas Monjalon
04/11/2021 17:39, Medvedkin, Vladimir: > >> 01/11/2021 11:55, Syam Prasad N Pearson: > >>> /** Number of items per bucket. */ > >>> *#define RTE_HASH_BUCKET_ENTRIES 8* > >>> > >>> defined inside: > >>> dpdk-20.11.3/dpdk-stable-20.11.3/lib/librte_hash /rte_cuckoo_hash.h > >>> > >>> Why does the

Re: [dpdk-dev] Doubt regarding DPDK hash Library implementation

2021-11-04 Thread Thomas Monjalon
+Cc hash lib maintainers 01/11/2021 11:55, Syam Prasad N Pearson: > Dear Sir/Madam, > I am a developer trying to get familiar with the DPDK hash library. I tried > to make and use a hash table successfully. > During the development I came across a variable > > /** Number of items per bucket. */

Re: Troubles with building of DPDK.RPM and meson

2021-10-12 Thread Thomas Monjalon
12/10/2021 08:45, Ruslan R. Laishev: > Hello All! > > I have a small study task to make DPDK.RPM with the latest DPDK from > the git. You should look at what is done in Fedora for the latest DPDK. > I use DPDK.SPEC from the latest .SRC.RPM kit as a template. Not sure what is your

Re: I need DPDK MLX5 Probe error support

2021-10-06 Thread Thomas Monjalon
[0x7f56c229018b] tid=1377, > /lib64/libc.so.6(abort+0x175) [0x7f56c2291585] tid=1377, > /usr/local/bin/ericsson-packet-processor(main+0x458) [0x406818] tid=1377, > /lib64/libc.so.6(__libc_start_main+0xed) [0x7f56c227b34d] tid=1377, > /usr/local/bin/ericsson-packet-processor(_start+0x2a) [

Re: I need DPDK MLX5 Probe error support

2021-10-06 Thread Thomas Monjalon
bles MLX5 support if needed dependencies are available. > > BR/Jaeeun > > -----Original Message- > From: Thomas Monjalon > Sent: Sunday, October 3, 2021 4:51 PM > To: Jaeeun Ham > Cc: users@dpdk.org; alia...@nvidia.com; rasl...@nvidia.com; as...@nvidia.com > Subject: Re

Re: I need DPDK MLX5 Probe error support

2021-10-05 Thread Thomas Monjalon
you in advance. > > BR/Jaeeun > > -Original Message----- > From: Thomas Monjalon > Sent: Sunday, October 3, 2021 4:51 PM > To: Jaeeun Ham > Cc: users@dpdk.org; alia...@nvidia.com; rasl...@nvidia.com; as...@nvidia.com > Subject: Re: I need DPDK MLX5 Probe error supp

Re: I need DPDK MLX5 Probe error support

2021-10-03 Thread Thomas Monjalon
03/10/2021 10:10, Jaeeun Ham: > Hi Thomas, > > Thank you so much for your sincere support. > I will follow your suggestion and do my best to solve this issue. > > By the way, is it okay to use mlx5_core driver by different applications > which have different DPDK versions? > :12:01.0 (DPDK

Re: I need DPDK MLX5 Probe error support

2021-10-03 Thread Thomas Monjalon
$(get_dpdk_core_list_parameter) \ > $(get_dpdk_mem_parameter) \ > $(get_dpdk_hugepage_parameters) \ > -d /usr/local/lib/librte_mempool_ring.so \ > -d /usr/local/lib/librte_mempool_stack.so \ > -d /usr/local/lib/librte_net_pcap.so \ > -d /usr/local/lib/librte_net_i40e.so \

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 &g

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

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 s

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] 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

Re: [dpdk-users] [DISCUSSION] code snippet documentation

2021-07-22 Thread Thomas Monjalon
15/07/2021 09:01, Asaf Penso: > Hello DPDK community, > > I would like to bring up a discussion about a way to have code snippets as an > example for proper usage. > The DPDK tree is filled with great pieces of code that are well documented > and maintained in high quality. > I feel we are a

[dpdk-users] new IRC channel

2021-07-16 Thread Thomas Monjalon
As agreed in a Technical Board meeting, the preferred IRC channel for the DPDK project moved from freenode to Libera.Chat: https://mails.dpdk.org/archives/dev/2021-July/214662.html The website is updated: https://core.dpdk.org/contribute/ There is a good guide to start with

Re: [dpdk-users] Question regarding DPDK on AWS

2021-07-01 Thread Thomas Monjalon
30/06/2021 16:40, Antonis Christodoulou: > Hello all, Hello, > my name is Antonis Christodoulou, and I am a new user of DPDK. I am not sure > this is the right place to ask a usage question, so please feel free to > redirect me to someone more appropriate for such questions as needed. Your

Re: [dpdk-users] Unable to setup hugepages

2021-06-01 Thread Thomas Monjalon
31/05/2021 17:35, Gabriel Danjon: > Hello, > > After successfully installed the DPDK 20.11 on my Centos 8-Stream > (minimal), I am trying to configure the hugepages but encounters a lot > of difficulties. There's some confusing info below. Let's forget all the details and focus on simple

Re: [dpdk-users] Enable to install DPDK on Centos 8-Stream

2021-05-27 Thread Thomas Monjalon
27/05/2021 18:10, Gabriel Danjon: > Hello, > > I am having difficulties to compile and install DPDK from sources on the > latest Centos 8-Stream. Did you compile and install DPDK successfully? Where is it installed? > > After having installed the required drivers and libraries, following the

Re: [dpdk-users] All links down with Chelsio T6 NICs

2021-04-10 Thread Thomas Monjalon
+Cc Chelsio maintainer 09/04/2021 19:24, Danushka Menikkumbura: > Hello, > > When I run testpmd on a system with 2 two-port Chelsio T6 NICs, the link > status is down for all four ports. I use igb_uio as the kernel driver. > Below is my testpmd commandline and the startup log. > > sudo

Re: [dpdk-users] [dpdk-ci] Integration of DPDK into Bazel

2021-03-11 Thread Thomas Monjalon
if you find new volunteers, it will not be always up-to-date. You should look for how to link an existing library from bazel. > From: Thomas Monjalon > 11/03/2021 00:42, Jinkun Geng: > > For any project using bazel, if we want to use DPDK, then we need to > > compile DPDK stuf

Re: [dpdk-users] [dpdk-ci] Integration of DPDK into Bazel

2021-03-10 Thread Thomas Monjalon
ilt inside bazel? You are not able to call meson/ninja commands from bazel? How do you do with other libraries? Does bazel usually reimplement what is packaged with autotools? > ________ From: Thomas Monjalon > 09/03/2021 05:11, Jinkun Geng: > > Too bad. :< >

Re: [dpdk-users] [dpdk-ci] Integration of DPDK into Bazel

2021-03-10 Thread Thomas Monjalon
09/03/2021 05:11, Jinkun Geng: > Too bad. :< Why is it too bad? How the choice of an internal build system can affect other projects? From: Stephen Hemminger > On Tue, 9 Mar 2021 01:32:16 + > Jinkun Geng wrote: > > > Hi, all. > > Since bazel building system is becoming more and more

Re: [dpdk-users] MLX5: Using packet send scheduling / packet pacing

2021-01-30 Thread Thomas Monjalon
30/01/2021 11:54, Carsten Andrich: > Hi Slava, > > thank you for the prompt response. I think the requirements for Packet > Pacing should be added to Table 34.2(?) of the MLX5 docs [1]. +1 for improving the doc

Re: [dpdk-users] MLX5: Using packet send scheduling / packet pacing

2021-01-29 Thread Thomas Monjalon
+Cc Slava 29/01/2021 17:30, Carsten Andrich: > Hello everyone, > > I'm trying to use packet send scheduling [1] with DPDK 20.11 and the > MLX5 PMD (NIC: ConnectX-5 MCX516A-CDAT). This patch contains some > additional information on this feature also know as packet pacing [2]. > > According to

Re: [dpdk-users] DPDK: MPLS packet processing

2021-01-18 Thread Thomas Monjalon
18/01/2021 09:46, Raslan Darawsheh: > From: raktim bhatt > > > Hi All, > > > > I am trying to build a multi-RX-queue dpdk program, using RSS to split the > > incoming traffic into RX queues on a single port. Mellanox ConnectX-5 and > > DPDK Version 19.11 is used for this purpose. It works fine

Re: [dpdk-users] Does vmxnet3 PMD supports LSC=1 ?

2021-01-14 Thread Thomas Monjalon
+Cc Yong Wang, maintainer of this PMD. 14/01/2021 18:30, madhukar mythri: > Hi, > > Does vmxnet3 PMD support LSC=1(i.e with interrupt mode) for link changes ? > > When i enable LSC=1 the functionality works fine, but, when pumping traffic > i'm seeing increasing in CPU load on some cores which

Re: [dpdk-users] DPDK 20.11 MLX5 testpmd tx_pp 'WQE index ignore feature is required for packet pacing'

2020-12-11 Thread Thomas Monjalon
11/12/2020 17:19, Slava Ovsiienko: > From: Thomas Monjalon > > 09/12/2020 17:03, Alessandro Pagani: > > > Hi all, > > > > > > I am trying to run dpdk testpmd with Mellanox ConnectX4 Lx (mlx5 driver). > > > > > > I am specifying the tx_pp

Re: [dpdk-users] Questions about public IP included in DPDK driver code

2020-12-11 Thread Thomas Monjalon
+Cc ark maintainers 07/12/2020 15:17, HuangLiming: > I found that the driver contains public IP(169.254.10.240), which leads to my > binary > with public IP too, which is not what I want. > What is the function of this IP, and could the community delete it for > security reasons? > >

Re: [dpdk-users] DPDK 20.11 MLX5 testpmd tx_pp 'WQE index ignore feature is required for packet pacing'

2020-12-11 Thread Thomas Monjalon
09/12/2020 17:03, Alessandro Pagani: > Hi all, > > I am trying to run dpdk testpmd with Mellanox ConnectX4 Lx (mlx5 driver). > > I am specifying the tx_pp parameter to provide the packet send scheduling > on mbuf timestamps, but the testpmd fails with the following error: [...] > EAL: Probe PCI

Re: [dpdk-users] Changes to DPDK kmod drivers / backward compatibility within LTS rel.

2020-10-29 Thread Thomas Monjalon
24/09/2020 19:12, Alexander Kotliarov: > Hi there! > I would like to find out what is the policy regarding changes to the DPDK's > kmod drivers such as igb_uio.ko within a DPDK's LTS release. Are these > changes backward compatible? > For example, is there a guarantee that an application built >

Re: [dpdk-users] Error while building DPDK version 19.11 over latest kernel version

2020-10-02 Thread Thomas Monjalon
01/10/2020 19:04, Klei rama: > Hei, > > I am trying to build DPDK version 19.11 in my ubuntu machine (18.04) with > the latest kernel version 5.9. It gives me an error while I try to build > it. The error is when I try to build linux/kni module. > The error looks something like this: > >

Re: [dpdk-users] Resolved Issues per release

2020-08-12 Thread Thomas Monjalon
12/08/2020 15:32, Jim Holland (jimholla): > The release notes at https://doc.dpdk.org/guides-20.02/rel_notes/index.html > don't list the resolved issues/bugs. Is there a way to find what bugs are > resolved for each dpdk release? When looking at the git history, every commit fixing a bug should

Re: [dpdk-users] meson: is there a mechanism for controlling compilation configuration

2020-07-29 Thread Thomas Monjalon
29/07/2020 09:20, Chengchang Tang: > Hi, > DPDK with 'make' will be deprecated in a future release. I have some > questions about using meson to build DPDK. > > When using the make, we can change the macros in config/common_base to > control the compiling macros. For example, if i want to debug

Re: [dpdk-users] Trouble Building DPDK with MLNX OFED(4.4) Works with 5.0

2020-06-06 Thread Thomas Monjalon
S,18.11 > LTS and 17.11 LTS as I shared in the previous mail. You are mixing different versions of drivers. Choose either rdma-core packaged in Ubuntu, or OFED from mellanox.com. > I hope this answers your questions. > > Vineeth > > On Sat, Jun 6, 2020 at 3:13 PM Thomas

Re: [dpdk-users] Trouble Building DPDK with MLNX OFED(4.4) Works with 5.0

2020-06-06 Thread Thomas Monjalon
Hi, 06/06/2020 21:43, Vineeth Thapeta: > Hi guys, > > I had to roll back OFED version from 5.0 to 4.4 because another library > Moongen has trouble building with OFED 5.0. How Moongen is related to OFED? Why using OFED and not upstream packaging of rdma-core? Which distribution are you using?

Re: [dpdk-users] mlx5 PMD fails to receive certain icmpv6 multicast

2020-05-06 Thread Thomas Monjalon
26/03/2020 22:11, Thomas Monjalon: > 06/03/2020 01:45, Liwu Liu: > > Hi Team, > > > > I am using the mlx5/100G in KVM guest. The host shows this PCI vfNIC is > > provisioned to the guest: > > "17:01.1 Ethernet controller: Mellanox Technologies M

Re: [dpdk-users] [mlx5 + DPDK 19.11] Flow insertion rate less than 4K per sec

2020-04-19 Thread Thomas Monjalon
. > > ``` > sudo ./flow_perf -l 3-7 -n 4 -w 02:00.0,dv_flow_en=1 -- --ingress --ether > --ipv4 --udp --queue --flows-count=10 > ``` > gives > > ``` > :: Total flow insertion rate -> 0.949381 K/Sec > :: The time for creating 10 in flows 105.331842 seconds > ::

Re: [dpdk-users] [mlx5 + DPDK 19.11] Flow insertion rate less than 4K per sec

2020-04-14 Thread Thomas Monjalon
Hi, 10/04/2020 20:11, Yan Lei: > I am doing some study that requires inserting more than 1 million flow > rules per second to the NIC. And I runs DPDK 19.11 on a ConnectX-5 NIC. > > But I only managed to create around 3.3K rules per second. > Below is the code I used to measure the insertion

Re: [dpdk-users] General Questions

2020-04-09 Thread Thomas Monjalon
09/04/2020 17:32, Stephen Hemminger: > On Thu, 9 Apr 2020 20:57:19 +0530 > Shyam Shrivastav wrote: > > > From my experience as dpdk user > > > > On Thu, Apr 9, 2020 at 11:41 AM Cristofer Martins < > > cristofermart...@hotmail.com> wrote: > > > > > Well the reason i thought about using

Re: [dpdk-users] CX4-Lx VF link status in Azure

2020-03-27 Thread Thomas Monjalon
27/03/2020 18:26, Benoit Ganne (bganne): > > Unfortunately the reason was not documented. > > I suggest we go with a patch from your understanding > > and we'll test it in multiple conditions to validate nothing is broken. > > Done: http://mails.dpdk.org/archives/dev/2020-March/161096.html Very

Re: [dpdk-users] CX4-Lx VF link status in Azure

2020-03-27 Thread Thomas Monjalon
27/03/2020 11:02, Benoit Ganne (bganne): > > Second, as Benoit said, we should relax this requirement. > > If the link speed is unknown, a second request can be tried, no more. > > Benoit, feel free to submit a patch showing how you think it should > > behave. > > Otherwise, I guess a maintainer

Re: [dpdk-users] CX4-Lx VF link status in Azure

2020-03-26 Thread Thomas Monjalon
On 3/26/2020 12:00, Benoit Ganne (bganne) wrote: > Just removing the over-strict check in mlx5 PMD is enough for everything to > work fine: > https://gerrit.fd.io/r/c/vpp/+/26152/1/build/external/patches/dpdk_20.02/0002-mlx5-azure-workaround.patch [...] > 2) mlx5 PMD enforce that both link speed

Re: [dpdk-users] mlx5 PMD fails to receive certain icmpv6 multicast

2020-03-26 Thread Thomas Monjalon
06/03/2020 01:45, Liwu Liu: > Hi Team, > > I am using the mlx5/100G in KVM guest. The host shows this PCI vfNIC is > provisioned to the guest: > "17:01.1 Ethernet controller: Mellanox Technologies MT27800 Family > [ConnectX-5 Virtual Function]" > > I am using DPDK 19.11 with kind of

Re: [dpdk-users] rte_eth_stats_get: imiss is not set when using mlx4/mlx5 driver

2020-03-26 Thread Thomas Monjalon
Hi, Sorry for the late answer. 22/10/2019 10:38, guyifan: > DPDK version 18.11.2,imiss is always 0. > And I could not find any code about 'imiss' in > 'dpdk-stable-18.11.2/drivers/net/mlx5/' or > 'dpdk-stable-18.11.2/drivers/net/mlx4/'. > Is there any way to know how many packets have been

Re: [dpdk-users] DPDK TX problems

2020-03-26 Thread Thomas Monjalon
Thanks for the interesting feedback. It seems we should test this performance use case in our labs. 18/02/2020 09:36, Hrvoje Habjanic: > On 08. 04. 2019. 11:52, Hrvoje Habjanić wrote: > > On 29/03/2019 08:24, Hrvoje Habjanić wrote: > >>> Hi. > >>> > >>> I did write an application using dpdk

Re: [dpdk-users] CX4-Lx VF link status in Azure

2020-03-26 Thread Thomas Monjalon
26/03/2020 21:09, Mark Bloch: > > On 3/26/2020 12:00, Benoit Ganne (bganne) wrote: > >> Pasting back this important info: > >> " > >> Note that ethtool and '/sys/class/net//speed' also fails > >> to report the link speed (but not the link status). > >> " > >> > >> 26/03/2020 19:27, Benoit Ganne

Re: [dpdk-users] [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-18 Thread Thomas Monjalon
18/09/2019 09:02, Zhang, Xiao: > > There is some hardware limitation and need to enable RSS to distribute > packets for X710. Is this limitation documented?

Re: [dpdk-users] devargs syntax to use MAC address for bond slaves

2019-09-04 Thread Thomas Monjalon
19/08/2019 17:56, Greg O'Rawe: > Hi, > > Thanks for the reply. Is such a patch to the bonding PMD feasible? Probably yes. You can try to do it, and work with Chas for help.

Re: [dpdk-users] devargs syntax to use MAC address for bond slaves

2019-08-10 Thread Thomas Monjalon
+Cc Chas, the maintainer of the bonding PMD 10/08/2019 18:42, Thomas Monjalon: > Hi, > > 08/08/2019 18:28, Greg O'Rawe: > > Hi, > > > > I'm using DPDK 17.11.5 to bond two interfaces via the vdev syntax, however > > the two interfaces are on the same N

Re: [dpdk-users] devargs syntax to use MAC address for bond slaves

2019-08-10 Thread Thomas Monjalon
Hi, 08/08/2019 18:28, Greg O'Rawe: > Hi, > > I'm using DPDK 17.11.5 to bond two interfaces via the vdev syntax, however > the two interfaces are on the same NIC and share the same PCI address. > > Is there a way to reference them using the devargs syntax by MAC address? It > is discussed here

Re: [dpdk-users] DPDK MLX5 Probe error

2019-04-03 Thread Thomas Monjalon
Hi, 03/04/2019 20:32, Mora Gamboa, Luis Eduardo: > I'm not able to use the mlx5 pmd driver with some Mellanox NICs I have > installed on my server. The error I'm receiving during EAL initialization is: > > et_mlx5: no Verbs device matches PCI device :03:00.0, are kernel drivers > loaded? >

Re: [dpdk-users] Suggestion: DPDK "latest" Download Links

2018-08-23 Thread Thomas Monjalon
22/08/2018 11:58, Ferruh Yigit: > On 8/20/2018 8:03 PM, Justin Parus wrote: > > Hi, > > > > I would like to propose adding DPDK "latest" download links. For example > > dpdk-latest-major and dpdk-latest-stable, would automatically update and > > point to the most recent date major and stable

Re: [dpdk-users] Apply patches from the mailing list

2018-03-26 Thread Thomas Monjalon
25/03/2018 16:31, long...@viettel.com.vn: > From: "shreyansh jain" > > From: long...@viettel.com.vn > > > A very basic question, but how do I apply some of the patches that > > > were put on the dev mailing list to try it out? I already looked at > > > the next- subtrees

Re: [dpdk-users] Using Mellanox ConnectX-3 for DPDK

2018-02-05 Thread Thomas Monjalon
Hi, 06/02/2018 00:01, Rohan Gandhi: > Hello All, > > 1) I am trying to use Mellanox ConnectX-3 to use DPDK on my server > (Ubuntu 16.04 kernel 4.13.0-32-generic). > > 2) Using dpdk/usertools/dpdk-setup.sh, I can see that the Mellanox > interface is dpdk compatible. > > Network devices using

Re: [dpdk-users] Does BONDING_MODE_8023AD is works in 17.11?

2018-01-18 Thread Thomas Monjalon
No reply after 2 months, adding maintainer Cc. 17/11/2017 23:24, Алексей Телятников: > Greetings. I have issue with link-aggregation in DPDK. My HP A5820X > switch does not recive LACP from DPDK application. > > Has anyone worked with BONDING_MODE_8023AD? > > I have: DPDK 17.11 HEAD &

Re: [dpdk-users] DPDK mlx4 PMD on Azure VM

2017-12-19 Thread Thomas Monjalon
19/12/2017 08:14, Hui Ling: > I installed DPDK 17.11 on Ubuntu 16.04. And I downloaded MLNX OFED > 4.2-1.2.0.0 and installed up-stream libs with > ./mlnxofedinstall --guest --dpdk --upstream-libs > > MLX4 PMD in DPDK doesn't seem to work with lib from ubuntu repository > and install OFED allows

Re: [dpdk-users] DPDK mlx4 PMD on Azure VM

2017-12-19 Thread Thomas Monjalon
Hi, 19/12/2017 08:14, Hui Ling: > I installed DPDK 17.11 on Ubuntu 16.04. And I downloaded MLNX OFED > 4.2-1.2.0.0 and installed up-stream libs with > ./mlnxofedinstall --guest --dpdk --upstream-libs > > MLX4 PMD in DPDK doesn't seem to work with lib from ubuntu repository > and install OFED

Re: [dpdk-users] attach/detach on secondary process

2017-12-13 Thread Thomas Monjalon
13/12/2017 22:10, Stephen Hemminger: > On Wed, 13 Dec 2017 22:00:48 +0100 > Thomas Monjalon <tho...@monjalon.net> wrote: > > > 13/12/2017 18:09, Stephen Hemminger: > > > Many DPDK drivers require that setup and initialization be done by > > > the primary p

Re: [dpdk-users] attach/detach on secondary process

2017-12-13 Thread Thomas Monjalon
13/12/2017 18:09, Stephen Hemminger: > Many DPDK drivers require that setup and initialization be done by > the primary process. This is mostly to avoid dealing with concurrency since > there can be multiple secondary processes. I think we should consider this limitation as a bug. We must allow a

Re: [dpdk-users] VF RSS availble in I350-T2?

2017-12-13 Thread Thomas Monjalon
12/12/2017 13:58, ..: > I assume my message was ignored due to it not being related to dpdk > software? It is ignored because people have not read it or are not expert in this hardware. I am CC'ing the maintainer of igb/e1000. > On 11 December 2017 at 10:14, .. wrote: > >

Re: [dpdk-users] DPDK Performance tips

2017-12-13 Thread Thomas Monjalon
13/12/2017 09:14, Anand Prasad: > Hi Dpdk team, >Can anyone please share tips to get better DPDK performance? I have tried > to run DPDK test applications on various PC configurations with different CPU > Speeds, RAM Size/Speed and and PCIex16 2nd and 3rd generation connections... > but I

Re: [dpdk-users] [vpp-dev] vpp-verify-master-opensuse build failure triage

2017-11-29 Thread Thomas Monjalon
Hi, It is an error on DPDK side. It seems the tarball for DPDK 17.08 has been overwritten by the stable release process. I have restored the original tarball and we are checking what went wrong. fast.dpdk.org is a CDN for static.dpdk.org. It may take time to get the restored tarball on all CDN

Re: [dpdk-users] Building mlx4 drivers

2017-11-07 Thread Thomas Monjalon
Hi, 07/11/2017 21:49, Michael Sowka: > Hello, I am experiencing some early difficulties in building the mlx4 > driver for a ConnectX-3 device. Which version of DPDK? [...] > Again, i'm sticking with docs to not install anything outside of what > MLNX_OFED provides in its packages, but where is

  1   2   >