The branch stable/13 has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=e058d44fda32582ae7445e400f7c385953435064
commit e058d44fda32582ae7445e400f7c385953435064 Author: Navdeep Parhar <n...@freebsd.org> AuthorDate: 2021-09-09 03:46:42 +0000 Commit: Navdeep Parhar <n...@freebsd.org> CommitDate: 2021-10-20 17:50:42 +0000 cxgbe/t4_tom: Use stale L2T entry and avoid busy-waiting for resolution. Sponsored by: Chelsio Communications (cherry picked from commit 53c17de2b472c5c4982d5a020268ad3098241498) --- sys/dev/cxgbe/tom/t4_tom_l2t.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/cxgbe/tom/t4_tom_l2t.c b/sys/dev/cxgbe/tom/t4_tom_l2t.c index 682c99840dcd..1d094c30d25e 100644 --- a/sys/dev/cxgbe/tom/t4_tom_l2t.c +++ b/sys/dev/cxgbe/tom/t4_tom_l2t.c @@ -271,8 +271,7 @@ again: 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 */