On Wed, 2 May 2018 12:33:47 +0900
Toshiaki Makita wrote:
> On 18/05/01 (火) 17:14, Jesper Dangaard Brouer wrote:
> > On Tue, 1 May 2018 10:02:01 +0900 Toshiaki Makita
> > wrote:
> >
> >> On 2018/05/01 2:27, Jesper Dangaard Brouer wrote:
> >>> On Thu, 26 Apr 2018 19:52:40 +0900 Toshiaki Maki
On 18/05/01 (火) 17:14, Jesper Dangaard Brouer wrote:
On Tue, 1 May 2018 10:02:01 +0900 Toshiaki Makita
wrote:
On 2018/05/01 2:27, Jesper Dangaard Brouer wrote:
On Thu, 26 Apr 2018 19:52:40 +0900 Toshiaki Makita
wrote:
On 2018/04/26 5:24, Jesper Dangaard Brouer wrote:
On Tue, 24 Apr 2018
On Tue, 1 May 2018 10:02:01 +0900
Toshiaki Makita wrote:
> On 2018/05/01 2:27, Jesper Dangaard Brouer wrote:
> > On Thu, 26 Apr 2018 19:52:40 +0900
> > Toshiaki Makita wrote:
> >
> >> On 2018/04/26 5:24, Jesper Dangaard Brouer wrote:
> >>> On Tue, 24 Apr 2018 23:39:20 +0900
> >>> Toshiaki M
On 2018/05/01 2:27, Jesper Dangaard Brouer wrote:
> On Thu, 26 Apr 2018 19:52:40 +0900
> Toshiaki Makita wrote:
>
>> On 2018/04/26 5:24, Jesper Dangaard Brouer wrote:
>>> On Tue, 24 Apr 2018 23:39:20 +0900
>>> Toshiaki Makita wrote:
>>>
+static int veth_xdp_xmit(struct net_device *dev, s
On Thu, 26 Apr 2018 19:52:40 +0900
Toshiaki Makita wrote:
> On 2018/04/26 5:24, Jesper Dangaard Brouer wrote:
> > On Tue, 24 Apr 2018 23:39:20 +0900
> > Toshiaki Makita wrote:
> >
> >> +static int veth_xdp_xmit(struct net_device *dev, struct xdp_frame *frame)
> >> +{
> >> + struct veth_priv
On 2018/04/26 5:24, Jesper Dangaard Brouer wrote:
> On Tue, 24 Apr 2018 23:39:20 +0900
> Toshiaki Makita wrote:
>
>> +static int veth_xdp_xmit(struct net_device *dev, struct xdp_frame *frame)
>> +{
>> +struct veth_priv *rcv_priv, *priv = netdev_priv(dev);
>> +int headroom = frame->data -
On Tue, 24 Apr 2018 23:39:20 +0900
Toshiaki Makita wrote:
> +static int veth_xdp_xmit(struct net_device *dev, struct xdp_frame *frame)
> +{
> + struct veth_priv *rcv_priv, *priv = netdev_priv(dev);
> + int headroom = frame->data - (void *)frame;
> + struct net_device *rcv;
> + int
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,