Users Guide

Table Of Contents
Broadcom DRVVM-UG128-100
104
Emulex Drivers for VMware ESXi User Guide
B.2 Enabling BlockGuard
BlockGuard is disabled by default. To enable it, the parameter lpfc_enable_bg must be passed to the driver as follows:
esxcli system module parameters set -m lpfc -p "lpfc_enable_bg=1"
Additional module parameters can be added to this line, separated by spaces.
B.3 SCSI Command Support – SCSI Operation Codes
When there are both READ and WRITE requests, the CDB passed to the adapter from the initiator host has a read protect/
write protect (RDPROTECT/WRPROTECT) field that indicates to the target whether to perform data integrity verification. It also
indicates whether to transfer protection data between the initiator and the target. The adapter does not know if a target
supports protection information or the type of protection with which it has been formatted. The initiator host, which has this
knowledge, will always prepare a CDB with the appropriate RDPROTECT/WRPROTECT information, depending on the target
format and capabilities. The request also includes information about the protection type with which the target has been
formatted.
In addition, the initiator host will also provide the adapter with an operation code that tells the controller how to place the
protection data for the type of I/O to perform. Each I/O is logically a two-step process. The data is transferred between the
initiator host and the adapter (over the PCI bus) and between the adapter and the target (over the SAN) as shown in the
following figure. The type of operation defines whether the data transfer has protection data.
Figure 2: Data Transfer between the Initiator Host and the Adapter
The initiator operations are listed in the following table.
Table 12: Initiator Operations
Initiator Operation Initiator Host <-> Adapter Adapter <-> Target Comment
NORMAL Unprotected Unprotected Used for unprotected I/O.
READ_INSERT Protected Unprotected Reads the data from the target. The adapter then
generates the protection data and transfers both data
and protection data to the initiator host. No protection
data is sent on the SAN. The adapter can insert the
protection data Guard tag as a CRC or an IP checksum.
READ_PASS Protected Protected Reads the data and the protection data from the target
on the
SAN. The adapter verifies data integrity and
transfers both data and the protection data to the initiator
host. The adapter can convert the protection data Guard
tag from CRC to IP checksum.