From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g4t3427.houston.hp.com (g4t3427.houston.hp.com [15.201.208.55]) by dpdk.org (Postfix) with ESMTP id 85931B3A6 for ; Tue, 26 Aug 2014 23:41:03 +0200 (CEST) Received: from G4W6310.americas.hpqcorp.net (g4w6310.houston.hp.com [16.210.26.217]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by g4t3427.houston.hp.com (Postfix) with ESMTPS id 8DD74EE; Tue, 26 Aug 2014 21:45:04 +0000 (UTC) Received: from G4W6303.americas.hpqcorp.net (16.210.26.228) by G4W6310.americas.hpqcorp.net (16.210.26.217) with Microsoft SMTP Server (TLS) id 14.3.169.1; Tue, 26 Aug 2014 21:43:17 +0000 Received: from G4W3304.americas.hpqcorp.net ([169.254.2.248]) by G4W6303.americas.hpqcorp.net ([16.210.26.228]) with mapi id 14.03.0169.001; Tue, 26 Aug 2014 21:43:17 +0000 From: "Habibi, Michael" To: Aaro Koskinen Thread-Topic: [dpdk-dev] irq_to_desc undefined when compiling igb_uio Thread-Index: Ac/Bb9HtLBbOWoCSS+u5Ll4liA/ZEAABXkKAAABU99A= Date: Tue, 26 Aug 2014 21:43:15 +0000 Message-ID: <845ED019F5932D4E8BED0A693FDBF6E72442E9B8@G4W3304.americas.hpqcorp.net> References: <845ED019F5932D4E8BED0A693FDBF6E72442E8E7@G4W3304.americas.hpqcorp.net> <20140826213253.GC6818@drone.musicnaut.iki.fi> In-Reply-To: <20140826213253.GC6818@drone.musicnaut.iki.fi> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [16.210.48.25] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] irq_to_desc undefined when compiling igb_uio 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: Tue, 26 Aug 2014 21:41:03 -0000 I agree the kernel is old but it's what we're stuck with at the moment. It appears that at least some thought went into this, as the code in question is actually compatibility code added for older kernel versions such as mine= : #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 I may just export the symbol for now. Unfortunately I'm not familiar enough with this area of the code, but if I end up tackling this I'll see if I can submit a patch if it hasn't been fixed by then. Thanks. P.S. Aaro sorry for the duplicate email. I resent this without my digital s= ignature so it would get through the mailing list. -----Original Message----- From: Aaro Koskinen [mailto:aaro.koskinen@iki.fi] Sent: Tuesday, August 26, 2014 4:33 PM To: Habibi, Michael Cc: dev@dpdk.org Subject: Re: [dpdk-dev] irq_to_desc undefined when compiling igb_uio Hi, On Tue, Aug 26, 2014 at 08:55:29PM +0000, Habibi, Michael wrote: > I have verified in our kernel source, as well as the public source for > 2.6.34, that irq_to_desc is not an exported function. > However the documentation states that the minimum version required is > only 2.6.33. Did I setup my environment or build my kernel incorrectly? It's probably just that nobody has ever bothered to test latest DPDK with y= our kernel version before. Note that Linux 2.6.34 is EOL and you should upg= rade your kernel anyway. A.