recvmsg on AF_XDP
Ben LaGreca <[email protected]> Tue, 23 Jul 2024 19:28:12 -0400
| Newsgroups | org.kernel.vger.xdp-newbies |
|---|---|
| Message-ID | <CAB6C9b_vR171Jwx=CT_-PVLy9Gt-tuy6P3_UZK1Pm_487uwJeQ@mail.gmail.com> |
Is it possible to use recvmsg/read on an AF_XDP socket? I've been able to set up a socket, write an XDP program, and properly receive frames in UMEM with the RX and Fill rings, but am more interested in using standard linux C functions. Some libxdp documentation mentions the use of poll and sendto/recvmsg, and I have successfully polled the socket (as one would a normal AF_INET socket), but can't find documentation on clearing the revents status after a poll. Any help or redirection to documentation would be appreciated. -- Ben LaGreca