[dpdk-dev] irq_to_desc undefined when compiling igb_uio

Stephen Hemminger stephen at networkplumber.org
Wed Aug 27 00:32:08 CEST 2014


On Tue, 26 Aug 2014 21:43:15 +0000
"Habibi, Michael" <michael.f.habibi at hp.com> 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.


More information about the dev mailing list