Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2021 04:19:32 GMT
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 53c17de2b472 - main - cxgbe/t4_tom: Use stale L2T entry and avoid busy-waiting for resolution. MFC after:	1 week Sponsored by:	Chelsio Communications
Message-ID:  <202109090419.1894JW5R009782@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by np:

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

commit 53c17de2b472c5c4982d5a020268ad3098241498
Author:     Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2021-09-09 03:46:42 +0000
Commit:     Navdeep Parhar <np@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 */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109090419.1894JW5R009782>