cxgbe/t4_tom: Use stale L2T entry and avoid busy-waiting for resolution.

MFC after:	1 week
Sponsored by:	Chelsio Communications
This commit is contained in:
Navdeep Parhar 2021-09-08 20:46:42 -07:00
parent f1c8811d2d
commit 53c17de2b4

View File

@ -271,8 +271,7 @@ t4_l2t_send_slow(struct adapter *sc, struct wrqe *wr, struct l2t_entry *e)
switch (e->state) {
case L2T_STATE_STALE: /* entry is stale, kick off revalidation */
if (resolve_entry(sc, e) != EWOULDBLOCK)
goto again; /* entry updated, re-examine state */
resolve_entry(sc, e);
/* Fall through */