Re: XDP in virtual Ethernet devices

Toke Høiland-Jørgensen <[email protected]>
Newsgroups org.kernel.vger.xdp-newbies
Message-ID <[email protected]>
Sebastião Santos Boavida Amaro
<[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.