Re: [dpdk-dev] [PATCH] net/virtio: fix MAC addr not correct read

2017-07-30 Thread Yuanhan Liu
On Fri, Jul 28, 2017 at 11:01:14PM +, Jianfeng Tan wrote: > 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 b

[dpdk-dev] [PATCH] net/virtio: fix MAC addr not correct read

2017-07-28 Thread Jianfeng Tan
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