From owner-freebsd-net@FreeBSD.ORG Thu May 17 08:21:18 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A43CB106564A for ; Thu, 17 May 2012 08:21:18 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3DD5B8FC16 for ; Thu, 17 May 2012 08:21:18 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:5957:8207:d7b1:fbe7]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 717DC4AC2D; Thu, 17 May 2012 12:21:16 +0400 (MSK) Date: Thu, 17 May 2012 12:21:11 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <174885088.20120517122111@serebryakov.spb.ru> To: Venkat Duvvuru In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: IPv6 flowid hash calculation X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 08:21:18 -0000 Hello, Venkat. You wrote 16 =EC=E0=FF 2012 =E3., 10:09:29: VD> This question is related to the hash calculation done as part of select= ing VD> the transmit queue for IPv6 traffic. VD> I observed that no matter how many queues you use in the driver, the tx VD> traffic is always coming on queue 0. VD> Did anybody else observed this behaviour? VD> Note: IPv4 traffic is coming on all the tx queues. flowid is specified by MS & Intel only for IPv4 traffic (hash function, which is used to determine queue is defined only for IPv4 packet header). All other traffic (PPPoE, IPv6, etc.) goes into queue 0. There is nothing could be done on driver level, it is firmware (and "standard") problem. I was told, that top-level ("server-grade") 1G and 10G Intel NICs have configurable user-defined filters (think: firewall and QoS in hardware), and, may be, it could be done on this level, but I don't know any open-source drivers, which support this feature. --=20 // Black Lion AKA Lev Serebryakov