3-5
Chapter 3: Installation
The install location listed above is the default location. This may differ for vari
-
ous 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:
# 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>
7. Verify that the interface works. Enter the following, where IP_address is the
IP address for another machine on the same subnet as the interface that is
being tested:
# ping <IP_address>