From owner-freebsd-net@FreeBSD.ORG Sat Jan 31 01:00:21 2015 Return-Path: Delivered-To: freebsd-net@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 468C5C6E; Sat, 31 Jan 2015 01:00:21 +0000 (UTC) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (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 31AD2D0; Sat, 31 Jan 2015 01:00:20 +0000 (UTC) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPSA id 843DDCE400; Fri, 30 Jan 2015 17:00:14 -0800 (PST) Date: Fri, 30 Jan 2015 17:00:14 -0800 From: hiren panchasara To: sbruno@freebsd.org Subject: Re: Intel 82574L (em) Message-ID: <20150131010014.GB19333@strugglingcoder.info> References: <54CBF396.3090903@ignoranthack.me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hQiwHBbRI9kgIhsi" Content-Disposition: inline In-Reply-To: <54CBF396.3090903@ignoranthack.me> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2015 01:00:21 -0000 --hQiwHBbRI9kgIhsi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 30, 2015 at 01:11:50PM -0800, Sean Bruno wrote: >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 >=20 > http://www.intel.com/content/dam/doc/datasheet/82574l-gbe-controller-data= sheet.pdf >=20 > According to 7.1.11, this device does indeed have 2 queues for stuff and > or things. So, basic RSS would be possible in something like an Atom box. >=20 > I note that the em(4) driver intentionally disables this on > initialization. I'm up for some science on my new shiny, soon to be > router box. Any reason not to default to 1 queue and allow loader.conf > to raise it to 2? Intel folks know better but it seems this is hartwell. em_setup_msix() in very start says: /* ** Setup MSI/X for Hartwell: tests have shown ** use of two queues to be unstable, and to ** provide no great gain anyway, so we simply ** seperate the interrupts and use a single queue. */ Things may have changed now. I guess you can try enabling it and find out := -) cheers, Hiren --hQiwHBbRI9kgIhsi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJUzCkeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lOEoH/3DL/joxvDlITP12IY6rGJZn dAzkJT7AIUlu3YgJmO518v1RvtqUnT+zWLkwd5b096WSpV9KI9WJs685rINNa4ab 8K8ou/RMbtdTwi9V6EYrysUZm+w8kcn7LE0BgiH3wTCsZIHAiyuqKjrFMhOlcw28 Ti4d+tcjB/hWxHUMo4qjrenTD6jh1iTE80uLY9wEh6LP1//ASnVrSFEhPJPcro+4 BchDFVs0I8YIW4aS5TUxUNZR5MxnghAu4Q1DpGEOCscqi4GToeVTIoBsYqO+9EpO RRY1ag4nALDIGVptu3K7QURFWZ5/GsoaWEv04uoBMJ1G/wpioIyo9eIeMrzjbDU= =n/u8 -----END PGP SIGNATURE----- --hQiwHBbRI9kgIhsi--