From owner-freebsd-net@freebsd.org Wed May 30 15:19:38 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99CC0F75837 for ; Wed, 30 May 2018 15:19:38 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (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 14A8468810; Wed, 30 May 2018 15:19:37 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id w4UFJaOx045858; Wed, 30 May 2018 17:19:36 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id CB626B6A; Wed, 30 May 2018 17:19:35 +0200 (CEST) Subject: Re: Testing VF/PF code To: Ryan Stone , Sean Bruno Cc: freebsd-net References: <4bc71104-349d-10b6-c7a4-0202e124ff98@freebsd.org> From: Harry Schmalzbauer Organization: OmniLAN Message-ID: Date: Wed, 30 May 2018 17:19:35 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Wed, 30 May 2018 17:19:36 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 15:19:38 -0000 Am 30.05.2018 um 16:45 schrieb Ryan Stone: > On Tue, May 29, 2018 at 12:58 PM Sean Bruno wrote: >> Does anyone have a process for testing the VF drivers (ixgbe igb, etc) >> in FreeBSD without actually firing up linux to instantiate a VM or using >> EC2? > We have native support for creating VFs for ixl and ixgbe (and cxgbe). > For igb you're out of luck (but SR-IOV on igb is kind of a waste of > time anyway) I'd like to note that I'm strongly missing SR-IOV for if_igb(4) and I don't consider it as a waste of time, speaking of the time needed for the setup – not the time to make the code happen; that's nothing I can achive (not even estimate) so I won't try to judge about the sense of that time relation... 82576 is a wonderful piece of hardware (mostly true for i350 also) and I'm missing the ability to use VFs for jails and bhyve(8) likewise with these NICs. There are still many appliances that don't need 10GE rates and could easily cope with FastEthernet rates. For such appliances, security/design considerations have much more weight than throughput, which VFs would greatly support implementation simplicity/consistency. So igbv(4) is on top of my christmas wishlist ;-) Two or three of the 2-port cards and a LACP switch-stack (GbE) make a nice platform for a dozend VMs/jails – affordable by means of financial and electrical power budget likewise. No tech aspects/justification here, just my experience based opinion. Thanks, -harry