From owner-freebsd-net@FreeBSD.ORG Tue Mar 31 05:06:32 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 09141BA2; Tue, 31 Mar 2015 05:06:32 +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 DFD52250; Tue, 31 Mar 2015 05:06:31 +0000 (UTC) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPSA id E2620105AB1; Mon, 30 Mar 2015 22:06:28 -0700 (PDT) Date: Mon, 30 Mar 2015 22:06:28 -0700 From: hiren panchasara To: Adrian Chadd Subject: Re: Full 32bit flowid from igb(4) Message-ID: <20150331050628.GJ10892@strugglingcoder.info> References: <20150323233908.GT53237@strugglingcoder.info> <20150323234214.GU53237@strugglingcoder.info> <20150324154931.GC53237@strugglingcoder.info> <20150330225945.GI10892@strugglingcoder.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5me2qT3T17SWzdxI" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Jack F Vogel , FreeBSD Net , erj@freebsd.org, Jack Vogel , Jason Wolfe 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: Tue, 31 Mar 2015 05:06:32 -0000 --5me2qT3T17SWzdxI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 03/30/15 at 04:33P, Adrian Chadd wrote: > So, the 32 bit field that has the flowid in the rx descriptor can mean > multiple things - not just the flowid. >=20 > For igb it can also mean one of the RX checksums. I care about igb(4) right now and I350 specifically. I checked the spec and section 7.1.2.8 Receive-Side Scaling (RSS) which defines it. In igb_initialise_rss_mapping(), we do set MRQC register which means we are getting RSS hash in flowid. And we disable packet checksum to get RSS type via PCSD register.=20 Is my understanding not correct? I am missing how can we not get RSS hash in flowid in this case. Can you please explain? Cheers, Hiren --5me2qT3T17SWzdxI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJVGitUXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lKbQH/iikNL7O3IXlboxmV4b7DVBM 4MuzKx7uEz7fFwq4ybDc5PbSZ3+iFE68A1C7sS5rI0Lf8Ph1xdkDsPYFKFiR1t3v wpT+oNl0fJfFZgGafvxmWcN08XVgOMPJLVWi6ci07/JYv6KTxug4hyTZNs7khYGA nAGd0TjzqVBvO6suXWvufIojpRuxx7R44mtytUjpBdmATdz7Dv/qDOsrrcuAbUal qbNMd0IHPn9gXWDzNne0aNepQKbcCjJ0YTImVnGpZaGtBqNFbwjM41ZjJbM/bT+3 IlCM6//r5E/v3xtIkbymtiQRd7DvApL69qTNfihkinPj7fPDT2nxI8zsyuprwB8= =f/Qc -----END PGP SIGNATURE----- --5me2qT3T17SWzdxI--