From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by dpdk.org (Postfix) with ESMTP id E9C5B18F for ; Wed, 27 Aug 2014 00:28:10 +0200 (CEST) Received: by mail-pa0-f41.google.com with SMTP id rd3so24296930pab.28 for ; Tue, 26 Aug 2014 15:32:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=nfj+BYreJHArPD9iaATTD6G4j6dTIynZkLsLcKwuKWs=; b=RHZR/KbHQnuXyiBIrnZtWlFc9VAsw5UkjWf4D6OED9NaYUs8zOVJEj4t2lh+M+Pnd7 u0KTzN9fw6lbk2LEFxOrOnQ23n4cTQf0ZaHQfeSZKKujYY3jmGaOMqcTc8RQQNS7om8E oBgroh2sM2ZXHUJTLhkd3RFgyFwuAVRLSh//YNUTenLl6hbS8A9y3SggBtG42HK4gsoP MiflhSLZ8ga++kgcfk62ZSABGTZRwvZQkRZjAiaeISDfv6JZbbTRTkgD0h89BupEbO/k 8JgXLjysvBhUVv4IORJIlyFP4YXoXgDud8obrCnR690M86SIiI8NmI0E3FRQPWidgTW2 w9Yg== X-Gm-Message-State: ALoCoQnXAgAZqRvoCinkJ/oYgQVBJ3ebE3kqpc8+K/8iWB+J8T7DaZjr09oWv3ydFUmHlopuzkCZ X-Received: by 10.70.91.3 with SMTP id ca3mr122829pdb.169.1409092331686; Tue, 26 Aug 2014 15:32:11 -0700 (PDT) Received: from urahara (static-50-53-65-80.bvtn.or.frontiernet.net. [50.53.65.80]) by mx.google.com with ESMTPSA id cb2sm4346285pbb.34.2014.08.26.15.32.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Aug 2014 15:32:11 -0700 (PDT) Date: Tue, 26 Aug 2014 15:32:08 -0700 From: Stephen Hemminger To: "Habibi, Michael" Message-ID: <20140826153208.290ee639@urahara> In-Reply-To: <845ED019F5932D4E8BED0A693FDBF6E72442E9B8@G4W3304.americas.hpqcorp.net> References: <845ED019F5932D4E8BED0A693FDBF6E72442E8E7@G4W3304.americas.hpqcorp.net> <20140826213253.GC6818@drone.musicnaut.iki.fi> <845ED019F5932D4E8BED0A693FDBF6E72442E9B8@G4W3304.americas.hpqcorp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , Aaro Koskinen 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 22:28:11 -0000 On Tue, 26 Aug 2014 21:43:15 +0000 "Habibi, Michael" wrote: > 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 signature so it would get through the mailing list. I did build test against stock 2.6.32 from upstream. Not going to deal with all the vendor kernel issues.