No edit summary |
|||
Line 8: | Line 8: | ||
== Howto Test == | == Howto Test == | ||
1. Identify the add-in network adapters in your system. Use instructions from the link | 1. Identify the add-in network adapters in your system. Use instructions from the link [https://fedoraproject.org/wiki/QA:Testcase_Onboard_Network_Interface_Names Verify that onboard interfaces are named as emN] to identify the onboard network devices. The rest are add-in network adapters. | ||
On a Dell PowerEdge system with 4 BCM5709 onboard network adapters, 1 82572EI single port adapter, 1 82576 dual port network adapter, 'lspci' listing helps identify add-in adapters. | On a Dell PowerEdge system with 4 BCM5709 onboard network adapters, 1 82572EI single port adapter, 1 82576 dual port network adapter, 'lspci' listing helps identify add-in adapters. |
Revision as of 19:02, 18 January 2011
Description
This test case verifies that the interface names for adapters on Add-in PCI slots are of the form pci<slot>#<port>_<virtual function instance>.
Setup
Make sure your system is booted into Rawhide kernel and has at least one add-in network controller plugged into the available PCI slot.
Howto Test
1. Identify the add-in network adapters in your system. Use instructions from the link Verify that onboard interfaces are named as emN to identify the onboard network devices. The rest are add-in network adapters.
On a Dell PowerEdge system with 4 BCM5709 onboard network adapters, 1 82572EI single port adapter, 1 82576 dual port network adapter, 'lspci' listing helps identify add-in adapters.
- Onboard Network Adapters
[root@fedora-14-r710 ~]# lspci | grep -i ether 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20) 01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20) 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20) 02:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
- PCI Add-in Network Adapters
06:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06) 07:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) 07:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
2. Verify that the add-in network adapters are named as per their physical location on the system board.
[root@fedora-14-r710 ~]# ls /sys/class/net/ lo pci3#1 pci3#2 pci4#1
- pci4#1 - add-in network adapter on PCI Slot 4 Port 1
[root@fedora-14-r710 ~]# ethtool -i pci4#1 driver: e1000e version: 1.2.7-k2 firmware-version: 5.6-8 bus-info: 0000:06:00.0
- pci3#2 - add-in network adapter on PCI Slot 3 Port 2
[root@fedora-14-r710 ~]# ethtool -i pci3#2 driver: igb version: 2.1.0-k2 firmware-version: 1.5-1 bus-info: 0000:07:00.1
Expected Results
All the add-in PCI network interfaces should get named as per their physical location in the system motherboard.