svn commit: r349514 - head/sys/dev/cxgbe/tom
Navdeep Parhar
np at FreeBSD.org
Fri Jun 28 19:27:46 UTC 2019
Author: np
Date: Fri Jun 28 19:27:45 2019
New Revision: 349514
URL: https://svnweb.freebsd.org/changeset/base/349514
Log:
cxgbe/t4_tom: the AIO tx job queue must be empty by the time the driver
releases the offload resources associated with the tid.
Reviewed by: jhb@
MFC after: 1 week
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D20798
Modified:
head/sys/dev/cxgbe/tom/t4_tom.c
Modified: head/sys/dev/cxgbe/tom/t4_tom.c
==============================================================================
--- head/sys/dev/cxgbe/tom/t4_tom.c Fri Jun 28 18:48:02 2019 (r349513)
+++ head/sys/dev/cxgbe/tom/t4_tom.c Fri Jun 28 19:27:45 2019 (r349514)
@@ -294,6 +294,7 @@ release_offload_resources(struct toepcb *toep)
if (toep->ulp_mode == ULP_MODE_TCPDDP)
ddp_assert_empty(toep);
#endif
+ MPASS(TAILQ_EMPTY(&toep->aiotx_jobq));
if (toep->l2te)
t4_l2t_release(toep->l2te);
More information about the svn-src-all
mailing list