Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2019 20:06:19 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349242 - head/sys/dev/cxgbe/tom
Message-ID:  <201906202006.x5KK6JIK007323@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Thu Jun 20 20:06:19 2019
New Revision: 349242
URL: https://svnweb.freebsd.org/changeset/base/349242

Log:
  cxgbe/t4_tom: DDP_DEAD is a ddp flag and not a toepcb flag.
  
  The driver was in effect setting TPF_ABORT_SHUTDOWN on the toepcb
  instead of what was intended.
  
  MFC after:	1 week
  Sponsored by:	Chelsio Communications

Modified:
  head/sys/dev/cxgbe/tom/t4_ddp.c

Modified: head/sys/dev/cxgbe/tom/t4_ddp.c
==============================================================================
--- head/sys/dev/cxgbe/tom/t4_ddp.c	Thu Jun 20 18:30:19 2019	(r349241)
+++ head/sys/dev/cxgbe/tom/t4_ddp.c	Thu Jun 20 20:06:19 2019	(r349242)
@@ -220,7 +220,7 @@ release_ddp_resources(struct toepcb *toep)
 	int i;
 
 	DDP_LOCK(toep);
-	toep->flags |= DDP_DEAD;
+	toep->ddp.flags |= DDP_DEAD;
 	for (i = 0; i < nitems(toep->ddp.db); i++) {
 		free_ddp_buffer(toep->td, &toep->ddp.db[i]);
 	}



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