commit | 5c33474d41af09f09c98f1df70f267920587bec0 | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Fri Dec 23 22:37:29 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 23 13:48:55 2016 -0500 |
tree | c51daeff71e8a8f1851fd255dc8bb856ee6ac1fd | |
parent | b00f70b0dacb3d2e009afce860ebc90219072f5c [diff] |
virtio-net: make rx buf size estimation works for XDP We don't update ewma rx buf size in the case of XDP. This will lead underestimation of rx buf size which causes host to produce more than one buffers. This will greatly increase the possibility of XDP page linearization. Cc: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Acked-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>