I have two identical network cards installed in my system (same device, same vendor).
Now I wanted to stub one network card in order to use PCIe passthrough.
I've come to realize that the two network cards have identical device ids:
$ lspci -nn 02:00.0 Ethernet controller : Realtek Semiconductor Co., Ltd. Device [10ec:8161] (rev 15) 03:00.0 Ethernet controller : Realtek Semiconductor Co., Ltd. Device [10ec:8161] (rev 15)
As you can see the PCI device id
10ec:8161 is the same for both network cards. I expected them to be different (i.e. that each network card has its own unique PCI device id).
Is this normal behaviour? How would I go about just stubbing one of the two network cards (using
vfio-pci) ? Is it even possible?