git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
virtio: fix query of legacy features
[dpdk.git]
/
drivers
/
net
/
virtio
/
virtio_pci.c
diff --git
a/drivers/net/virtio/virtio_pci.c
b/drivers/net/virtio/virtio_pci.c
index
98fc370
..
c007959
100644
(file)
--- a/
drivers/net/virtio/virtio_pci.c
+++ b/
drivers/net/virtio/virtio_pci.c
@@
-74,7
+74,7
@@
legacy_write_dev_config(struct virtio_hw *hw, size_t offset,
static uint64_t
legacy_get_features(struct virtio_hw *hw)
{
- uint
64
_t dst;
+ uint
32
_t dst;
rte_eal_pci_ioport_read(&hw->io, &dst, 4, VIRTIO_PCI_HOST_FEATURES);
return dst;