I have to two x86_64 servers and they have identical hardware configurations. Each of them have a 100Gb CX5 in PCIe slot1. Both servers and VMs are running OEL7U8, UEK5 kernel. I intend to aggregate the two ports of CX5 bandwidth in hosts and VMs. So I enabled SR-IOV and created VFs in both hosts:
[rpmem@scaoda8m020 ~]$ lspci |grep Mella
af:00.0 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]
af:00.1 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]
af:00.2 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function]
af:00.3 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function]
af:00.6 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function]
af:00.7 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function]
While I was creating the VFs of CX5 I noticed that
af:00.2 and af:00.3 are the VFs from PF at af:00.0
af:00.6 and af:00.7 are the VFs from PF at af:00.1
So I PCI passthrough af:00.2 and af:00.6 to VM in each host