XDP-Newbies Archive mirror
 help / color / mirror / Atom feed
From: "Vladimír Čunát" <vladimir.cunat@nic.cz>
To: xdp-newbies@vger.kernel.org
Subject: Kernel crashes with AF_XDP on localhost interface
Date: Thu, 29 Oct 2020 16:50:10 +0100	[thread overview]
Message-ID: <207d6feb-2a04-cf90-4fbc-3273e8d218a2@nic.cz> (raw)

Hello.

On some machines we're getting into problems when using AF_XDP on the
localhost interface.  For example a repeated kernel panic on
5.9.1.arch1-1: https://imgur.com/a/1APC10C

The code seems to work even on localhost on another machine (some 5.4
kernel, different distro) and previous testing on more realistic cases
also didn't have this problem (i40e and ixgbe, different kernels
again)... though that's no _real_ proof that that our code doesn't do
something "weird".

Any suggestion what to do next?  (We certainly don't have resources to
understand the kernel-side code.)


BTW, AF_XDP seems to work out great for our Knot DNS
https://www.knot-dns.cz/benchmark/ (even in .cz TLD production) and
we're now finishing the same for Knot Resolver.

--Vladimir



                 reply	other threads:[~2020-10-29 15:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=207d6feb-2a04-cf90-4fbc-3273e8d218a2@nic.cz \
    --to=vladimir.cunat@nic.cz \
    --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 read-only IMAP folder(s) and NNTP newsgroup(s).