nwmgr_iexgbe.1m (2011 03)

n
nwmgr_iexgbe(1M) nwmgr_iexgbe(1M)
Diagnose Link Connectivity
nwmgr --diag [link] -A dest=
mac_addr [--it number][-A pktsize=bytes]
[
-A timeout=seconds] -c lanPPA
nwmgr --diagnose [link] --attribute dest=mac_addr [
--iterations number]
[
--attribute pktsize=bytes][--attribute timeout=
seconds]
--class_instance lan
PPA
Link connectivity at the data link layer is checked by sending IEEE XID test frames to the specified
destination MAC address and counting the replies. The
--iterations option specifies how many
test frames to send; the default is 1.
The
pktsize attribute specifies the size of each test frame; the default is 100 bytes.
The
timeout attribute specifies how many seconds to wait for the acknowledgement of each test
frame; the default is 5 seconds.
TRANSMIT AND RECEIVE INTERRUPT COALESCING
The 10 Gigabit Ethernet card provides an interrupt mitigation capability, by restricting how often inter-
rupts can occur. You can specify the minimum time between interrupts for transmit and receive comple-
tion. Small values tend to result in one interrupt per packet. Larger values result in more packets being
processed per interrupt.
The timer value is expressed in microseconds and can be in the range {0 - 3000}. When the value is zero,
an interrupt will occur after the next transmit or receive completion.
The timer values can be set with the following commands:
nwmgr -s -A tx_timer=25 -c lan PPA
nwmgr -s -A rx_timer=50 -c lan PPA
RETURN VALUES
0 The command returns 0 on success.
<>0 On failure, the command returns values described in the ERRORS section below.
ERRORS
[ENOTSUP] Operation or feature is not supported.
[EINVAL] One or more of the attributes or options is invalid for the task.
[ERANGE] The specified values of one or more attributes was less than the minimum or more than
the maximum.
[EPERM] The user lacks the authorization
hpux.network.config, which is required for this
operation.
[EACCES] Attempt to set a read-only attribute.
[ENXIO] The target interface could not be accessed.
[ENOMEM] Memory allocation failed. This could be a transient condition.
[EBUSY] The interface is presently inaccessible. This is usually because the interface is part of an
APA aggregate, which prevents setting attributes on the interface.
EXAMPLES
List all LAN interfaces in the system:
nwmgr -C lan
Display the speed and MTU of the iexgbe interface lan1:
nwmgr -A speed,mtu -c lan1
Display all attributes of the iexgbe interface lan1:
nwmgr -A all -c lan1
Set MTU to 9000 and enable transmit CKO on lan1:
nwmgr -s -A mtu=9000,tx_cko=on -c lan1
6 Hewlett-Packard Company 6 HP-UX 11i Version 3: March 2011