From owner-svn-src-projects@FreeBSD.ORG Tue Apr 21 01:09:54 2015 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3A4EB48; Tue, 21 Apr 2015 01:09:54 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A23BAF85; Tue, 21 Apr 2015 01:09:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3L19sTh036115; Tue, 21 Apr 2015 01:09:54 GMT (envelope-from sbruno@FreeBSD.org) Received: (from sbruno@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3L19s9a036114; Tue, 21 Apr 2015 01:09:54 GMT (envelope-from sbruno@FreeBSD.org) Message-Id: <201504210109.t3L19s9a036114@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sbruno set sender to sbruno@FreeBSD.org using -f From: Sean Bruno Date: Tue, 21 Apr 2015 01:09:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r281804 - projects/em_mq/sys/dev/e1000 X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2015 01:09:54 -0000 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;