640aae0f | 15-Oct-2018 |
Bin Meng <bmeng.cn@gmail.com> |
virtio: Add a Sandbox transport driver
This driver provides support for Sandbox implementation of virtio transport driver which is used for testing purpose only.
Two drivers are provided. The 2nd o
virtio: Add a Sandbox transport driver
This driver provides support for Sandbox implementation of virtio transport driver which is used for testing purpose only.
Two drivers are provided. The 2nd one is a driver that lacks the 'notify' op.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
699aae08 | 15-Oct-2018 |
Bin Meng <bmeng.cn@gmail.com> |
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'
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>
show more ...
|
550435ed | 15-Oct-2018 |
Bin Meng <bmeng.cn@gmail.com> |
virtio: pci: Support non-legacy PCI transport device
By default QEMU creates legacy PCI transport devices, but we can ask QEMU to create non-legacy one if we pass additional device property/value pa
virtio: pci: Support non-legacy PCI transport device
By default QEMU creates legacy PCI transport devices, but we can ask QEMU to create non-legacy one if we pass additional device property/value pairs in the command line:
-device virtio-blk-pci,disable-legacy=true,disable-modern=false
This adds a new driver driver to support non-legacy (modern) device mode. Previous driver/file name is changed accordingly.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
4135e107 | 15-Oct-2018 |
Bin Meng <bmeng.cn@gmail.com> |
virtio: Add virtio over pci transport driver
This adds a transport driver that implements UCLASS_VIRTIO for virtio over pci, which is commonly used on x86.
It only supports the legacy interface of
virtio: Add virtio over pci transport driver
This adds a transport driver that implements UCLASS_VIRTIO for virtio over pci, which is commonly used on x86.
It only supports the legacy interface of the pci transport, which is the default device that QEMU emulates.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
f371ad30 | 15-Oct-2018 |
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> |
virtio: Add net driver support
This adds virtio net device driver support.
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon
virtio: Add net driver support
This adds virtio net device driver support.
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
fdc4aca8 | 15-Oct-2018 |
Bin Meng <bmeng.cn@gmail.com> |
virtio: Add virtio over mmio transport driver
VirtIO can use various different buses and virtio devices are commonly implemented as PCI devices. But virtual environments without PCI support (a commo
virtio: Add virtio over mmio transport driver
VirtIO can use various different buses and virtio devices are commonly implemented as PCI devices. But virtual environments without PCI support (a common situation in embedded devices models) might use simple memory mapped device (“virtio-mmio”) instead of the PCI device.
This adds a transport driver that implements UCLASS_VIRTIO for virtio over mmio.
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
c011641e | 15-Oct-2018 |
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> |
virtio: Add codes for virtual queue/ring management
This adds support for managing virtual queue/ring, the channel for high performance I/O between host and guest.
Signed-off-by: Tuomas Tynkkynen <
virtio: Add codes for virtual queue/ring management
This adds support for managing virtual queue/ring, the channel for high performance I/O between host and guest.
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|