Ryan Stone 55d3ea1731 Add support for PCIe ARI
PCIe Alternate RID Interpretation (ARI) is an optional feature that
allows devices to have up to 256 different functions.  It is
implemented by always setting the PCI slot number to 0 and
re-purposing the 5 bits used to encode the slot number to instead
contain the function number.  Combined with the original 3 bits
allocated for the function number, this allows for 256 functions.

This is enabled by default, but it's expected to be a no-op on currently
supported hardware.  It's a prerequisite for supporting PCI SR-IOV, and
I want the ARI support to go in early to help shake out any bugs in it.
ARI can be disabled by setting the tunable hw.pci.enable_ari=0.

Reviewed by:	kib
MFC after:	2 months
Sponsored by:	Sandvine Inc.
2014-04-01 16:02:02 +00:00
..
2013-09-04 18:42:05 +00:00
2013-10-29 11:17:49 +00:00
2013-10-29 11:17:49 +00:00
2014-03-02 07:39:37 +00:00
2013-08-28 14:49:36 +00:00
2014-02-18 21:29:30 +00:00
2013-10-28 23:34:05 +00:00
2013-07-07 19:47:22 +00:00
2014-02-20 04:56:55 +00:00
2013-09-05 23:14:27 +00:00
2014-04-01 16:02:02 +00:00
2013-10-29 11:17:49 +00:00
2014-03-13 15:57:25 +00:00
2013-10-29 11:17:49 +00:00
2014-02-04 20:52:33 +00:00