[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1165465446.5469.189.camel@localhost.localdomain>
Date: Thu, 07 Dec 2006 15:24:06 +1100
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: "David S. Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org, Eugene Surovegin <ebs@...home.net>
Subject: Re: NAPI and shared interrupt control
> What Eugene does currently, which seems to me like it's actually the
> only proper solution, is to create a separate net_device structure for
> the DMA engine and thus have a single NAPI poll & weighting for all the
> EMACs sharing a given MAL (MAL is the name of that DMA engine). This
> means that Rx from any of the channels schedules the poll, and
> interrupts can be properly masked/unmasked globally based on the
> presence/absence of work on all the channels.
Actually, another solution would be to have one of the instances do the
NAPI poll for all of them instead of creating a separate net_device for
the DMA engine...
Ben.
-
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