Subject: Re: [PATCH RFC 2/9] veth: Add driver XDP

From: Jesper Dangaard Brouer <[email-masked]>
Date: Wed, 25 Apr 2018 22:39:41 +0200

On Tue, 24 Apr 2018 23:39:16 +0900
Toshiaki Makita <[email-masked]> wrote:

> This is basic implementation of veth driver XDP.
> 
> Incoming packets are sent from the peer veth device in the form of skb,
> so this is generally doing the same thing as generic XDP.

I'm unsure that context you are calling veth_xdp_rcv_skb() from.  The
XDP (RX side) depend heavily on the protection provided by NAPI context.
It looks like you are adding NAPI handler later.  

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer