]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Install a handler for firmware work request error messages.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 22 Jul 2016 21:52:07 +0000 (21:52 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 22 Jul 2016 21:52:07 +0000 (21:52 +0000)
commit069af0eb14e67553e5176b15782a9850a64b3885
tree1ae55c6b0b25aeaeeb12eec2d75d04053ee95ae6
parent879e0b3e70f99c8465a2907c671b51d35203446a
Install a handler for firmware work request error messages.

If a driver sends an malformed or disallowed work request, the firmware
responds with a work request error.  Previously the driver treated this is
as an unexpected message and panicked.  Now it decodes the error message
to aid in debugging.

Reviewed by: np (older version)
MFC after: 1 month
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D6950
sys/dev/cxgbe/t4_sge.c