All of lore.kernel.org
 help / color / mirror / Atom feed
From: Magnus Karlsson <magnus.karlsson@gmail.com>
To: Dan Siemon <dan@coverfire.com>
Cc: Xdp <xdp-newbies@vger.kernel.org>
Subject: Re: AF_XDP (i40e) behavior change in 5.11?
Date: Wed, 24 Mar 2021 11:00:08 +0100	[thread overview]
Message-ID: <CAJ8uoz3n=R2KZagznZ9XK+tVwdpMoeqY8CqJxyqh1B508bqntw@mail.gmail.com> (raw)
In-Reply-To: <35a931df0e2cb4bf1fd23ecc15895419c7ca0e3c.camel@coverfire.com>

On Wed, Mar 24, 2021 at 10:22 AM Dan Siemon <dan@coverfire.com> wrote:
>
> ./xsk_fwd -i ens1f0 -q 2 -i ens1f1 -q 2 -c 5 -i ens1f0 -q 3 -i ens1f1 -
> q 3 -c 6
>
> On 5.10, the cores (2,3) assigned interrupts for the queues (2,3) are
> idle when there is no traffic.
>
> On 5.11, the cores immediately go to 100% system time when the program
> starts (as viewed in htop). There is no network traffic.
>
> Intel 710/i40e.
>
> I tried this with xsk_fwd built from 5.10 and 5.11 trees with the same
> result.
>
> Is this behavior change expected?

Thanks for reporting this. No, this is not intentional. I did send up
a fix for a bug in the i40e driver that was introduced in 5.11. It
might be the culprit. Could you please try the patch below and see if
it works? It is not yet in net.

https://www.spinics.net/lists/netdev/msg729128.html

/Magnus

  reply	other threads:[~2021-03-24 10:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-24  2:30 AF_XDP (i40e) behavior change in 5.11? Dan Siemon
2021-03-24 10:00 ` Magnus Karlsson [this message]
2021-03-25 22:17   ` Dan Siemon
2021-03-26  7:37     ` Magnus Karlsson

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='CAJ8uoz3n=R2KZagznZ9XK+tVwdpMoeqY8CqJxyqh1B508bqntw@mail.gmail.com' \
    --to=magnus.karlsson@gmail.com \
    --cc=dan@coverfire.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.