Netdev List
 help / color / mirror / Atom feed
* [net-next PATCH 0/3] qlge: Allow running MSIx with fewer vectors.
@ 2009-08-27 21:02 Ron Mercer
  2009-08-27 21:02 ` [net-next PATCH 1/3] qlge: Get rid of 'default' rx_ring type Ron Mercer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ron Mercer @ 2009-08-27 21:02 UTC (permalink / raw)
  To: davem; +Cc: netdev, ron.mercer

Hello Dave and All,

The purpose of this patch series is to allow MSIx usage on
platforms where vector availability is limited.  The change is to
move broadcast/multicast/firmware event processing from a dedicated
'default' ring into the first RSS ring, and move TX completion
processing into NAPI context.

These patches change the rx_ring to MSIx vector mapping as follows:

FROM-
- 1 x default rx_ring (broadcast/multicast/firmware events)
- cpu_count x RSS rx_rings
- cpu_count x TX completion rx_rings.

We then attempt to allocate a vector for each rx_ring.  If it fails then
we drop down to MSI/Legacy single interrupt.  This is not efficient.


TO-
1) Get rid of dedicated default rx_ring and add it's extra functionality
	to the first RSS ring.
2) Allocate one RSS ring for each MSIX vector.
3) Allocate one TX completion ring for each CPU.
4) Move TX completion ring processing to NAPI context.

Each interrupt will start NAPI to process it's RSS ring and
and one or more TX completion rx_rings.

Regards,
Ron Mercer



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-29  6:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-27 21:02 [net-next PATCH 0/3] qlge: Allow running MSIx with fewer vectors Ron Mercer
2009-08-27 21:02 ` [net-next PATCH 1/3] qlge: Get rid of 'default' rx_ring type Ron Mercer
2009-08-27 21:02 ` [net-next PATCH 2/3] qlge: Allow running MSIx with fewer vectors Ron Mercer
2009-08-27 21:02 ` [net-next PATCH 3/3] qlge: Move TX completions from workqueue to NAPI Ron Mercer
2009-08-29  6:23 ` [net-next PATCH 0/3] qlge: Allow running MSIx with fewer vectors David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox