freebsd-dev/sys/dev/mpr
Kashyap D Desai 89d1c21f45 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.

1. Issue LUN reset & Target reset TMs with Target reset method field set to Protocol Level reset (0x3),
2. For LUN & target reset TMs use the timeout value as ControllerResetTO value provided by firmware using PCie Device Page 0,
3. If LUN reset fails to terminates the IO then directly escalate to host reset instead of going for target reset TM,
4. For Abort TM use the timeout value as NVMeAbortTO value given by the IOC using Manufacturing Page 11,
5. 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
2018-12-26 10:40:27 +00:00
..
mpi Update MPI header files version to 2.00.52 from 2.00.48 2018-12-26 10:38:12 +00:00
mpr_config.c Added support for NVMe Task Management 2018-12-26 10:40:27 +00:00
mpr_ioctl.h Update mpr(4) driver from v15 to v18 from Broadcom site. 2018-03-19 23:21:45 +00:00
mpr_mapping.c Clean enclosure_table when resetting num_enc_table_entries to zero. 2018-05-02 02:41:09 +00:00
mpr_mapping.h Add tri-mode support (SAS/SATA/PCIe). 2017-05-17 21:33:37 +00:00
mpr_pci.c Add PNP info to PCI attachments of cbb, cxgb, ida, iwn, ixl, ixlv, 2018-09-26 17:12:30 +00:00
mpr_sas_lsi.c Added support for NVMe Task Management 2018-12-26 10:40:27 +00:00
mpr_sas.c Added support for NVMe Task Management 2018-12-26 10:40:27 +00:00
mpr_sas.h Added support for NVMe Task Management 2018-12-26 10:40:27 +00:00
mpr_table.c Convert some in-line printing of diagnostic into tables. 2017-09-09 22:02:36 +00:00
mpr_table.h Convert some in-line printing of diagnostic into tables. 2017-09-09 22:02:36 +00:00
mpr_user.c Copy back the Sense data at proper location expected by the application 2018-12-26 10:39:22 +00:00
mpr.c mps(4), mpr(4): remove SATA ID command cancellation hack 2018-12-21 20:30:52 +00:00
mprvar.h Added support for NVMe Task Management 2018-12-26 10:40:27 +00:00