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

2018-04-26 Thread Toshiaki Makita
Hi Jesper, Thanks for taking a look! On 2018/04/26 5:39, Jesper Dangaard Brouer wrote: > On Tue, 24 Apr 2018 23:39:16 +0900 > Toshiaki Makita 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

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

2018-04-25 Thread Jesper Dangaard Brouer
On Tue, 24 Apr 2018 23:39:16 +0900 Toshiaki Makita 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_r

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

2018-04-24 Thread Toshiaki Makita
From: Toshiaki Makita 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. This itself is not so useful, but a starting point to implement other useful veth XDP features