opnsense-src/sys/dev/cxgbe/iw_cxgbe
Navdeep Parhar c7550138e5 cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped.
Stop allocating new resources when the RNIC is stopped but continue to
allow previously allocated resources to be freed.  Note that t4_tom's
uld_stop tears down all TOE connections, including those being used for
iWARP, and that triggers the cleanup of iWARP resources.

Fail post_send/post_recv early too to avoid the SQ doorbell.

Sponsored by:	Chelsio Communications

(cherry picked from commit 9fdb683d92b36cbd20bbd8d61f0c1138f8348dd4)
2024-10-21 10:08:56 -07:00
..
cm.c cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped. 2024-10-21 10:08:56 -07:00
cq.c cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped. 2024-10-21 10:08:56 -07:00
device.c cxgbe/iw_cxgbe: Replace the fatal error flag with a stopped flag. 2024-10-21 10:07:49 -07:00
ev.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
id_table.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
iw_cxgbe.h cxgbe/iw_cxgbe: Replace the fatal error flag with a stopped flag. 2024-10-21 10:07:49 -07:00
mem.c cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped. 2024-10-21 10:08:56 -07:00
provider.c cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped. 2024-10-21 10:08:56 -07:00
qp.c cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped. 2024-10-21 10:08:56 -07:00
resource.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
t4.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
user.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00