commit | 012873d057a449c4480e7679e733a7daa9aa540f | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Fri Oct 24 16:55:57 2014 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Tue Dec 09 12:05:28 2014 +0200 |
tree | ae7c8bd666d623f1964b588d71ea4f2b8d1346b5 | |
parent | 946fa5647b529402161814ca8ed1302254b6affb [diff] |
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 <mst@redhat.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Jason Wang <jasowang@redhat.com>