]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): Fix an incorrect assert.
authorNavdeep Parhar <np@FreeBSD.org>
Thu, 27 May 2021 02:18:42 +0000 (19:18 -0700)
committerNavdeep Parhar <np@FreeBSD.org>
Thu, 27 May 2021 05:57:06 +0000 (22:57 -0700)
commit5ef87bf8b687575bee010967e23cd2c552b43ad9
treeadb8bb02d14efe28dab8e793fbbc1c42d9361b2c
parent740d722def71905dd74a622acce1561701ccbec6
cxgbe(4): Fix an incorrect assert.

CTRL and OFLD tx queues do not have automatic tx credit flush enabled so
it is okay for the cidx not to be the same as the pidx when the queue is
destroyed.

Reported by: Jithesh Arakkan @ Chelsio
MFC after: 1 week
Sponsored by: Chelsio Communications
sys/dev/cxgbe/t4_sge.c