[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180425223852.0be2fd67@brouer.com>
Date: Wed, 25 Apr 2018 22:39:41 +0200
From: Jesper Dangaard Brouer <brouer@...hat.com>
To: Toshiaki Makita <toshiaki.makita1@...il.com>
Cc: brouer@...hat.com, netdev@...r.kernel.org,
Toshiaki Makita <makita.toshiaki@....ntt.co.jp>
Subject: Re: [PATCH RFC 2/9] veth: Add driver XDP
On Tue, 24 Apr 2018 23:39:16 +0900
Toshiaki Makita <toshiaki.makita1@...il.com> 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
Powered by blists - more mailing lists