cxgbe/tom: consider all tx credits returned when the final CPL for

a tid is received and purge ulp_pdu_reclaimq.
This commit is contained in:
Navdeep Parhar 2015-11-13 00:34:57 +00:00
parent 4c51c89ecb
commit 0b563d5488
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/cxl_iscsi/; revision=290732

View File

@ -390,6 +390,7 @@ final_cpl_received(struct toepcb *toep)
toep->inp = NULL;
toep->flags &= ~TPF_CPL_PENDING;
mbufq_drain(&toep->ulp_pdu_reclaimq);
if (!(toep->flags & TPF_ATTACHED))
release_offload_resources(toep);