Re: [PATCH v5 bpf-next 5/9] veth: Add ndo_xdp_xmit

2018-07-26 Thread John Fastabend
On 07/26/2018 07:40 AM, Toshiaki Makita wrote: > From: Toshiaki Makita > > This allows NIC's XDP to redirect packets to veth. The destination veth > device enqueues redirected packets to the napi ring of its peer, then > they are processed by XDP on its peer veth device. > This can be thought as

[PATCH v5 bpf-next 5/9] veth: Add ndo_xdp_xmit

2018-07-26 Thread Toshiaki Makita
From: Toshiaki Makita This allows NIC's XDP to redirect packets to veth. The destination veth device enqueues redirected packets to the napi ring of its peer, then they are processed by XDP on its peer veth device. This can be thought as calling another XDP program by XDP program using REDIRECT,