numam-dpdk/drivers/net
Jianfeng Tan cb482cb3a3 net/virtio: fix MAC address read
When virtio-net devices are bound to uio_pci_generic, we get
the wrong mac addr by virtio PMD. The wrong mac addr is a
addr that is 4-byte left shift of the correct addr.

It's a regression bug introduced by the cleanup patch below.
The condition of if we set use_msix should be if msix is
actually enabled. Only to check if there is a capability list
is not enough. For example, binding a transitional device
to uio_pci_device would trigger the wrong assignment of use_msix.

To correct that, we also check the flags of msix capability to
make sure it's enabled.

Fixes: ee1843bd89 ("net/virtio: remove redundant MSI-X detection")
Cc: stable@dpdk.org

Reported-by: Vipin Varghese <vipin.varghese@intel.com>
Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
2017-07-31 18:45:59 +02:00
..
af_packet drivers/net: use device name from device structure 2017-07-06 00:17:02 +02:00
ark net/ark: fix stats reset 2017-07-06 15:00:57 +02:00
avp net/avp: remove redundant assignment 2017-06-12 10:41:26 +01:00
bnx2x fix typos using codespell utility 2017-06-14 23:54:13 +02:00
bnxt drivers/net: remove duplicate includes 2017-07-16 17:30:24 +02:00
bonding app/testpmd: fix bonding initialization 2017-07-21 09:36:15 +03:00
cxgbe drivers/net: remove duplicate includes 2017-07-16 17:30:24 +02:00
dpaa2 net/dpaa2: enable Tx congestion state check 2017-07-30 20:24:55 +02:00
e1000 net/e1000: fix LSC interrupt 2017-07-19 11:09:13 +03:00
ena net/ena/base: initialize memory in the allocation macros 2017-07-06 15:00:57 +02:00
enic net/enic: replace check for SSE4 with check for x86 2017-07-04 14:39:18 +02:00
failsafe net/failsafe: fix build on FreeBSD 10 with GCC 4.8 2017-07-20 18:30:20 +03:00
fm10k net/fm10k: initialize link status in device start 2017-07-06 15:00:56 +02:00
i40e net/i40e: fix VF add/del MAC 2017-07-19 16:25:43 +03:00
ixgbe net/ixgbe: fix Rx/Tx queue interrupt for x550 devices 2017-07-19 16:25:43 +03:00
kni drivers/net: use device name from device structure 2017-07-06 00:17:02 +02:00
liquidio net/liquidio: do not touch mbuf initialized fields 2017-06-12 10:41:29 +01:00
mlx4 net/mlx4: advertise the detach capability 2017-07-31 14:08:25 +02:00
mlx5 net/mlx5: advertise the detach capability 2017-07-31 14:08:25 +02:00
nfp eal: introduce integer log2 function 2017-07-03 10:44:12 +02:00
null bus/vdev: remove probe with driver name option 2017-07-10 00:46:38 +02:00
pcap drivers/net: use ethdev allocation helper for vdev 2017-04-18 19:04:49 +02:00
qede net/qede: update PMD version to 2.5.1.1 2017-07-06 15:00:57 +02:00
ring net/ring: add missing newlines in logs 2017-07-19 11:09:13 +03:00
sfc net/sfc: support xstats retrieval by ID 2017-07-19 11:09:13 +03:00
szedata2 net/szedata2: use macro from common library 2017-07-06 15:00:56 +02:00
tap net/tap: remove Linux version check 2017-07-19 11:09:13 +03:00
thunderx net/thunderx: update sq config register field 2017-07-19 11:09:13 +03:00
vhost ethdev: add return values to callback process API 2017-07-01 17:19:55 +02:00
virtio net/virtio: fix MAC address read 2017-07-31 18:45:59 +02:00
vmxnet3 drivers/net: remove duplicate includes 2017-07-16 17:30:24 +02:00
xenvirt ethdev: remove driver name from device private data 2017-06-12 16:27:44 +01:00
Makefile net/failsafe: add fail-safe PMD 2017-07-19 16:25:42 +03:00