From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hershberger Date: Mon, 15 Oct 2018 21:59:58 +0000 Subject: [U-Boot] [PATCH 26/27] virtio: net: Support non-legacy device In-Reply-To: <1537710145-1888-27-git-send-email-bmeng.cn@gmail.com> References: <1537710145-1888-1-git-send-email-bmeng.cn@gmail.com> <1537710145-1888-27-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Sep 23, 2018 at 8:58 AM Bin Meng 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 Acked-by: Joe Hershberger