Netdev List
 help / color / mirror / Atom feed
* Error running AF_XDP sample application
@ 2018-08-09 16:18 kdjimeli
  2018-08-10  1:51 ` Jakub Kicinski
  0 siblings, 1 reply; 6+ messages in thread
From: kdjimeli @ 2018-08-09 16:18 UTC (permalink / raw)
  To: netdev

Hello,

I have been trying to test a sample AF_XDP program, but I have been
experiencing some issues.
After building the sample code
https://github.com/torvalds/linux/tree/master/samples/bpf,
when running the xdpsock binary, I get the errors
"libbpf: failed to create map (name: 'xsks_map'): Invalid argument"
"libbpf: failed to load object './xdpsock_kern.o"

I tried to figure out the cause of the error but all I know is that it
occurs at line 910 with the function
call "bpf_prog_load_xattr(&prog_load_attr, &obj, &prog_fd)".

Please I would like to inquire what could be a possible for this error.


Thanks
Konrad

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

end of thread, other threads:[~2018-08-10 23:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-09 16:18 Error running AF_XDP sample application kdjimeli
2018-08-10  1:51 ` Jakub Kicinski
2018-08-10  9:58   ` Konrad Djimeli
2018-08-10 13:21     ` Konrad Djimeli
2018-08-10 15:45       ` Björn Töpel
2018-08-10 21:02         ` Konrad Djimeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox