Re: ix SR-IOV working

From: Ultima <ultima_at_ultimasbox.com>
Date: Fri, 10 Aug 2018 09:52:31 -0700
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_at_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_at_nomadlogic.org
> _at_nomadlogicLA
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Fri Aug 10 2018 - 15:44:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:17 UTC