cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to check that a NIC is supported by AMD's custom driver

herman_2
Inactive

First of all you better have a recommended NIC card from the "Hardware Recomendation" manual provided with DCRUM Documentation.

But, inside the technical, here is what DCRUM AMD does under the hood.

The supported (*1) NIC info is located at the file /usr/lib/perl5/site_perl/supported_devs.pm

(*1 = supported by the hardware and RHEL (Red Hat), not by AMD, yet. Keep reading)

The data is listed in the way:

$pciid_drivers{"8086:10da"}= ["e1000e", "e1000e_rtm"];

where

  • {"8086:10da"}

is the PCI vendor ID and the device ID (this is NOT the MAC Address Vendor ID !!!)  and

  • ["e1000e", "e1000e_rtm"];

is the list of available drivers when the NIC is supported (*1, remember).

So, how can we get the right PCI Vendor ID and device ID ? (we need this info to check later with AMD supported NICs)

Currently the only way I know to get this info is to ask directly to the card while installed on AMD.

Run the commands lspci and lspci -nn to get this info.

  • lspci will list all PCI devices connected to the AMD. Look for the NIC description and take note of the first digits on the left like 4c:00.0.
  • lspci -nn will give you the PCI vendor ID and the device ID like 4c:00.1 8086:10fb, and will be listed exactly as before so you just need to mach both listings.

So, having the PCI Vendor ID and device ID of your NIC, look for it in the supported_devs.pm

Be careful when reading that file because some cards are supported only in 64 bits. Check the code of the file to understand if your NIC is supported in your 32 or 64 bits environment and depending on the version of your RHEL.

Additional notes:

4 REPLIES 4

tomasz_nowakows
Dynatrace Contributor
Dynatrace Contributor

Small update - supported_devs.pm file may be also located in

/usr/local/share/perl5/

You may also do

find / -name supported_devs.pm 

to locate it.

herman_2
Inactive

Great comments, guys! Thanks!

grzegorz_sulest
Dynatrace Helper
Dynatrace Helper

Just a slight correction to the lines below:

The supported (*1) NIC info is located at the file /usr/lib/perl5/site_perl/supported_devs.pm

(*1 = supported by the hardware and RHEL (Red Hat), not by AMD, yet. Keep reading)

In fact if the device ID is found in the supported_devs.pm it indicates that the NIC is supported by the AMD (rtm custom driver can be used).