summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBin Meng <[email protected]>2018-10-15 02:21:24 -0700
committerSimon Glass <[email protected]>2018-11-14 09:16:28 -0800
commit699aae0800983b0230bffe999d149e7323537cb3 (patch)
tree396f468d38f6e2cf1e9675ec58523d3875758929 /scripts
parent550435edf810ad0a96a50e6a94d4ebf693fc5913 (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions