[Bug 289569] Issues with SR-IOV functionality

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289569

--- Comment #1 from Marek Zarychta <[email protected]> ---
(In reply to Sad Clouds from comment #0)
>3. There seems to be no way to configure multiple TX and RX queues for virtual interfaces.
>
>The following settings in /boot/loader.conf get completely ignored:
>
>dev.ixv.0.iflib.override_qs_enable=1
>dev.ixv.0.iflib.override_nrxqs=4
>dev.ixv.0.iflib.override_ntxqs=4
>
>and all virtual interfaces end up with 1 TX and 1 RX queue:
>
>ixv0: <Intel(R) X520 82599 Virtual Function> at device 0.128 on pci3
>ixv0: Using 2048 TX descriptors and 2048 RX descriptors
>ixv0: Using 1 RX queues 1 TX queues

I wonder why this device is named ixv? ixv(4) seems to be non-existent in
FreeBSD. Are you using custom drivers?

I was also trying to enable SR-IOV on this NIC for many tries, without success,
but the name looks different, and these iflib settings from loader.conf are not
ignored:

dev.ix.0.iflib.override_qs_enable=1
dev.ix.0.iflib.override_nrxqs=16
dev.ix.0.iflib.override_ntxqs=16
dev.ix.0.iflib.override_nrxds="4096"

Device names are ix# in my case:

ix0: <Intel(R) X520 82599ES (SFI/SFP+)> port 0x2020-0x203f mem
0x92100000-0x921fffff,0x92204000-0x92207fff irq 44 at device 0.0 numa-domain 0
on pci5
ix0: Using 4096 TX descriptors and 4096 RX descriptors
ix0: Using 16 RX queues 16 TX queues
ix0: Using MSI-X interrupts with 17 vectors
ix0: allocated for 16 queues
ix0: allocated for 16 rx queues
ix0: Ethernet address: 24:6e:xx:xx:xx:70
ix0: PCI Express Bus: Speed 5.0GT/s Width x8
ix0: Option ROM V19-b0-p12 eTrack 0x8000095c
ix0: netmap queues/slots: TX 16/4096, RX 16/4096

ix1: <Intel(R) X520 82599ES (SFI/SFP+)> port 0x2000-0x201f mem
0x92000000-0x920fffff,0x92200000-0x92203fff irq 40 at device 0.1 numa-domain 0
on pci5
ix1: Using 2048 TX descriptors and 2048 RX descriptors
ix1: Using 8 RX queues 8 TX queues
ix1: Using MSI-X interrupts with 9 vectors
ix1: allocated for 8 queues
ix1: allocated for 8 rx queues
ix1: Ethernet address: 24:6e:xx:xx:xx:72
ix1: PCI Express Bus: Speed 5.0GT/s Width x8
ix1: Option ROM V19-b0-p12 eTrack 0x8000095c
ix1: netmap queues/slots: TX 8/2048, RX 8/2048

Nevertheless, when I try to enable IOV, it results in a constant panic: APEI
Fatal Hardware Error!

The platform is Dell PowerEdge R630 and has been tested many times in the past
on stable/14 and recently on stable/15.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.