From owner-freebsd-net@freebsd.org Mon Jun 29 17:19:32 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5B8E990769 for ; Mon, 29 Jun 2015 17:19:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 9EEB51F8A; Mon, 29 Jun 2015 17:19:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Z9ciQ-0006mV-LT; Mon, 29 Jun 2015 20:19:30 +0300 Date: Mon, 29 Jun 2015 20:19:30 +0300 From: Slawa Olhovchenkov To: Navdeep Parhar Cc: freebsd-net@freebsd.org Subject: Re: netmap custom RSS and custom packet info Message-ID: <20150629171930.GH1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> <55917B43.70904@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55917B43.70904@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 17:19:33 -0000 On Mon, Jun 29, 2015 at 10:07:15AM -0700, Navdeep Parhar wrote: > On 06/29/2015 08:17, Slawa Olhovchenkov wrote: > ... > > b) custom RSS. Modern NIC have RSS poorly interoperable with packet > > analysing: packets from same flow, but different direction placed in > > different queue, ... > > This is default behavior because the default hash (Toeplitz) is not > symmetrical. There are modern NICs that do support other, symmetrical > hashes. Anyway this is still hardware-depended. I am don't see symmetrical hashes for 1G/10G Intel cards.