commit | 312403453532b209879aa7faeff296bd3dea78af | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Tue Sep 19 17:42:42 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 20 14:27:52 2017 -0700 |
tree | 0041e117825534954af173c9906ee2760bb984fc | |
parent | 9457642a405fd68d5ce90f5c432e462277fb666e [diff] |
virtio-net: add packet len average only when needed during XDP 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 <john.fastabend@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>