Hi Dan,

You can identify the hardware a driver is able to support
with the modinfo(8) command.  For example,

  $ modinfo fm10k
  filename:       
/lib/modules/4.4.14-200.fc22.x86_64/kernel/drivers/net/ethernet/intel/fm10k/fm10k.ko.xz
  version:        0.15.2-k
  license:        GPL
  description:    Intel(R) Ethernet Switch Host Interface Driver
  author:         Intel Corporation, <linux.n...@intel.com>
  srcversion:     21FB5F03E90C1AE16837B51
  alias:          pci:v00008086d000015A5sv*sd*bc*sc*i*
  alias:          pci:v00008086d000015A4sv*sd*bc*sc*i*
  depends:        ptp
  intree:         Y
  vermagic:       4.4.14-200.fc22.x86_64 SMP mod_unload

(I use 'fm10k' because the hardware support list is short.)
See the lines which begin with "alias:".  They show the PCI
IDs [http://pciids.sourceforge.net/] of the hardware that 
this driver can drive.  There is probably a 'pci.ids' file
somewhere under /usr/share in your distro, too.  This file
is used to map the numeric PCI ID info to human-readable
strings.

So, the 'fm10k' driver will manage a device from Vendor
"8086" (Intel), with Device ID of "0x15a5" or "0x15a4".
Some drivers will also use the SubVendorID (sv) and Sub-
VendorDeviceID (sd), but we see this driver doesn't care,
as it displays the "*" wildcard match.

You will see that the 'e1000e' and 'igb' drivers are
(generally) for 1Gbps NICs, 'ixgbe' is for 10Gbps, and
'i40e' is for 25/40Gbps hardware.  Intel drivers with
names ending in "...vf" are virtual-function drivers
used with SR-IOV virtualization.  (Typically supporting
virtual machines running on a host virtualization platform.)

Use the lscpi(8) command to find the actual numeric values
for Vendor and Device IDs on your adapter.  You should read
the man page and experiment with the different options to 
find all of the information it will display and also how
to limit the output to what is useful for your purposes.

For my RHEL-7.x and SLES-12.x systems, I find
    # lspci -nn -v | grep net
to be extremely useful in identifying my Intel Ethernet
devices.

- Don



> -----Original Message-----
> From: Dan Zulaica [mailto:dan.zulaica...@gmail.com]
> Sent: Monday, April 23, 2018 11:37 PM
> To: Fujinaka, Todd <todd.fujin...@intel.com>
> Cc: e1000-devel@lists.sourceforge.net
> Subject: Re: [E1000-devel] e1000 driver compile
> 
> Hi,
> 
> The driver got compiled, but did not work. I went back to the 10.04
> kernel download from kernel.org. It compiled and I got the environment
> setup based on the README instructions. Then compiled the exgbe
> driver, which I though was the latest? Anyway that did not work, and I
> tried a e1000e download. That one compiled and worked. I can also use
> the vendor's Eclipse IDE.
> 
> Is ixgbe the latest update to e1000e. It is the green download icon,
> e1000e appear to be older version numbers.
> 
> Anyway, thanks for the help. Greatly appreciated.
> Dan
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to