git: if_vtnet - Remove vtnet_{rx, tx}_size variables. Change rx_header padding.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Sun Apr 2 03:38:20 PDT 2017
commit 7d38e2d20f0f381a65e6be8785419c18946f4cb3
Author: Imre Vadász <imre at vdsz.com>
Date: Mon Mar 6 22:21:40 2017 +0100
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.
Summary of changes:
sys/dev/virtual/virtio/net/if_vtnet.c | 10 +++-------
sys/dev/virtual/virtio/net/if_vtnetvar.h | 8 ++------
2 files changed, 5 insertions(+), 13 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7d38e2d20f0f381a65e6be8785419c18946f4cb3
--
DragonFly BSD source repository
More information about the Commits
mailing list