svn commit: r290732 - projects/cxl_iscsi/sys/dev/cxgbe/tom
Navdeep Parhar
np at FreeBSD.org
Fri Nov 13 00:34:59 UTC 2015
Author: np
Date: Fri Nov 13 00:34:57 2015
New Revision: 290732
URL: https://svnweb.freebsd.org/changeset/base/290732
Log:
cxgbe/tom: consider all tx credits returned when the final CPL for
a tid is received and purge ulp_pdu_reclaimq.
Modified:
projects/cxl_iscsi/sys/dev/cxgbe/tom/t4_tom.c
Modified: projects/cxl_iscsi/sys/dev/cxgbe/tom/t4_tom.c
==============================================================================
--- projects/cxl_iscsi/sys/dev/cxgbe/tom/t4_tom.c Thu Nov 12 23:49:47 2015 (r290731)
+++ projects/cxl_iscsi/sys/dev/cxgbe/tom/t4_tom.c Fri Nov 13 00:34:57 2015 (r290732)
@@ -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);
More information about the svn-src-projects
mailing list