[U-Boot] [PATCH 26/27] virtio: net: Support non-legacy device
Joe Hershberger
joe.hershberger at ni.com
Mon Oct 15 21:59:58 UTC 2018
On Sun, Sep 23, 2018 at 8:58 AM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> 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 at gmail.com>
Acked-by: Joe Hershberger <joe.hershberger at ni.com>
More information about the U-Boot
mailing list