xps: Add CONFIG_XPS

This patch adds XPS_CONFIG option to enable and disable XPS.  This is
done in the same manner as RPS_CONFIG.  This is also fixes build
failure in XPS code when SMP is not enabled.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Tom Herbert
2010-11-26 08:36:09 +00:00
committed by David S. Miller
parent 8fa9208e30
commit bf26414510
5 changed files with 73 additions and 43 deletions
+5
View File
@@ -220,6 +220,11 @@ config RPS
depends on SMP && SYSFS && USE_GENERIC_SMP_HELPERS
default y
config XPS
boolean
depends on SMP && SYSFS && USE_GENERIC_SMP_HELPERS
default y
menu "Network testing"
config NET_PKTGEN