svn commit: r281804 - projects/em_mq/sys/dev/e1000

Sean Bruno sbruno at FreeBSD.org
Tue Apr 21 01:09:54 UTC 2015


Author: sbruno
Date: Tue Apr 21 01:09:53 2015
New Revision: 281804
URL: https://svnweb.freebsd.org/changeset/base/281804

Log:
  Define em_last_bind_cpus when not using EM_MULTIQUEUE.

Modified:
  projects/em_mq/sys/dev/e1000/if_em.c

Modified: projects/em_mq/sys/dev/e1000/if_em.c
==============================================================================
--- projects/em_mq/sys/dev/e1000/if_em.c	Tue Apr 21 00:51:40 2015	(r281803)
+++ projects/em_mq/sys/dev/e1000/if_em.c	Tue Apr 21 01:09:53 2015	(r281804)
@@ -407,6 +407,7 @@ SYSCTL_INT(_hw_em, OID_AUTO, num_tx_queu
 static int em_num_rx_queues = 1;
 SYSCTL_INT(_hw_em, OID_AUTO, num_rx_queues, CTLFLAG_RDTUN, &em_num_rx_queues, 0,
     "82574 only: Number of rx queues to configure, 0 indicates autoconfigure");
+#endif
 
 /*
 ** Global variable to store last used CPU when binding queues
@@ -414,7 +415,6 @@ SYSCTL_INT(_hw_em, OID_AUTO, num_rx_queu
 ** queue is bound to a cpu.
 */
 static int em_last_bind_cpu = -1;
-#endif
 
 /* How many packets rxeof tries to clean at a time */
 static int em_rx_process_limit = 100;


More information about the svn-src-projects mailing list