All of lore.kernel.org
 help / color / mirror / Atom feed
* AF_XDP socket (sock2)  unable to read, after writing with another AF_XDP socket (sock1)
@ 2018-11-01 16:52 Konrad Djimeli
  2018-11-01 18:27 ` Marius Gerling
  2018-11-01 18:49 ` Björn Töpel
  0 siblings, 2 replies; 11+ messages in thread
From: Konrad Djimeli @ 2018-11-01 16:52 UTC (permalink / raw)
  To: xdp-newbies

Hello,

I am working on developing a Snabb Switch app which uses Af_XDP sockets
and so far I have not found any AF_XDP sample example online, except for
the sample in the Linux Kernel source. I have tried modifying the
example, to create two sockets (sock1 and sock2) sharing a UMEM with
custom write_sock and read_sock functions. But when I do a write with
"sock1" I am unable to read the data with "sock2". Here is the code
https://github.com/djkonro/afxdp/blob/master/xdpsock/xdpsock_user.c ,
and I am new to working with AF_XDP sockets and I wish I could get some
pointers to what may be wrong with the program. 

Thanks,
Konrad
www.djimeli.me

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-11-27  2:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-01 16:52 AF_XDP socket (sock2) unable to read, after writing with another AF_XDP socket (sock1) Konrad Djimeli
2018-11-01 18:27 ` Marius Gerling
2018-11-02 15:30   ` Konrad Djimeli
2018-11-01 18:49 ` Björn Töpel
2018-11-02 16:08   ` Konrad Djimeli
2018-11-03  8:38     ` Björn Töpel
2018-11-08 15:15   ` Konrad Djimeli
2018-11-10 14:31     ` Björn Töpel
2018-11-10 14:58       ` William Tu
2018-11-26 16:03         ` Konrad Djimeli
2018-11-26 16:04       ` Konrad Djimeli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.