[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b0438a630902201033l395edc7ck4a2749e239797445@mail.gmail.com>
Date: Fri, 20 Feb 2009 19:33:23 +0100
From: Miguel Ángel Álvarez <gotzoncabanes@...il.com>
To: netdev@...r.kernel.org,
Miguel Ángel Álvarez <gotzoncabanes@...il.com>
Subject: NAPI of many interfaces with just an interruption source
Hi
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).
My first approach was to declare a napi interface for each device.
When I detected the first interrupt, I determine the correct net
interface, and schedule a poll for it.
The question is that there is no warranty that the data received in
the polling belongs to the same interface, so...
- It is correct to do like this, and just analyse the data to check to
which net interface should the data be sent.
- Or NAPI is not correct for this case and we should just use the
simple interruption mechanism?
Thanks
Miguel Ángel Álvarez
--
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