diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-10-15 12:21:24 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-11-14 20:16:28 +0300 |
commit | 699aae0800983b0230bffe999d149e7323537cb3 (patch) | |
tree | 396f468d38f6e2cf1e9675ec58523d3875758929 /drivers/virtio/Makefile | |
parent | 550435edf810ad0a96a50e6a94d4ebf693fc5913 (diff) | |
download | u-boot-699aae0800983b0230bffe999d149e7323537cb3.tar.xz |
virtio: net: Support non-legacy device
For v1.0 compliant device, it always assumes the member 'num_buffers'
exists in the struct virtio_net_hdr while the legacy driver only
presented 'num_buffers' when VIRTIO_NET_F_MRG_RXBUF was negotiated.
Without that feature the structure was 2 bytes shorter.
Update the driver to support the non-legacy device.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/virtio/Makefile')
0 files changed, 0 insertions, 0 deletions