Netdev List
 help / color / mirror / Atom feed
From: Jakub Kicinski <jakub.kicinski@netronome.com>
To: kdjimeli <kdjimeli@igalia.com>
Cc: netdev@vger.kernel.org
Subject: Re: Error running AF_XDP sample application
Date: Thu, 9 Aug 2018 18:51:07 -0700	[thread overview]
Message-ID: <20180809185100.588f33a1@cakuba.netronome.com> (raw)
In-Reply-To: <88ef46e09c2849ff89aae6bf1d1d8104@igalia.com>

On Thu, 09 Aug 2018 18:18:08 +0200, kdjimeli wrote:
> 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.

which kernel version are you running?

  reply	other threads:[~2018-08-10  4:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-09 16:18 Error running AF_XDP sample application kdjimeli
2018-08-10  1:51 ` Jakub Kicinski [this message]
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=20180809185100.588f33a1@cakuba.netronome.com \
    --to=jakub.kicinski@netronome.com \
    --cc=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