Bin Meng
699aae0800
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 >
2018-11-14 09:16:28 -08:00
..
2018-10-28 09:26:39 -04:00
2018-09-29 11:47:32 -04:00
2018-10-28 09:26:39 -04:00
2018-07-23 14:33:21 -04:00
2018-11-14 09:16:27 -08:00
2018-10-28 09:26:39 -04:00
2018-10-19 14:16:43 -04:00
2018-11-05 10:41:58 -06:00
2018-11-14 09:16:27 -08:00
2018-11-14 09:16:27 -08:00
2018-05-07 09:34:12 -04:00
2018-09-15 03:17:01 +02:00
2018-05-07 09:34:12 -04:00
2018-11-13 18:53:10 +05:30
2018-05-07 09:34:12 -04:00
2018-10-28 09:26:39 -04:00
2018-09-29 11:49:35 -06:00
2018-10-31 01:41:10 +01:00
2018-11-14 10:59:23 -05:00
2018-10-25 10:16:21 -04:00
2018-10-09 04:40:27 -06:00
2018-08-10 10:27:32 -04:00
2018-10-28 09:26:39 -04:00
2018-05-07 09:34:12 -04:00
2018-11-14 09:16:28 -08:00
2018-11-14 09:16:27 -08:00
2018-11-13 18:53:10 +05:30
2018-11-05 10:42:01 -06:00
2018-11-14 09:16:27 -08:00
2018-05-07 09:34:12 -04:00
2018-11-14 09:16:28 -08:00
2018-05-07 09:34:12 -04:00
2018-10-28 09:26:39 -04:00
2018-11-02 15:57:13 +01:00
2018-11-01 10:02:43 -04:00
2018-10-24 21:57:16 +05:30
2018-09-27 10:01:27 -07:00
2018-10-28 09:26:39 -04:00
2018-09-11 08:32:55 -04:00
2018-10-28 09:26:39 -04:00
2018-10-10 13:35:17 -04:00
2018-11-14 09:16:27 -08:00
2018-11-14 09:16:27 -08:00
2018-07-19 16:31:38 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-10-16 16:53:21 +02:00
2018-05-07 09:34:12 -04:00
2018-10-09 04:40:27 -06:00
2018-10-07 11:04:01 -04:00
2018-05-07 09:34:12 -04:00
2018-11-14 09:16:27 -08:00
2018-10-09 04:40:27 -06:00
2018-10-29 13:13:05 -07:00
2018-10-29 11:21:00 -04:00
2018-11-14 09:16:28 -08:00
2018-11-01 10:02:10 -04:00
2018-11-01 10:02:10 -04:00
2018-10-25 10:16:21 -04:00
2018-11-14 09:16:27 -08:00
2018-11-14 09:16:27 -08:00