general/other PCI bar allocation problems with Dell R210 ii (SR-IOV)

FreeBSD 12.2-STABLE
DELL R210 ii

The Dell BIOS has a problem allocating PCI bars correctly to SR-IOV capable devices (NICs) resulting in SR-IOV not working (not enough MMIO resources-in Linux/no space left on device-in FreeBSD).

This is fixable under Linux by using pci=assign-busses as a kernel parameter.

Is there a tunable for FreeBSD to remedy this?

Thanks
 
Stab in the dark but you could try some of the pci tunables from the man page.

Something like hw.pci.clear_bars, hw.pci.clear_buses or hw.pci.realloc_bars
Interesting, I did go through the PCI page but I did not see the clear_bars and clear_buses tunables. I already tried with realloc_bars and it did not work (same on Linux with pci=realloc). Will give it a try in the next few days and report back.
 
No dice unfortunately.

hw.pci.clear_buses does not fix the problem and hw.pci.clear_bars with or without hw.pci.clear_pcib just leads to kernel panics and crashes.

Moved the setup to an HP DL360e G8 and SR-IOV works as expected without any tunables.
 
Back
Top