git: 53c17de2b472 - main - cxgbe/t4_tom: Use stale L2T entry and avoid busy-waiting for resolution. MFC after: 1 week Sponsored by: Chelsio Communications

Navdeep Parhar np at FreeBSD.org
Thu Sep 9 04:19:32 UTC 2021


The branch main has been updated by np:

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

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


More information about the dev-commits-src-main mailing list