From owner-freebsd-net@FreeBSD.ORG Tue Sep 23 16:38:03 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2CEA175; Tue, 23 Sep 2014 16:38:02 +0000 (UTC) Received: from mail.ipfw.ru (mail.ipfw.ru [IPv6:2a01:4f8:120:6141::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF5A8828; Tue, 23 Sep 2014 16:38:02 +0000 (UTC) Received: from [2a02:6b8:0:401:222:4dff:fe50:cd2f] (helo=ptichko.yndx.net) by mail.ipfw.ru with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82 (FreeBSD)) (envelope-from ) id 1XWP7J-0001Hb-MN; Tue, 23 Sep 2014 16:22:49 +0400 Message-ID: <5421A1AF.9000800@FreeBSD.org> Date: Tue, 23 Sep 2014 20:37:03 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Adrian Chadd , Luigi Rizzo Subject: Re: How do I balance bandwidth over several virtual NICs? References: <5421310C.5010406@FreeBSD.org> <54218EF4.6090102@FreeBSD.org> <20140923154610.GD84074@onelab2.iet.unipi.it> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-net@freebsd.org" , Elof Ofel 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, 23 Sep 2014 16:38:03 -0000 On 23.09.2014 20:00, Adrian Chadd wrote: > Ah, this behaviour. > > It's called DROP_EN on the intel igb / ixgbe hardware. Grep the > drivers for that particular register bit/setting. > > Set that bit for an RX queue and it'll instruct the MAC to drop frames > destined if that RX ring is full to it and keep receiving on the other > rings. Otherwise yes, receiving on that ring with the ring full cuases > the MAC to stop receiving on all rings until that ring has free space. > > You flip this on with ixgbe and igb by disabling tx/rx flowcontrol > (sysctl dev.ix|igb.X.fc=0) before configuring the interface. Oh, cool. Yet another reason to turn flow control off by default. > > > > -a >