Does DPDK supports EPOLL for 10G X550T (ixgbe driver)
Stephen Hemminger
stephen at networkplumber.org
Fri Jan 20 05:04:15 CET 2023
On Thu, 19 Jan 2023 16:29:16 -0600
Priya Ramanathan <shunmugapriya.ramanathan at gmail.com> wrote:
> Thank you, for the information.
> I have a UDPDK stack (with DPDK at the physical layer) for UDP
> communication.
>
> I am using VFIO module and binded the 10G X550T NIC to the VFIO module.
> Then I wrote a simple server-client code for UDP communication using the
> UDPDK APIs with DPDK support, which works fine.
> Now, I added the epoll_create, epoll_ctl and epoll_wait commands, and it
> looks like it is not working as expected.
>
> Let me go through the l3fwd example and try to understand it better. If I
> get any questions, I will get back to you. Thank you.
>
> Regards,
> Priya.
There is no file descriptor visible to poll on in DPDK.
You need to use DPDK interrupt mode which is rte_epoll.
Also, if DPDK wakes up in interrupt mode, it might not be a UDP
packet, it could be any type of packet that your stack has to digest
(ARP, ICMP, UDP, etc)
More information about the users
mailing list