[Intel-wired-lan] Device isolation for X550 functions

Tantilov, Emil S emil.s.tantilov at intel.com
Tue Jul 18 20:33:08 UTC 2017


>-----Original Message-----
>From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf
>Of Roland Dreier
>Sent: Monday, July 17, 2017 1:48 PM
>To: intel-wired-lan at lists.osuosl.org
>Subject: [Intel-wired-lan] Device isolation for X550 functions
>
>Hi ixgbe maintainers -
>
>We've been trying to do passthrough of X550 VFs to a KVM virtual
>machine for our application, and we noticed that the kernel does not
>put the different functions in different iommu groups the same way it
>does for X520.  This is because the kernel change that enabled
>appropriate ACS bits for X520 does not include the X550 device ID
>(1563h in our case):

According to the X540/550 datasheet ACS is supported starting with X540
and it can be enabled in the NVM.

Is it not possible to determine the state from the PCIe config space,
rather than adding device IDs?

I did a quick check on my system with 0x1563 device and I can see the
ACS capabilities being reported:

	Capabilities: [1b0 v1] Access Control Services
		ACSCap:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
		ACSCtl:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-

That being said I am not an expert on this and I will try to get some
clarification from our HW folks.

Thanks,
Emil


More information about the Intel-wired-lan mailing list