Linux NIC Driver Management Applications: QLogic QME8242 Mezzanine Card User's Guide
ethtool Utility
Use the ethtool utility to view adapter statistics and configure interface options. For additional details, refer to qlcnic driver
man page and ethtool man page.
Examples:
To disable transmit segmentation offload, issue the following command, where [n] represents a numerical value for a specific
instance:
ethtool -K eth[n] tso off
To list interface statistics, issue the following command, where [n] represents a numerical value for a specific instance:
ethtool –S eth[n]
Sample Output 1:
ethtool -S eth8
NIC statistics:
xmit_called: 6
xmit_finished: 6
rx_dropped: 0
tx_dropped: 0
csummed: 0
rx_pkts: 0
lro_pkts: 0
rx_bytes: 0
tx_bytes: 468
lrobytes: 0
lso_frames: 0
xmit_on: 0
xmit_off: 0
skb_alloc_failure: 0
null skb: 0
null rxbuf: 0
rx dma map error: 0
In the following example, ethtool eth[n] lists interface settings
Sample Output 2:
Ethtool eth8
Settings for eth8:
Supported ports: [ TP FIBRE ]
Supported link modes:
Supports auto-negotiation: No
Advertised link modes:
Advertised auto-negotiation: No
Speed: 10000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 1
Transceiver: external
Auto-negotiation: off
Supports Wake-on: g
Wake-on: g
Current message level: 0x00000000 (0)
Link detected: yes
phantomcore Utility
Use the phantomcore utility to collect a firmware dump that is useful for forwarding to QLogic Support.
To collect a firmware dump:
1. To turn off auto recovery in the driver, issue the following command:
insmod qlcnic.ko auto_fw_reset=0
2. To collect the firmware dump, issue the following command:
phantomcore -i <interface name>
The utility generates a core file that contains the firmware dump.
Please read all
restrictions and
file:///T|/htdocs/NETWORK/QLogic/71922/en/lnxdrivr.htm[9/26/2012 4:26:08 PM]
All manuals and user guides at all-guides.com
10000baseT/Full
disclaimers.