Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2015 00:34:58 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r290732 - projects/cxl_iscsi/sys/dev/cxgbe/tom
Message-ID:  <201511130034.tAD0YwlF045631@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511130034.tAD0YwlF045631>