DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel
Date: Wed, 03 Sep 2014 04:28:36 +0200	[thread overview]
Message-ID: <1526217.f9E7715t3x@xps13> (raw)
In-Reply-To: <540488DD.3030304@6wind.com>

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

      reply	other threads:[~2014-09-03  2:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-25 17:36 Stephen Hemminger
2014-07-25 17:37 ` [dpdk-dev] [PATCH 2/2] igb_uio: handle no IRQ fallback Stephen Hemminger
2014-08-01 13:11   ` Thomas Monjalon
2014-08-01 13:10 ` [dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel Thomas Monjalon
2014-08-22 17:29   ` Sanford, Robert
2014-08-22 18:09     ` Robert Sanford
2014-08-23 15:14       ` Stephen Hemminger
2014-08-26 16:08         ` Sanford, Robert
2014-09-01 11:15           ` Thomas Monjalon
2014-09-01 15:07       ` Guillaume Gaudonville
2014-09-01 14:55 ` Guillaume Gaudonville
2014-09-03  2:28   ` Thomas Monjalon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1526217.f9E7715t3x@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).