HomeFreeBSD

cxgbei: Don't fail task setup if the socket is disconnected.

Description

cxgbei: Don't fail task setup if the socket is disconnected.

When the initiator is reconnecting to the target, the connection may
temporarily be marked disconnected or not have an associated socket.
New I/O requests received by the initiator in this state should not
fail with ECONNRESET as that results in an I/O error back to userland.
Instead, they need to still succeed so that CAM can queue the requests
and send them once the connection is re-established.

Setting up DDP for zero-copy receive requires a socket, so just punt
on using DDP for these transfers.

Reported by: Jithesh Arakkan @ Chelsio
Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on Dec 22 2021, 8:53 PM
Parents
rGc583b0258728: [PowerPC] PowerMac timebase sync for G4
Branches
Unknown
Tags
Unknown