NC51xx PCIe 10 Gigabit Server Adapter Software and Configuration Guide
Linux Socket Acceleration 25
Command Definition Comments
-h, -help Displays a list of parameters
for the nxoffload utility
-p Port number to be offloaded
-n Application name to be
offloaded
-t TCP tuple to be offloaded Format: local IP, local port, remote OP,
remove port.
Example:
./nxoffload -a -t'0, 0, 0, 5001'
./nxoffload -a -t'0, 2000, 0, 5001'
-a Add an offload rule
-r Remove an offload rule
-z Enable zero copy
-s List all ports and applications
offloaded
Configuration examples:
To offload the application iperf type:
nxoffload -a -n iperf
To offload the application that uses local TCP port 80 type:
nxoffload -a -p80
To remove the application that uses local TCP port 80 type:
nxoffload -r -p80
To list the current offload rules type:
nxoffload -s
To offload an application with zero copy enabled then type:
nxoffload -a -z -n <application name>
LSA driver caveats
HP Linux Socket Acceleration has the following caveats:
• The nx_intercept module cannot be removed with rmmod. However, the object is removed from the
system when the nx_lsa package is removed with rpm -e nx_lsa. Reboot the system and the
nx_intercept module is removed completely.
• There are build warnings when building the objects with rpmbuild. Please ignore these build
warnings.
• Requires root access to add or remove offload rules.
• Rules may be added or removed at any time. However, the addition or removal of a rule will not
affect connections that have already been established.
For example:
If the user starts a non-offloaded iperf application and then types nxoffload - a -n iperf, this
instantiation of iperf is NOT subsequently offloaded. However, future instantiations will be offloaded.
• TCP tuple is not implemented in this release.










