]> git.karo-electronics.de Git - linux-beck.git/commit
virtio-net: remove the warning before XDP linearizing
authorJason Wang <jasowang@redhat.com>
Fri, 23 Dec 2016 14:37:24 +0000 (22:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Dec 2016 18:48:53 +0000 (13:48 -0500)
commit73b62bd085f4737679ea9afc7867fa5f99ba7d1b
tree01bf204163ac9b4654963d8a95186a5f52750bc6
parentd3a51d6cbc8a31bf924be1fe116e461138b1cddc
virtio-net: remove the warning before XDP linearizing

Since we use EWMA to estimate the size of rx buffer. When rx buffer
size is underestimated, it's usual to have a packet with more than one
buffers. Consider this is not a bug, remove the warning and correct
the comment before XDP linearizing.

Cc: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c