Stratix V Avalon-ST Interface with SR-IOV PCIe Solutions: User Guide

ID 683488
Date 5/02/2016
Public
Document Table of Contents

8.4. Physical and Virtual Function Address Assignments

The SR-IOV Bridge implements the PCI and PCI Express Configuration Spaces for two Physical Functions (PFs) and 128 Virtual Functions (VFs) in soft logic. Intel SR-IOV bridge assigns function numbers for PFs and VFs based on based on the following system attributes:

  • Number of PFs.
  • Availability of ARI support. (ARI support is required when the total number of PFs and VFs is greater than eight.)

The following rules apply when specifying VFs:

  • All systems that include VFs must include a minimum of four VFs.
  • For systems without ARI support, the Application Layer logic can configure VFs in any manner between PF0 and PF1.
  • For system without ARI, the total maximum VF is either 6 for one PF and 7 for two PFs.
  • For system with ARI, the maximum number of VFs is 128.
  • Systems with ARI support must specify VFs in multiples if four.
Table 94.  Function Address Map: One PF and No ARI

Function Number Assignments

Function Type

0

Physical Function 0

1

Virtual Function 0 (required)

2

Virtual Function 1 (required)

3

Virtual Function 2 (required)

4

Virtual Function 3 (required)

5

Virtual Function 4 (optional)

6

Virtual Function 5 (optional)

7

Virtual Function 6 (optional)

Table 95.   Function Address Map: Two PFs and No ARI

Function Number Assignments

Function Type

0

Physical Function 0

1

Physical Function 1

2

Virtual Function 0 (required)

3

Virtual Function 1 (required)

4

Virtual Function 2 (required)

5

Virtual Function 3 (required)

6

Virtual Function 4 (optional)

7

Virtual Function 5 (optional)

Table 96.  Function Address Map: One PF and ARI

Function Number Assignments

Function Type

0

Physical Function 0

1–127

Reserved

128

Virtual Function 0 (required)

129

Virtual Function 1 (required)

130

Virtual Function 2 (required)

131

Virtual Function 3 (required)

132-255

Virtual Function 4-127 (optional)

Table 97.  Function Address Map: Two PFs and ARI

Function Number Assignments

Function Type

0

Physical Function 0

1

Physical Function 1

2–127

Reserved

128

Virtual Function 0 (required, can assign to PF0 or PF1)

129

Virtual Function 1 (required, can assign to PF0 or PF1)

130

Virtual Function 2 (required, can assign to PF0 or PF1)

131

Virtual Function 3 (required, can assign to PF0 or PF1)

132–256

Virtual Functions 4-127 (optional assign to PF0 or PF1)