Added support for NVMe Task Management
Following list of changes done in the driver as a part of TM handling on the NVMe drives.
Below changes are only applicable on NVMe drives and only when custom NVMe TM handling bit is set to zero by IOC.
- Issue LUN reset & Target reset TMs with Target reset method field set to Protocol Level reset (0x3),
- For LUN & target reset TMs use the timeout value as ControllerResetTO value provided by firmware using PCie Device Page 0,
- If LUN reset fails to terminates the IO then directly escalate to host reset instead of going for target reset TM,
- For Abort TM use the timeout value as NVMeAbortTO value given by the IOC using Manufacturing Page 11,
- Log message "PCie Host Reset failed" message up on receiving P
Submitted by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Reviewed by: Kashyap Desai <Kashyap.Desai@broadcom.com>
Approved by: ken
MFC after: 3 days
Sponsored by: Broadcom Inc