NC51xx PCIe 10 Gigabit Server Adapter Software and Configuration Guide
Linux Socket Acceleration 23
Linux Socket Acceleration
Using the Linux Socket Accelerator driver
Linux Socket Accelerator (LSA) offloads a significant amount of TCP network processing to the HP
NC51xx network adapter, which can greatly reduce host CPU utilization. LSA does not require the user to
rebuild the Linux kernel because simple, loadable driver modules are used.
Offload control can be based on the application name, local TCP port number, or remote TCP port
number. These options provide exceptional control for what can be offloaded.
Packaging
The driver file name for the LSA package is:
nx_lsa-<version>.src.rpm
It is dependent on the kernel source code.
If you have not installed the kernel source code or setup the source tree on your Linux system, see Setting
up the kernel source code (on page 16).
Installing the LSA driver
This package requires the kernel source code as well as setting up the source tree. Complete the following
steps using command options provided for each step.
1. Verify that the nx_nic driver and firmware have been updated to the latest version. See Red Hat and
SLES RPM installations (on page 16) to determine if the nx_nic driver needs to be updated. See
Upgrading firmware for Red Hat and SLES (on page 17) to determine if the firmware needs to be
updated.
2. Verify the source code /usr/src/linux-<kernel-version> directory exists.
# cd /usr/src/linux-<kernel-version>
If the kernel source code is not present, see Setting up the kernel source code (on page 16).
3. Check for the existence of a loaded nx_lsa and nx_intercept driver.
# lsmod
4. If the drivers are loaded, remove the nx_lsa driver.
# rmmod nx_lsa
The nx_intercept driver cannot be removed using rmmod.
5. Check for the existence of a current version of the nx_lsa package.
# rpm -q nx_lsa
6. If an old version of the package exists, remove the RPM package.
# rpm -e nx_lsa
7. Verify that the old nx_lsa package has been removed.
# rpm -q nx_lsa
8. Remove the nx_intercept module by rebooting the system.
# reboot










