From owner-freebsd-current@freebsd.org Fri Aug 10 17:44:20 2018 Return-Path: Delivered-To: freebsd-current@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 598331070F20 for ; Fri, 10 Aug 2018 17:44:20 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw1-f53.google.com (mail-yw1-f53.google.com [209.85.161.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D9FD074416 for ; Fri, 10 Aug 2018 17:44:19 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw1-f53.google.com with SMTP id l9-v6so9167849ywc.11 for ; Fri, 10 Aug 2018 10:44:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kdVNQ8FwX89k5nlJrEAzZ9xwtSWV0PGCP9aJP8zgNes=; b=bNE2Y3fbvLecOXI1eP/Ykk0luCvgVYok2cbjfR2vkk67C0Vd6Y+rWc94P8RMCCcbXn a7pIEByYnpyoY4g3fUgI7gIYO74QaodGz9MHuGh5lGaHqneowjgFpAKa4jbQ0UUYXwar yR0SzukYs7TYKLqR7usePYoZnL98aFVii1ZcNgJFfMrEmYXIAMEEoP5tgJqaEMWY3gDn q0Y+NB8kGn9b/228WhJVGzm0CTBYL1HzMNkHy0Vj1k08hkDMuF6lbSoL5iz8fgmWzdv2 mdTVtzwjc1iJf0jlBujDiVmrr/50jAFhfgoQRmbcFBhZtzaUet2Lo95oFPr408mBIJO+ aBeg== X-Gm-Message-State: AOUpUlHiWQBbRoB9q9yItfxV+M0WpvtDd0I7iqibIAytnHbqwY37qKgw H2mRgxzVJl99Tpyb0ttTvwWODC50 X-Google-Smtp-Source: AA+uWPzZoQQvum9mfuwuJlpO2CDvQE4p/Sm//yJwKOPws8hhohk+H7aUmHfjgbVL2R8lqp0H23UlUA== X-Received: by 2002:a0d:c886:: with SMTP id k128-v6mr3941914ywd.410.1533919952806; Fri, 10 Aug 2018 09:52:32 -0700 (PDT) Received: from mail-yw1-f46.google.com (mail-yw1-f46.google.com. [209.85.161.46]) by smtp.gmail.com with ESMTPSA id t4-v6sm4752265ywg.98.2018.08.10.09.52.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Aug 2018 09:52:32 -0700 (PDT) Received: by mail-yw1-f46.google.com with SMTP id s68-v6so9061287ywg.2 for ; Fri, 10 Aug 2018 09:52:32 -0700 (PDT) X-Received: by 2002:a25:8e0d:: with SMTP id p13-v6mr4264092ybl.160.1533919952349; Fri, 10 Aug 2018 09:52:32 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a81:3213:0:0:0:0:0 with HTTP; Fri, 10 Aug 2018 09:52:31 -0700 (PDT) In-Reply-To: References: <5b5d3f79-377a-c3d6-fa25-428dbf4faad7@nomadlogic.org> From: Ultima Date: Fri, 10 Aug 2018 09:52:31 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ix SR-IOV working To: Pete Wright Cc: Ryan Stone , FreeBSD Current X-Mailman-Approved-At: Fri, 10 Aug 2018 19:32:00 +0000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2018 17:44:20 -0000 Hello, This is probably a driver issue. The only way I could get sr-iov working with the ix driver is compiling the driver provided by Intel and loading it before boot. [1] for more details and [2] for the driver. Have not tested the latest version and only tested this on CURRENT. Also, there were some options that needed to be changed before compiling to enable sr-iov, it's pretty straightforward though if I recall correctly. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211062 [2] https://downloadcenter.intel.com/download/14688/Intel-Network-Adapters-Driver-for-PCIe-10-Gigabit-Network-Connections-Under-FreeBSD Best regards, Richard Gallamore On Fri, Aug 10, 2018 at 9:19 AM, Pete Wright wrote: > > > On 8/10/18 8:30 AM, Ryan Stone wrote: > >> How many VFs are you trying to create? Getting ENOSPC either >> indicates that you tried to allocate more VFs than the hardware >> supports, or the system could not allocate enough MMIO space for the >> VFs. >> > > Hi Ryan, > I was attempting to create a single VF. here's my iovct.conf: > > PF { > num_vfs: 1; > device : "ix0"; > } > > DEFAULT { > passthrough : true; > } > > my goal is to setup several bhyve instances on this server, and allocate > one VF per instance. for now i'm attempting to create a single VF for > testing purposes. > > Cheers! > > -pete > > -- > Pete Wright > pete@nomadlogic.org > @nomadlogicLA > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >