xdp-newbies.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rafael Vargas <vargas@khomp.com>
To: xdp-newbies@vger.kernel.org
Subject: Re: Kernel Panic when loading XDP on i40e driver
Date: Wed, 19 Aug 2020 11:08:31 -0300	[thread overview]
Message-ID: <CAEaYocZ6Px5Jyt96TDrqyJNXbYps-GTrrSeGFm9nZeUPO-9U2Q@mail.gmail.com> (raw)
In-Reply-To: <CAEaYoca34NU43BK9VQdpM5W-j4uHSix4VW=G9Ja8iNRVZ5Zsjg@mail.gmail.com>

Em sex., 7 de ago. de 2020 às 12:51, Rafael Vargas <vargas@khomp.com> escreveu:
> [...]
> Using kernel 5.8 (mainline from kernel.org) and a Lenovo Intel X722
> controller (using the i40e driver). Loading any XDP program to this
> driver will immediately crash with a Kernel Panic.
>[...]

I've tested with the net-next kernel and there is no Kernel Panic
there, but looks like native XDP support is not working on i40e, as
iproute2 reports it as xdpgeneric. Is this correct or am I missing
something in the way I load my programs (libbpf's
bpf_set_link_xdp_fd)?

Also the driver that is currently supplied by Intel and the one
supplied in the kernel sources seems to have diverged...

  parent reply	other threads:[~2020-08-19 14:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-07 15:51 Kernel Panic when loading XDP on i40e driver Rafael Vargas
2020-08-07 17:01 ` Jesse Brandeburg
2020-08-19 14:08 ` Rafael Vargas [this message]
2020-08-19 16:16   ` Piotr Raczynski

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=CAEaYocZ6Px5Jyt96TDrqyJNXbYps-GTrrSeGFm9nZeUPO-9U2Q@mail.gmail.com \
    --to=vargas@khomp.com \
    --cc=xdp-newbies@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;
as well as URLs for NNTP newsgroup(s).