HomeFreeBSD

MFC r312881:

Description

MFC r312881:
Add support for device surprise removal and other PCI errors.

  • When device disappears from PCI indicate error device state and:
    1. Trigger command completion for all pending commands
    2. Prevent new commands from executing and return:
      • success for modify and remove/cleanup commands
      • failure for create/query commands
    3. When reclaiming pages for a device in error state don't ask FW to return all given pages, just release the allocated memory

Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS322148: MFC r312881:
Branches
Unknown
Tags
Unknown