From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH] virtio: fix link state regression Date: Fri, 4 Dec 2015 11:29:53 +0800 Message-ID: <20151204032953.GC29571@yliu-dev.sh.intel.com> References: <1449194904-9626-1-git-send-email-stephen@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Stephen Hemminger Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C45238D86 for ; Fri, 4 Dec 2015 04:29:38 +0100 (CET) Content-Disposition: inline In-Reply-To: <1449194904-9626-1-git-send-email-stephen@networkplumber.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 has figured out whether it is using > UIO or direct I/O instructions. > > Signed-off-by: Stephen Hemminger > --- > There maybe other drivers with the same problem. It would have > been better to move the structure elements (and break ABI) rather > than assume it safe to copy them. Better to fail compiling. I see no patch content. --yliu