Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2021 15:19:22 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 5955e8b93ece - stable/13 - mlx5: cqe64: update the tunneled bit name with recent PRM
Message-ID:  <202107261519.16QFJMPn025275@gitrepo.freebsd.org>

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

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

commit 5955e8b93ece64cb1f95d9c037c209eacfc77e10
Author:     Konstantin Belousov <konstantinb@nvidia.com>
AuthorDate: 2021-04-06 03:23:22 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-07-26 13:51:09 +0000

    mlx5: cqe64: update the tunneled bit name with recent PRM
    
    (cherry picked from commit c8bdc78be19da5443c9186fa2fdb6e9427795565)
---
 sys/dev/mlx5/device.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys/dev/mlx5/device.h b/sys/dev/mlx5/device.h
index 69057d5f2470..64d4ed87d58f 100644
--- a/sys/dev/mlx5/device.h
+++ b/sys/dev/mlx5/device.h
@@ -662,8 +662,9 @@ struct mlx5_err_cqe {
 };
 
 struct mlx5_cqe64 {
-	u8		tunneled_etc;
-	u8		rsvd0[3];
+	u8		tls_outer_l3_tunneled;
+	u8		rsvd0;
+	__be16		wqe_id;
 	u8		lro_tcppsh_abort_dupack;
 	u8		lro_min_ttl;
 	__be16		lro_tcp_win;
@@ -724,7 +725,7 @@ static inline bool cqe_has_vlan(struct mlx5_cqe64 *cqe)
 
 static inline bool cqe_is_tunneled(struct mlx5_cqe64 *cqe)
 {
-	return cqe->tunneled_etc & 0x1;
+	return cqe->tls_outer_l3_tunneled & 0x1;
 }
 
 enum {



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