ISSUES RELATED TO DPDK

I am trying to apply Data Plane Development Kit to allow an Network Card to forward data received by one port through another port, but Data Plane Development Kit is completely new to me. Thus, I am wondering what should I do to configure it to fulfill my request.


Solution 1:

One can start using DPDK libraries in 2 modes

  1. Physcial NIC
  2. Virtual NIC

As mentioned since you are using Physcial NIC, I recommend first to check DPDK Supported CPU and NIC and ensure you have right devices. If you do not have a physical you can fall back to virtual NIC like PCAP/TAP (L2), TUN (L3), or KNI. Based on the route forward rules you can then redirect the valid packet from DPDK to any non DPDK physical interface.

Recommend reading

  • start with step 1.
  • DPDK driver bind and unbind.
  • sample reference application