beautypg.com

Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 54

background image

Teledyne LeCroy

PETrainer Scripting Language

49


CMD_ACTION_DROP_CMD

N/A

Applies to NVMe commands:

-

Don’t read and
execute the
command upon the
doorbell write

PersistsThroughC
ontrollerReset

Yes/No

No

If set to “No”, a controller
reset to the NVMe Drive
emulator from the host clears
this error injection. If “Yes”,
error injection stays active

ErrorCount

Number

1

Number of times to assert this
error injection

ControllerReg

Address

0

Used for
NVME_DRV_ERR_REGISTE
R error injection only.
Specifies the address of the
register to apply the injection
to

QueueID

Number

0

Used for
NVME_DRV_ERR_COMPLE
TION and
NVME_DRV_ERR_COMMAN
D error injections. Specifies
the number of admin (0) or IO
queue to apply this error
injection on

RegisterData

Number or Timeout

0

Used for
NVME_DRV_ERR_REGISTE
R error injection. Specifies the
value to return upon a read
from the register instead of
the real value. A special value
of 0xFFFFFFFF specifies
Timeout error injection – a
completion with data will not
be returned upon a read from
the register.
Also used for the
CPL_ACTION_CORRUPT_S
TATUS error injection to
specify the value to be
returned in the command
status field