Skip To Main Content
Support Knowledge Base

How to Build and Install Linux* Drivers for Ethernet Adapters?

Content Type: Install & Setup   |   Article ID: 000092128   |   Last Reviewed: 12/16/2022

Environment

Operating System

Ubuntu 16.04*, OS Independent family

Description

Unable to install driver for Linux* systems

Resolution

Download the latest driver available in our Download Website.

Building and Installation

The ice driver requires the Dynamic Device Personalization (DDP) package file to enable advanced features (such as dynamic tunneling, Intel® Ethernet Flow Director, RSS, and ADQ, or others). The driver installation process installs the default DDP package file and creates a soft link ice.pkg to the physical package ice-x.x.x.x.pkg  in the firmware root directory (typically  /lib/firmware/ or /lib/firmware/updates/). The driver install process also puts both the driver module and the DDP file in the initramfs/initrd image.

To manually build the driver

  1. Move the base driver tar file to the directory of your choice.
    For example, use /home/username/ice  or /usr/local/src/ice.
  2. Untar/unzip the archive, where <x.x.x> is the version number for the driver tar file:
    # tar zxf ice-<x.x.x>.tar.gz
  3. Changeto the driver src directory, where <x.x.x> is the version number for the driver tar:
    # cd ice-<x.x.x>/src/
  4. Compile the driver module:
    # make install

The binary will be installed as:
/lib/modules/<KERNEL VER>/updates/drivers/net/ethernet/intel/ice/ice.ko

The install location listed above is the default location. This may differ for various Linux distributions.

Note

To build the driver using the schema for unified ethtool statistics defined in https://sourceforge.net/p/e1000/wiki/Home/, use the following command:
# make CFLAGS_EXTRA='-DUNIFIED_STATS' install

To compile the driver with ADQ (Application Device Queues) flags set, use the following command, where <nproc> is the number of logical cores:
# make -j<nproc> CFLAGS_EXTRA='-DADQ_PERF_COUNTERS' install

(This will also apply the above make install command.)

Additional information

For more information check the README.

Related Products

This article applies to 1 products.