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

386 questions
8
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
  • 592
  • 1
  • 5
  • 13
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
  • 63,368
  • 37
  • 161
  • 279
4
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,808
  • 2
  • 28
  • 34
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

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
  • 9
3
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
  • 43
  • 4
3
votes
1 answer

One buffer pool per NIC queue

AFAIK the DPDK code examples use a single rte_mempool for the whole application (or for all the queues of a given port). Assuming all EAL threads interact only with their own RX/TX queue, is it recommended to have one mempool per lcore/queue to…
user36568
  • 67
  • 4
3
votes
1 answer

DPDK buffers received from the RX ring and freeded on the TX path

Consider a DPDK program where each EAL thread: receives a packet on its own RX queue modifies the buffer in place puts it back on the TX ring to echo it back to the sender The RX buffers are not explicitely freeed as they are re-used on the TX…
user36568
  • 67
  • 4
3
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
  • 2,538
  • 2
  • 12
  • 26
3
votes
2 answers

How to compile a DPDK application as a library

I have a program using DPDK and I am compiling it using the Makefile provided in the examples. If i compile the program as an APP (as describe here), all goes well. However, my code is part of a larger project, for which the use of a separate…
Amedeo
  • 828
  • 6
  • 15
3
votes
1 answer

Huge number of "dTLB-load-misses" when DPDK forwarding test

Recently I am trying to do some forwarding test with DPDK "testpmd" application. And I find something interesting. When 512 descriptors are used for TX and RX, the performance is better than using 4096 descriptors. After checking the counters with…
3
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
  • 101
  • 1
  • 9
3
votes
2 answers

Dropped packets even if rte_eth_rx_burst do not return a full burst

I have a weird drop problem, and to understand my question the best way is to have a look at this simple snippet: while( 1 ) { if( config->running == false ) { break; } num_of_pkt = rte_eth_rx_burst( config->port_id, …
fjanisze
  • 984
  • 5
  • 20
3
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
  • 31
  • 1
  • 3
1
2 3
25 26