Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
4811 Discussions

Identifying which port and PF owns a VF

idata
Employee
1,432 Views

Hello,

What is the most reliable way to identify that a given Virtual Function ( given a bus:address:function) belongs to a PF and to a particular por

I saw that vfs with even/odd numbered function belongs to the first/second port/pf respectively. But I have not seen this convention officially stated in the 82599 datasheet. Is there a more reasonable and reliable way?

Environment:

OS: ubuntu 13.4

NIC: 82599 eb

0 Kudos
1 Reply
Patrick_K_Intel1
Employee
632 Views

The mechanism you found is the way on Intel NICs. On a dual port NIC, all even # pci functions for VF's are assigned to the 1st port and odd to the 2nd.

This may not be true on non-Intel NICs.

The SR-IOV specification leaves a great deal of details up to the implementers, this is an area where there is no standard way of doing it, thus no easier way to determine from the OS.

Have fun playing with SR-IOV.

- Patrick

0 Kudos
Reply