同じPCIアドレスを持つ2つのネットワークカードを区別する方法

同じPCIアドレスを持つ2つのネットワークカードを区別する方法

私はFedora 22を実行していてKVMゲストに配信できるGPUを持っています。pci-stub.ids=<pci id 2>,<pci id 2>Grubブートオプションに追加してこれを行いました。今使用している2つのPCI IDは同じGPU用ですが、IDが異なります。

最近TP-Linkネットワークカードを購入しましたが、手動Realtek 8xxxチップセットを使用すると言われています。明らかに、これは私の統合NICが使用するのと同じチップセットであり、lspci -nn私の統合NICのPCIバスIDが06:00ではなく08:00であることを除いて同じ出力を表示します.この行がPCI IDに8つの16進値を使用している場合、pci-stub.idsPCIスタブドライバに1つのNICだけを接続するにはどうすればよいですか?

編集:以下はいくつかのlshw出力です。

*-pci:5
         description: PCI bridge
         product: SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
         vendor: Advanced Micro Devices, Inc. [AMD/ATI]
         physical id: 15
         bus info: pci@0000:00:15.0
         capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
         configuration: driver=pcieport
       *-network
            description: Ethernet interface
            product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
            vendor: Realtek Semiconductor Co., Ltd.
            physical id: 0
            bus info: pci@0000:06:00.0
            logical name: enp6s0
            version: 06
            serial: 90:2b:34:xx:xx:xx
            size: 1Gbit/s
            capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
            configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.1.10 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s

*-pci:7
         description: PCI bridge
         product: SB900 PCI to PCI bridge (PCIE port 2)
         vendor: Advanced Micro Devices, Inc. [AMD/ATI]
         physical id: 15.2
         bus info: pci@0000:00:15.2
         configuration: driver=pcieport
       *-network
            description: Ethernet interface
            product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
            vendor: Realtek Semiconductor Co., Ltd.
            physical id: 0
            bus info: pci@0000:08:00.0
            logical name: enp8s0
            version: 06
            serial: c4:e9:84:xx:xx:xx
            size: 1Gbit/s
            capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
            configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168e-2.fw ip=192.168.1.142 latency=0 link=yes multicas

ベストアンサー1

おすすめ記事