HomeFreeBSD

cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped.

Description

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)

Details

Provenance
npAuthored on Aug 30 2024, 12:23 AM
Parents
rG0366d0bd5028: cxgbe/iw_cxgbe: c4iw_connect should return a negative errno.
Branches
Unknown
Tags
Unknown