Users Guide
Table Of Contents
- Table of Contents
- Preface
- Part I General CLI Information
- Part II Noninteractive Commands
- 4 General Noninteractive Commands
- 5 Fibre Channel Noninteractive Commands
- Displaying System Information (Command Line Options -g, -z)
- Command Format
- Command Summary
- -a
- -b (Flash Update; Save Flash)
- -bbcr (BB Credit Recovery)
- -c (Display HBA Parameters)
- -ctp (CT Ping Test)
- -d (Driver Update)
- -dm (Transceiver Diagnostics Monitoring Interface [DMI])
- -dp (Diagnostic Port Test)
- -dport (Diagnostics Port)
- -e (Boot Devices Configuration)
- -ei
- -f
- -fcep (Diagnostics FC Ping [ELS Echo Ping])
- -fcp (Ping Test)
- -fec (FEC Enable/Disable)
- -fg (Display Driver Persistent Binding Settings)
- -ftr (CT FTR Test)
- -fs (Driver Parameters)
- -fwdump (Firmware Dump)
- -g
- -gs (Configure Parameters [Monitoring])
- -h (Help)
- -ha (Adapter Alias [FCoE Configuration])
- -i (FC Adapter Information; FC VPD Information; FC VFC Information)
- -kl (Loopback Test)
- -kr (Read Write Buffer Test)
- -l (FC Target/LUN Information)
- -ls (Display Parameters [HBA Statistics]; Link Status)
- -m (Selective LUNs)
- -mbiv (Flash/MBI Information)
- -n (Configure HBA Parameters)
- -o (Redirect Standard Output To a File)
- -p (Target Persistent Bindings)
- -pa (Adapter Port Alias [FCoE Configuration])
- -pc (Adapter Personality Change)
- -pl (Persistent Names [udev] – Linux only)
- -q (Target Link Speed [iiDMA])
- -qos (Quality of Service [QoS])
- -r (Parameters Update; Save HBA Parameters)
- -rdp (Read Diagnostics Parameter)
- -s (Suppress Output [Silent Mode])
- -scm (Congestion Management)
- -sp (FC Board Config Update)
- -t (FC Target/LUN Information)
- -tb (Target Beacon)
- -tm (Temperature Monitor)
- -tp (Topology)
- -trace (FCE Trace)
- -u (Firmware Preload Table Update)
- -v (QCC CLI Version Information)
- -vp (Virtual Ports [NPIV])
- -x (XML Output [Legacy])
- -x2 (XML Output)
- -z (All Information)
- Part III Interactive Commands
- 6 Fibre Channel Interactive Commands
- Adapter Information
- Adapter Configuration
- Adapter Alias (-ha)
- Adapter Port Alias (-pa)
- HBA Parameters
- Target Persistent Binding (-p)
- Persistent Names (-pl)
- Boot Devices Configuration
- Virtual Ports (NPIV) (-vp)
- Target Link Speed (iiDMA)) (-q)
- Driver Parameters (-fs)
- Selective LUNs (-m)
- Quality of Service (QoS) (-qos)
- Export (Save) Configuration
- Generate Reports
- Personality (-pc)
- FEC (-fec)
- BB Credit Recovery (-bbcr)
- Adapter Updates
- Adapter Diagnostics
- Monitoring
- Refresh
- Help (-h)
- Exit
- A Revision History
- 6 Fibre Channel Interactive Commands
- Glossary
5–Fibre Channel Noninteractive Commands
-kr (Read Write Buffer Test)
Doc. No. TD-000947 Rev. 1
Janurary 29, 2021 Page 62 Copyright © 2021 Marvell
See “Running a Read/Write Buffer Test” on page 62 for command line examples
and test results for a read/write buffer test.
Running a Read/Write Buffer Test
The read/write buffer test runs on all devices or on the devices you select on the
adapter you select. This test sends the SCSI Write Buffer command to the target
devices and uses the SCSI Read Buffer command to read the returned data and
do a data comparison.
To run a read/write buffer test using the current parameters, issue the following command
:
qaucli -pr fc -kr <hba instance>|<hba wwpn>
To exclude a device or devices on the selected adapter port, issue the following command
:
qaucli -pr fc -kr <hba instance>|<hba wwpn> [-ex|-exclude
<target wwpn>] [<param name>|<param alias> <param value>]
The following examples run 500 read/write buffer tests with a test increment of 10,
a data pattern of FFh, and a data size of 8 bytes. The test stops if an error occurs.
qaucli -pr fc -kr <hba instance> DP FF DS 8 TC 500 TI 10 OE 1
qaucli -pr fc -kr <hba wwpn> DP FF DS 8 TC 500 TI 10 OE 1
To use the current value of a parameter, omit the parameter from the command
line. For example, the following command sets the data pattern to FFh and uses
the current values for the other parameters:
qaucli -pr fc -kr <hba instance> DP FF
The following example sets the data size to 16 bytes and has the test loop if an
error occurs; the other parameters use the current values:
qaucli -pr fc -kr <hba wwpn> DS 16 OE 2
<param alias> = One of the following parameter aliases:
DP
DS
TC
TI
OE
<param value> = Parameter or alias value (see Table 5-6 on page 64)
NOTE
All devices attached to the adapter must support the SCSI Read/Write Buffer
commands.