nwmgr_ixgbe.1m (2010 09)

n
nwmgr_ixgbe(1M) nwmgr_ixgbe(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 GigE card provides four link-utilization ranges, corresponding frame counts, and also a timer.
Based on the utilization range, an interrupt will be generated after a specified number of frames have
been processed by the card. The link utilization ranges and the frame counts are programmable. You can
specify three range limits for transmit (
tx_r1
, tx_r2, and tx_r3) and receive (rx_r1, rx_r2, and
rx_r3) that provide four utilization ranges as indicated below. Please note that the link utilization is
expressed as a percentage. Corresponding to each range, we have frame counts:
For transmit:
tx_frc_a, tx_frc_b, tx_frc_c, tx_frc_d, and
For receive:
rx_frc_a, rx_frc_b, rx_frc_c, rx_frc_d.
Here are the ranges (only transmit shown, receive would be the same):
Range-A 0 - tx_r1% tx_frc_a
Range-B tx_r1 - tx_r2% tx_frc_b
Range-C tx_r2 - tx_r3% tx_frc_c
Range-D tx_r3 - 100% tx_frc_d
For the frame counts, the range of values is {0 - 65535}.
The timer value is expressed in microseconds and can be in the range {0 - 32000000}. When the value is
zero, interrupts are disabled. The default values are:
For transmit Interrupt Coalescing:
Link util: 0-5 5-25 25-70 70-100
Frame Count: 32 256 512 512
Timer: 225000
For Receive Interrupt Coalescing:
Link util: 0-5 5-25 25-70 70-100
Frame Count: 1 64 128 512
Timer: 0
The above values can be set with the following commands:
nwmgr -s -A tx_r1=5, tx_r2=25, tx_r3=70, tx_frc_a=32, tx_frc_b=256,
tx_frc_c=512, tx_frc_d=512, tx_timer=225000 -c lanPPA
nwmgr -s -A rx_r1=5, rx_r2=25, rx_r3=70, rx_frc_a=1, rx_frc_b=64,
rx_frc_c=128, rx_frc_d=512, rx_timer=0 -c lanPPA
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.
8 Hewlett-Packard Company 8 HP-UX 11i Version 3: September 2010