From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by dpdk.org (Postfix) with ESMTP id F16A15913 for ; Wed, 3 Sep 2014 04:24:09 +0200 (CEST) Received: by mail-we0-f172.google.com with SMTP id q59so7904002wes.3 for ; Tue, 02 Sep 2014 19:28:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=c3TrcDDCr0MDVJpYS8iUQFQtcC7n8z2YSQpUtXc21zM=; b=bUnIrRkIn6ivq44ELTwTV/je/5YhJahCl2B9GIvDasc7gEHfhbGSU8vrOQi5ilZ0wa 9/r5l40eXTjmIQlGt7vHd+KWo+NIMgY50l/T0RXOE9vFfaC/nOA5Te80r0N1Bs1fF/4o 9TtU5jiUyp3FrJJJzJ7S+1OFhAlLk4YlDiOERlUNlrTSaOd/ipK+BcANyKxtO7BSB9Dg j2dO3JoWCrxTj8qoaIGjExNT8dlMnxf5Prr5AAfCu/7x6BZjJlVQ2nESkmZHW6UxCTDf Vj5XszYZnWOvWuG3IQgwcyfMl5zyUJusRH7tcjkpDpQpxqB6j3TNcuGtrphb7kzJ68Yz LvUA== X-Gm-Message-State: ALoCoQlbO3QCNljNEgOL8AOR1l4dlZJmJx5v0GcOxrd2yqVJlEntRmyJtEUVxFQu8YyF3+QPELMo X-Received: by 10.194.86.34 with SMTP id m2mr43262846wjz.23.1409711324538; Tue, 02 Sep 2014 19:28:44 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id p1sm13064208wjy.22.2014.09.02.19.28.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Sep 2014 19:28:43 -0700 (PDT) From: Thomas Monjalon To: Stephen Hemminger Date: Wed, 03 Sep 2014 04:28:36 +0200 Message-ID: <1526217.f9E7715t3x@xps13> Organization: 6WIND User-Agent: KMail/4.13.3 (Linux/3.15.8-1-ARCH; KDE/4.13.3; x86_64; ; ) In-Reply-To: <540488DD.3030304@6wind.com> References: <20140725103627.4ca989b7@haswell.linuxnetplumber.net> <540488DD.3030304@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2014 02:24:10 -0000 Hi Stephen, There are some reports about build errors with igb_uio. This is critical for the release. As your patches have introduced this problem, we'd like to have your opinion. For release 1.7.1, I've reverted MSI support. We should try to fix it for next release. 2014-09-01 16:55, Guillaume Gaudonville: > On 07/25/2014 07:36 PM, Stephen Hemminger wrote: > > +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 37) > > +/* Compatability wrapper for new kernel API for IRQ */ > > +#define irq_data irq_desc > > +#define irq_get_irq_data(irq) irq_to_desc(irq) > > +#define irq_data_get_msi(data) get_irq_desc_msi(data) > > +#endif > > irq_to_desc is not exported to modules before kernel 3.4 and commit > 3911ff30. > On Red Hat 6.5 the module fails to load due to an unknow symbol error. > I've seen another post saying that it also fails to insert on kernel 2.6.34. > I guess it should not work either on debian squeeze (kernel 2.6.32), > did you compile it in built-in? Generally speaking, I think your patches would need more tests. If you cannot properly test your patches, you could explain how you test it, when submitting patch, so someone else could continue the test campaign. > For now, I don't see how we could fix it, since it is not exported we > are not allowed to use it in a kernel module. > Do you have a way to fix this issue? Waiting for the fix, MSI support is reverted. Thanks for your understanding -- Thomas