Date: Fri, 10 Aug 2018 09:52:31 -0700 From: Ultima <ultima@ultimasbox.com> To: Pete Wright <pete@nomadlogic.org> Cc: Ryan Stone <rysto32@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: ix SR-IOV working Message-ID: <CANJ8om5v%2BRp0WY%2BZtHDKMUE7N_ANbYC1wycAQMO6=n6fkj6WSQ@mail.gmail.com> In-Reply-To: <a861b4a2-45a7-7c58-dd62-efc074523974@nomadlogic.org> References: <5b5d3f79-377a-c3d6-fa25-428dbf4faad7@nomadlogic.org> <CAFMmRNz3ExBFJkVy4uWggcMchXdJ815FBXfx8a4GPvu=gGSbcg@mail.gmail.com> <a861b4a2-45a7-7c58-dd62-efc074523974@nomadlogic.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <pete@nomadlogic.org> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANJ8om5v%2BRp0WY%2BZtHDKMUE7N_ANbYC1wycAQMO6=n6fkj6WSQ>