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
This commit is contained in:
Navdeep Parhar 2019-06-28 19:27:45 +00:00
parent fab66680b3
commit 74a155edb0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349514

View File

@ -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);