Re: [PATCH net-next 2/3] virtio-net: add packet len average only when needed during XDP

2017-09-20 Thread David Miller
From: Jason Wang Date: Tue, 19 Sep 2017 17:42:42 +0800 > There's no need to add packet len average in the case of XDP_PASS > since it will be done soon after skb is created. > > Cc: John Fastabend > Signed-off-by: Jason Wang Applied.

[PATCH net-next 2/3] virtio-net: add packet len average only when needed during XDP

2017-09-19 Thread Jason Wang
There's no need to add packet len average in the case of XDP_PASS since it will be done soon after skb is created. Cc: John Fastabend Signed-off-by: Jason Wang --- drivers/net/virtio_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/virtio_net.c b/drive