if_vtnet - Remove vtnet_{rx,tx}_size variables. Change rx_header padding.
authorImre Vadász <imre@vdsz.com>
Mon, 6 Mar 2017 21:21:40 +0000 (22:21 +0100)
committerImre Vadász <imre@vdsz.com>
Sun, 2 Apr 2017 10:34:19 +0000 (12:34 +0200)
commit7d38e2d20f0f381a65e6be8785419c18946f4cb3
tree0f2950075f0244d2975c74099fff0698be7d8973
parent9170a3fe1416211bf87c0508ef7070f72ab80912
if_vtnet - Remove vtnet_{rx,tx}_size variables. Change rx_header padding.

* With a padding of 2 bytes, struct vtnet_rx_header will be 12 bytes now,
  which should be correct to ensure the 4 byte alignment of the frame
  payload, when mergeable Rx buffers are not negotiated.
sys/dev/virtual/virtio/net/if_vtnet.c
sys/dev/virtual/virtio/net/if_vtnetvar.h