Thread (34 messages) 34 messages, 7 authors, 2021-01-29

RE: [pull request][net-next V10 00/14] Add mlx5 subfunction support

From: Parav Pandit <hidden>
Date: 2021-01-25 20:33:49
Also in: linux-rdma

From: Edwin Peer <redacted>
Sent: Tuesday, January 26, 2021 1:36 AM

On Mon, Jan 25, 2021 at 11:49 AM Jason Gunthorpe [off-list ref]
wrote:
quoted
I've never seen someone implement a NumVF > 256 by co-opting the bus
number.
Usually the VF offset already places the VF routing IDs into a
different bus number range from the PF. That much at least works
today.
quoted
Can Linux even assign more bus numbers to a port without firmware
help? Bus numbers are something that requires the root complex to be
aware of to setup routability.
I'm not sure, presumably something already infers this for the first
additional bus number based on the SR-IOV config capability?
It is not inferred.
Linux pci core programs the additional registers for subordinate and secondary bus numbers.
Though, it comes with its own extra hw cost.

Keep in mind how 1000 Vfs are enabled and disabled in one go at pci spec level and so at OS level, as opposed to unit of one here.
PCI comes with heavy bus level reset requirement apart from AER and more.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help