3-5
Chapter 3: Installation
4. Compile the driver module:
# make install
The binary will be installed as:
/lib/modules/<KERNEL VER>/updates/drivers/net/ethernet/
intelice/ice.ko
The installation location listed above is the default location. This may differ for
various Linux distributions.
Note:
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 -DADQ_PERF_COUN-
TERS' install
This will also apply the above 'make install' command.
5. Load the module using the modprobe command. To check the version of the
driver and then load it, enter the following commands:
# modinfo ice
# modprobe ice
Alternately, make sure that any older ice drivers are removed from the kernel before
loading the new module:
# rmmod ice; modprobe ice
Note:
To enable verbose debug messages in the kernel log, use the
dynamic debug feature (dyndbg). See "Dynamic Debug" later in this
README for more information.
6. Assign an IP address to the interface by entering the following where <ethX>
is the interface name that was shown in dmesg after modprobe:
# ip address add <IP_address>/<netmask bits> dev <ethX>