[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACKFLimAF9OYwz8EqG=1-N40hWuA-8C8k8ut0oFKYdduvZOxHA@mail.gmail.com>
Date: Tue, 22 Aug 2017 11:02:27 -0700
From: Michael Chan <michael.chan@...adcom.com>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: "xdp-newbies@...r.kernel.org" <xdp-newbies@...r.kernel.org>,
John Fastabend <john.fastabend@...il.com>,
Daniel Borkmann <borkmann@...earbox.net>,
Andy Gospodarek <andy@...yhouse.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Paweł Staszewski <pstaszewski@...are.pl>
Subject: Re: XDP redirect measurements, gotchas and tracepoints
On Mon, Aug 21, 2017 at 12:25 PM, Jesper Dangaard Brouer
<brouer@...hat.com> wrote:
>
> I'be been playing with the latest XDP_REDIRECT feature, that was
> accepted in net-next (for ixgbe), see merge commit[1].
> [1] https://git.kernel.org/davem/net-next/c/6093ec2dc31
>
Just catching on XDP_REDIRECT and I have a very basic question. The
ingress device passes the XDP buffer to the egress device for XDP
redirect transmission. When the egress device has transmitted the
packet, is it supposed to just free the buffer? Or is it supposed to
be recycled?
In XDP_TX, the buffer is recycled back to the rx ring.
Powered by blists - more mailing lists