[dpdk-dev] [PATCH] virtio: fix link state regression

2015-12-04 Thread Thomas Monjalon
2015-12-04 15:25, Iremonger, Bernard: > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > > On Thu, Dec 03, 2015 at 06:08:24PM -0800, Stephen Hemminger wrote: > > > Support for link state interrupt was broken on virtio by > > > > > > commit bda66c418c85 ("ethdev: add device fields from PC

[dpdk-dev] [PATCH] virtio: fix link state regression

2015-12-04 Thread Iremonger, Bernard
Hi Stephen, Yuanhan, > -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Friday, December 4, 2015 3:30 AM > To: Stephen Hemminger > Cc: Xie, Huawei ; Iremonger, Bernard > ; dev at dpdk.org > Subject: Re: [PATCH] virtio: fix link state regression > > O

[dpdk-dev] [PATCH] virtio: fix link state regression

2015-12-04 Thread Yuanhan Liu
On Thu, Dec 03, 2015 at 06:08:24PM -0800, Stephen Hemminger wrote: > Support for link state interrupt was broken on virtio by > > commit bda66c418c85 ("ethdev: add device fields from PCI layer") > > This is caused because the actual value of drv_flags is not set > until after the resource_init ha

[dpdk-dev] [PATCH] virtio: fix link state regression

2015-12-03 Thread Stephen Hemminger
Support for link state interrupt was broken on virtio by commit bda66c418c85 ("ethdev: add device fields from PCI layer") This is caused because the actual value of drv_flags is not set until after the resource_init has figured out whether it is using UIO or direct I/O instructions. Signed-off-b