Rusty Russell
ed9ecb0415
virtio: Don't expose legacy net features when VIRTIO_NET_NO_LEGACY defined.
...
In particular, the virtio header always has the u16 num_buffers field.
We define a new 'struct virtio_net_hdr_v1' for this (rather than
simply calling it 'struct virtio_net_hdr', to avoid nasty type errors
if some parts of a project define VIRTIO_NET_NO_LEGACY and some don't.
Transitional devices (which can't define VIRTIO_NET_NO_LEGACY) will
have to keep using struct virtio_net_hdr_mrg_rxbuf, which has the same
byte layout as struct virtio_net_hdr_v1.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2015-02-13 17:15:54 +10:30
..
2014-10-20 10:30:15 +08:00
2015-01-15 16:57:59 +01:00
2014-12-03 12:43:35 +01:00
2014-11-24 17:31:46 -05:00
2014-12-09 13:34:10 -05:00
2014-12-19 12:57:45 -08:00
2014-10-14 16:06:45 -04:00
2014-12-05 21:47:32 -08:00
2014-11-20 17:14:28 -08:00
2014-11-19 14:48:02 -06:00
2014-11-19 12:31:17 -05:00
2014-12-08 12:55:57 +08:00
2014-11-28 10:19:49 +00:00
2014-12-08 21:07:10 -05:00
2014-10-14 16:06:45 -04:00
2014-10-24 00:14:37 +02:00
2014-11-07 10:21:44 -08:00
2014-12-05 23:56:55 +08:00
2014-12-09 18:24:47 -05:00
2014-12-02 20:01:23 -08:00
2014-12-16 11:19:42 -05:00
2014-11-05 16:30:03 -05:00
2014-12-22 16:12:36 -05:00
2014-10-20 21:03:58 +02:00
2014-10-29 15:11:36 -04:00
2014-12-17 10:16:27 -08:00
2014-12-02 13:52:53 -07:00
2015-01-06 19:44:36 +02:00
2014-11-21 18:07:33 +01:00
2014-12-22 16:12:36 -05:00
2014-12-10 21:30:20 -05:00
2014-11-14 17:47:47 -02:00
2014-12-13 12:42:52 -08:00
2014-12-02 20:01:22 -08:00
2014-12-08 20:20:48 -05:00
2014-12-02 22:59:28 +01:00
2014-11-26 20:56:42 +01:00
2014-11-04 13:17:10 -07:00
2015-01-14 16:49:44 -05:00
2014-11-16 11:41:57 +01:00
2014-11-18 00:58:53 +01:00
2014-11-10 12:05:59 -05:00
2014-11-16 10:58:53 +01:00
2014-12-13 12:42:52 -08:00
2014-11-06 14:57:18 -08:00
2014-11-05 19:10:07 -08:00
2014-12-09 14:58:23 -05:00
2014-12-10 17:41:10 -08:00
2014-12-18 11:07:27 -08:00
2014-12-09 14:10:41 +08:00
2014-11-21 15:01:32 -05:00
2014-11-06 15:01:03 -08:00
2015-01-11 16:27:25 -08:00
2014-12-04 12:37:01 -02:00
2014-10-24 08:58:09 -02:00
2014-12-16 23:21:36 -02:00
2014-11-14 17:51:18 -02:00
2014-12-04 12:38:09 -02:00
2015-01-21 16:28:56 +10:30
2015-02-11 15:03:15 +10:30
2015-02-11 15:03:16 +10:30
2014-12-09 12:06:32 +02:00
2015-02-13 17:15:54 +10:30
2015-02-11 15:03:15 +10:30
2014-12-29 10:54:54 +02:00
2014-12-09 12:06:31 +02:00
2014-12-09 12:05:24 +02:00
2014-11-05 20:18:30 -08:00