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
3
votes
2 answers

Is it possible to write a web server using Intel DPDK?

I am a newbie to Intel DPDK. I am planning to write an http web server. Can it be implemented using the following logic using DPDK ? Get the packets and send it to Worker Logical Cores. A Worker Logical Core build 'http reuqest' sent by the client,…
HPCM
  • 31
  • 1
  • 4
2
votes
0 answers

Running primary and secondary DPDK applications in different K8s pods

I'm new to DPDK. My current goal is to create an app that will be using DPDK with K8s. The app must have a way to communicate between different pods on a same node in a fast way via IPC/Hugepages…
Kira
  • 21
  • 2
2
votes
1 answer

How to use netcat to provide input to DPDK examples?

I'm running the DPDK Skeleton example from here: https://doc.dpdk.org/guides/sample_app_ug/skeleton.html Getting this output: sudo ./dpdk-skeleton -l 1 -n 4 EAL: Detected CPU lcores: 4 EAL: Detected NUMA nodes: 1 EAL: Detected static linkage of…
intrigued_66
  • 16,082
  • 51
  • 118
  • 189
2
votes
1 answer

How to enable scattered mode in DPDK?

I set the dataroom of the mbuf from 2048 to 64B. To receive large packets(>64B) with a 64B size dataroom mbuf, DPDK reminds me that I need to enable scattered mode. So how can I enable scattered mode?
2
votes
1 answer

Timestamp source for dpdk-pdump packets on E810 and DPDK 19.11

I am using a Intel E810-XXVDA4 and DPDK version 19.11. During troubleshooting we have captures outgoing traffic with dpdk-pdump: dpdk-pdump -- --pdump 'port=1,queue=*,tx-dev=/tmp/tx.pcap' I have opened the pcap-file in wireshark and I can see that…
rmcarlsson
  • 91
  • 6
2
votes
1 answer

DPDK packet drop?

I am trying to debug a issue related to packet loss when using DPDK. When using the application without DPDK, there is no issue seen. To explain: I have a process A which receives packets from process B (from different server). Initial issue: When…
nmurshed
  • 77
  • 6
2
votes
3 answers

rte_eth_tx_burst() descriptor/mbuf management guarantees vs. free thresholds

The rte_eth_tx_burst() function is documented as: * It is the responsibility of the rte_eth_tx_burst() function to * transparently free the memory buffers of packets previously sent. * This feature is driven by the *tx_free_thresh* value supplied…
maxschlepzig
  • 35,645
  • 14
  • 145
  • 182
2
votes
1 answer

EAL initialization error on running DPDK sample program

Following error occurs on executing sample program ./basicfwd -c 1 -n 4 I have already set hugepages. EAL: Detected 8 lcore(s) EAL: Detected 1 NUMA nodes EAL: Detected shared linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL:…
ima
  • 539
  • 2
  • 7
  • 15
2
votes
1 answer

How to set a loop forwarding using one NIC to TX packets and RX them itself in DPDK testpmd?

I want to implement a scene like this: A packet received in NIC's RXQ 0 NIC gets it and puts it in it's TXQ 0 By some way(NIC's effort?), the packet will be sent to the NIC's RXQ 0, and back to step 1. I think the forward mode tx_first is what I…
Alexcured
  • 25
  • 3
2
votes
2 answers

Measuring Round Trip Time using DPDK

My system is CentOS 8 with kernel: 4.18.0-240.22.1.el8_3.x86_64 and I am using DPDK 20.11.1. Kernel: I want to calculate the round trip time in an optimized manner such that the packet sent from Machine A to Machine B is looped back from Machine B…
Ameer Usman
  • 95
  • 10
2
votes
2 answers

Not able to run pktgen-dpdk (error: Illegal instruction)

I have followed below steps to install and run pktgen-dpdk. But I am getting "Illegal instruction" error and application stops. System Information (Centos 8) $ uname -a Linux localhost.localdomain 4.18.0-240.22.1.el8_3.x86_64 #1 SMP Thu Apr 8…
Haider Ali
  • 48
  • 6
2
votes
1 answer

How to connect two docker containers to openvswitch+DPDK

I'm trying to test the throughput between two docker containers using Iperf3 (any throughput tester app) connected to OVS (openvswitch) and DPDK on ubuntu 18.04 (VMWare workstation). The goal of this is to compare the performance of OVS-DPDK vs…
Mohammad Siavashi
  • 1,192
  • 2
  • 17
  • 48
2
votes
1 answer

Can you run DPDK in a non-privileged container as as non-root user?

I am trying to run DPDK in a non-privileged docker container. While I can limit the container's privileges and specify the container as non-privileged, I still need to run a dpdk application (say testpmd) as root. I can also run the container as…
2
votes
1 answer

DPDK suddenly stopped working with error 'EAL: No available 1048576 kB hugepages reported'

I installed DPDK on my ubuntu server 18.04 TLS with kernel 5.4.82 and everything worked fine with dpdk_testpmd until a roundtrip upgrade to/downgrade from kernel 5.9. All of sudden it stopped working with error 'EAL: No available 1048576 kB…
keye
  • 135
  • 1
  • 14
2
votes
2 answers

Running DPDK C program without root privileges

I have C application that is using DPDK 19.11. Currently, the application is running with root permissions (using sudo command). In addition my application is running with huge pages (1GB). Network devices using DPDK-compatible driver: 0000:02:00.0…
Hezy Abudy
  • 51
  • 1
  • 4
1 2
3
44 45