All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@redhat.com>
To: "Sebastião Santos Boavida Amaro"
	<sebastiao.amaro@tecnico.ulisboa.pt>,
	xdp-newbies@vger.kernel.org
Subject: Re: XDP in virtual Ethernet devices
Date: Tue, 01 Jun 2021 15:12:05 +0200	[thread overview]
Message-ID: <874kehd90a.fsf@toke.dk> (raw)
In-Reply-To: <9a3f2989ee83a43263efc9fce02fe63b@tecnico.ulisboa.pt>

Sebastião Santos Boavida Amaro
<sebastiao.amaro@tecnico.ulisboa.pt> writes:

> Hello!
> I am trying to use xdp_stats[1] (this program prints packets 
> passed/dropped) on the ethernet devices created by docker 
> containers(veth). I have iperf exchanging messages between containers 
> but xdp_stats does not capture any of the packets (XDP_PASS values do 
> not change) and CPU usage goes to 100%. It works fine on my laptop's 
> network device, but I have these issues with the docker network devices 
> and I don't understand why.

I don't think there's anything special about the veth devices Docker
creates; so my immediate thought would be that this is due to
differences in the kernel versions you're running on your laptop vs on
docker. Some more details on this would be required to say anything
more, though...

-Toke


  reply	other threads:[~2021-06-01 13:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-31 14:52 XDP in virtual Ethernet devices Sebastião Santos Boavida Amaro
2021-06-01 13:12 ` Toke Høiland-Jørgensen [this message]
2021-06-22 15:35   ` Sebastião Santos Boavida Amaro

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=874kehd90a.fsf@toke.dk \
    --to=toke@redhat.com \
    --cc=sebastiao.amaro@tecnico.ulisboa.pt \
    --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.