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.

MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on Aug 30 2024, 12:23 AM
Parents
rG28294dc92476: Revert "ipsec: Drain async ipsec_offload work when destroying a vnet"
Branches
Unknown
Tags
Unknown