numam-dpdk/drivers/net/virtio
Yuanhan Liu 36ea36efb4 virtio: fix query of legacy features
Declare dst as type uint32_t instead of uint64_t, otherwise, we will get
a random upper 32 bit feature bits, as the following io port read reads
lower 32 bit only. It could lead a feature bits that include VIRTIO_F_VERSION_1
(the 32th bit) for legacy virtio, which is obviously wrong.

Fixes: b8f04520ad ("virtio: use PCI ioport API")

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Jianfeng Tan <jianfeng.tan@intel.com>
Reviewed-by: David Marchand <david.marchand@6wind.com>
2016-03-14 23:16:15 +01:00
..
Makefile virtio: restrict vector Rx/Tx to x86 SSSE3 2016-03-03 14:00:28 +01:00
rte_pmd_virtio_version.map virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_ethdev.c virtio: skip error when probing kernel managed device 2016-03-10 00:36:51 +01:00
virtio_ethdev.h virtio: support specification 1.0 2016-02-03 16:07:50 +01:00
virtio_logs.h virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_pci.c virtio: fix query of legacy features 2016-03-14 23:16:15 +01:00
virtio_pci.h virtio: use PCI ioport API 2016-02-16 22:55:44 +01:00
virtio_ring.h virtio: fix Coverity unsigned warnings 2015-10-21 16:14:02 +02:00
virtio_rxtx_simple.c mbuf: get DMA address 2016-03-04 16:01:15 +01:00
virtio_rxtx.c mbuf: get DMA address 2016-03-04 16:01:15 +01:00
virtio_rxtx.h virtio: restrict vector Rx/Tx to x86 SSSE3 2016-03-03 14:00:28 +01:00
virtqueue.c virtio: check virtqueue parameter when detaching 2015-07-19 22:24:42 +02:00
virtqueue.h mbuf: get DMA address 2016-03-04 16:01:15 +01:00