]> err.no Git - linux-2.6/commit
sfc: Create one RX queue and interrupt per CPU package by default
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 18 Jul 2008 18:03:10 +0000 (19:03 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 22 Jul 2008 23:44:15 +0000 (19:44 -0400)
commitaa6ef27ea906e74bd23d14f43f095c012469d9c7
treeb3021a33a78593153c145b1ef6b382288e96d253
parent8d9853d911b9d3fb767c3886066530c0e39b78ba
sfc: Create one RX queue and interrupt per CPU package by default

Using multiple cores in the same package to handle received traffic
does not appear to provide a performance benefit.  Therefore use CPU
topology information to count CPU packages and use that as the default
number of RX queues and interrupts.  We rely on interrupt balancing to
spread the interrupts across packages.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/efx.c