[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090221131251.GA28821@gondor.apana.org.au>
Date: Sat, 21 Feb 2009 21:12:51 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: gotzoncabanes@...il.com, netdev@...r.kernel.org,
Benjamin Herrenschmidt <benh@...nel.crashing.org>
Subject: Re: NAPI of many interfaces with just an interruption source
Stephen Hemminger <shemminger@...tta.com> wrote:
> On Fri, 20 Feb 2009 19:33:23 +0100
> Miguel Ángel Álvarez <gotzoncabanes@...il.com> wrote:
>>
>> I have four interfaces that share the same interruption source (four
>> hdlc channels in ixp4xx that share the same rx queue... but I am
>> trying to do the question generic).
>
> Several other devices have this (like sky2). Since NAPI needs
> to control irq, you need to have 1 NAPI instance per IRQ, so for
> these type of drivers there is 1 NAPI in hardware structure
> and multiple network devices.
Ben has just done exactly the same thing for his driver so he
can tell you all about it and how to use his generic function :)
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists