Packet forwarding in XDP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,
We are trying to write a program that receives a packet from a client and is supposed to return the packet to the source. We tried to swap the source and dest and send it using the XDP_TX action. But it doesn't work.

We have compiled a new kernel and bound the NIC to xdp successfully. After binding, the system stops responding to ping and other packet generating scripts (like sendip). We are using kernel 4.13.12 (Ubuntu 17.10) from the main linux kernel tree and binding with Intel I217-LM NIC. This NIC is using e1000e driver. Can xdp / eBPF be used for this NIC? Moreover, do we need to patch the driver for additional support?

Our aim is to benchmark various forwarding applications (L2 , L3, etc.) run using xdp. Please point to some code samples to achieve this. We will be truly grateful.



Thanks,
Sincerely,



[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux