Questions tagged [dpdk]

Intel DPDK (Data Plane Development Kit) is a collection of libraries for fast network packet processing on Linux

Intel Data Plane Development Kit (DPDK) is a collection of libraries, Accelerators and network interface drivers for fast packet processing on Linux, BSD, Windows for 32-bit and 64-bit , , processors.

External links

661 questions
10
votes
2 answers

eal_memory.c:56:18: fatal error: numa.h: No such file or directory

When I execute make from the quick start instruction for DPDK, I get the following error: eal_memory.c:56:18: fatal error: numa.h: No such file or directory The error comes out even when libnuma is installed already: >sudo yum install…
hermit.crab
  • 852
  • 1
  • 8
  • 20
9
votes
1 answer

Testing XDP vs DPDK

I do have some experience with DPDK but currently I'm reading many blogs about XDP. I am trying to compare both technologies and understand the differences between DPDK and XDP. This raises some questions. I hope someone can help me with the…
pjk
  • 107
  • 1
  • 5
6
votes
1 answer

Where the likely/unlikely statement should be placed for more performance?

Some software (often performance-oriented, e.g. Linux kernel, DPDK) has C helpers for influencing branch prediction. I have an absolutely simple code snippet (suppose I know the percantage of a > b) to represent the problem of conditions nesting and…
NK-cell
  • 1,145
  • 6
  • 19
6
votes
1 answer

Hugepages exist, but are not free nor reserved. Or, how do I free hugepages?

I'm running an SPDK experiment (which uses DPDK, which in turn uses hugepages) and it was working yesterday. I'm running them in a shared enviroment (I think one or two more people use this machine for other stuff). Now, whenever I try to run it, I…
hfingler
  • 1,931
  • 4
  • 29
  • 36
5
votes
1 answer

X710 (i40e) NIC DPDK bind Error in centos 7.3

When I use dpdk-devbind.py to bind a port of Network port of X710. I get error: Error: bind failed for 0000:20.00.0 - Cannot bind to driver uio_pci_generic. Error: unbind failed for 0000:20:00.0 - Cannot open /sys/bus/pci/drivers//unbind The…
zigzag
  • 171
  • 2
  • 10
5
votes
2 answers

How to send and receive data using DPDK

I have a quad port Intel 1G network card. I am using DPDK to send data on one physical port and receive on another. I saw a few examples in DPDK code, but could not make it work. If anybody knows how to do that please send me simple instructions so…
user3078434
  • 51
  • 1
  • 3
4
votes
3 answers

insmod: error when inserting DPDK igb_uio.ko module

I use centos 7.3. When I run insmod igb_uio.ko, I get this error in /var/logs/message: igb_uio: loading out-of-tree module taints kernel. WARNING: module'igb_uio' built without retpoline-enable compiler, may affect Spectre v2 mitigation …
zigzag
  • 171
  • 2
  • 10
4
votes
1 answer

Unable to connect testpmd to OVS+DPDK

Summary I'm trying to use testpmd as a sink of traffic from a physical NIC, through OVS with DPDK. When I run testpmd, it fails. The error message is very brief, so I have no idea what's wrong. How can I get testpmd to connect to a virtual port in…
falsePockets
  • 3,826
  • 4
  • 18
  • 37
4
votes
1 answer

problem with testpmd on dpdk and ovs in ubuntu 18.04

i have a X520-SR2 10G Network Card, i gonna use that to create 2 virtual interfaces with OpenvSwitch that compiled with dpdk (installed from repository of ubuntu 18.04) and test this virtual interfaces with testpmd, i do following jobs : Create…
r0_ot
  • 59
  • 4
4
votes
2 answers

How can I get dpdk to recognize a NIC virtualized by Linux?

I have two physical NICs on my machine. Based on this post, it seems that dpdk should be able to work with virtual NICs. Thus I created 3 virtual interfaces using the following commands in Linux, where eno1d1 is the name of my physical NIC. sudo…
merlin2011
  • 71,677
  • 44
  • 195
  • 329
4
votes
1 answer

How to set up RSS hash fuction in XL710 to receive IPv4 flow type?

In DPKD the ETH_RSS_IPV4 data flow is not activated by default for XL710 Intel NIC. So, when you want to distribute packets among lcores you have to select other IPv4 data flows which are supported by XL710, namely ETH_RSS_FRAG_IPV4,…
Kamiar
  • 164
  • 2
  • 14
4
votes
1 answer

Accessing static C functions in DPDK from Rust FFI

I'm a fairly novice programmer and I'm running into a problem that I think I understand but don't know how to fix. I'm attempting to use the Rust FFI to interact with Intel's DPDK which is all in C. My first attempt at this is recreating the…
kentonspr
  • 103
  • 7
4
votes
2 answers

Intel 82540EM is not getting bind with DPDK driver

I am using dpdk library to enhance packet capturing. To use dpdk, we need to bind at least one NIC to dpdk driver. As written in dpdk documentation, I can either use uio_pci_generic or igb_ko driver. To bind with dpdk driver, they have provided a…
user2914066
  • 181
  • 4
  • 14
4
votes
2 answers

DPDK Compilation Error When Building igb_uio

I am trying to test out the DPDK sample applications in a CentOS 6.4 VM running under KVM, but I can't get DPDK to compile. When trying to run make install T=x86_64-default-linuxapp-gcc -n from DPDK-2.0.0, I get the following output: [...] …
Alex Hunter
  • 138
  • 2
  • 10
3
votes
1 answer

rte_eth_tx_burst suddenly stops sending packets

I am using DPDK 21.11 for my application. After a certain time, the the API rte_eth_tx_burst stops sending any packets out. Ethernet Controller X710 for 10GbE SFP+ 1572 drv=vfio-pci MAX_RETRY_COUNT_RTE_ETH_TX_BURST 3 do { …
nmurshed
  • 77
  • 6
1
2 3
44 45