From: Michael S. Tsirkin Date: Fri, 24 Oct 2014 13:55:57 +0000 (+0300) Subject: virtio_net: get rid of virtio_net_hdr/skb_vnet_hdr X-Git-Tag: omap-for-v3.19/fixes-rc1~129^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=012873d057a449c4480e7679e733a7daa9aa540f;p=pandora-kernel.git virtio_net: get rid of virtio_net_hdr/skb_vnet_hdr virtio 1.0 doesn't use virtio_net_hdr anymore, and in fact, it's not really useful since virtio_net_hdr_mrg_rxbuf includes that as the first field anyway. Let's drop it, precalculate header len and store within vi instead. This way we can also remove struct skb_vnet_hdr. Signed-off-by: Michael S. Tsirkin Reviewed-by: Cornelia Huck Reviewed-by: Jason Wang --- Reading git-diff-tree failed