From: kdjimeli <kdjimeli@igalia.com>
To: netdev@vger.kernel.org
Subject: Error running AF_XDP sample application
Date: Thu, 09 Aug 2018 18:18:08 +0200 [thread overview]
Message-ID: <88ef46e09c2849ff89aae6bf1d1d8104@igalia.com> (raw)
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
next reply other threads:[~2018-08-09 19:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-09 16:18 kdjimeli [this message]
2018-08-10 1:51 ` Error running AF_XDP sample application 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=88ef46e09c2849ff89aae6bf1d1d8104@igalia.com \
--to=kdjimeli@igalia.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox