The branch main has been updated by np:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=53c17de2b472c5c4982d5a020268ad3098241498

commit 53c17de2b472c5c4982d5a020268ad3098241498
Author:     Navdeep Parhar <n...@freebsd.org>
AuthorDate: 2021-09-09 03:46:42 +0000
Commit:     Navdeep Parhar <n...@freebsd.org>
CommitDate: 2021-09-09 03:55:47 +0000

    cxgbe/t4_tom: Use stale L2T entry and avoid busy-waiting for resolution.
    MFC after:      1 week
    Sponsored by:   Chelsio Communications
---
 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 */
 
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to