On 2017年07月19日 02:59, Michael S. Tsirkin wrote:
On Mon, Jul 17, 2017 at 08:43:58PM +0800, Jason Wang wrote:
Pack headroom into ctx, then during XDP set, we could know the size of
headroom and copy if needed. This is required for avoiding reset on
XDP.
Not really when XDP is set - it's when bu
On Mon, Jul 17, 2017 at 08:43:58PM +0800, Jason Wang wrote:
> Pack headroom into ctx, then during XDP set, we could know the size of
> headroom and copy if needed. This is required for avoiding reset on
> XDP.
Not really when XDP is set - it's when buffers are used.
virtio-net: pack headroom into
Pack headroom into ctx, then during XDP set, we could know the size of
headroom and copy if needed. This is required for avoiding reset on
XDP.
Signed-off-by: Jason Wang
---
drivers/net/virtio_net.c | 29 -
1 file changed, 24 insertions(+), 5 deletions(-)
diff --git