Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2021 17:52:31 GMT
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e058d44fda32 - stable/13 - cxgbe/t4_tom: Use stale L2T entry and avoid busy-waiting for resolution. Sponsored by:	Chelsio Communications
Message-ID:  <202110201752.19KHqVGE020630@gitrepo.freebsd.org>

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

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

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



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