Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2021 00:04:58 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: d107ee06f3e3 - main - cxgbe(4): RSS hash for VXLAN traffic is computed from the inner frame.
Message-ID:  <202104140004.13E04wls085872@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=d107ee06f3e3c15fe119ea01b120d11bf87ef9f0

commit d107ee06f3e3c15fe119ea01b120d11bf87ef9f0
Author:     Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2021-04-13 23:50:12 +0000
Commit:     Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2021-04-13 23:50:12 +0000

    cxgbe(4): RSS hash for VXLAN traffic is computed from the inner frame.
    
    Sponsored by:   Chelsio Communications
---
 sys/dev/cxgbe/t4_sge.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c
index 2c7e8f348331..68b5ed812096 100644
--- a/sys/dev/cxgbe/t4_sge.c
+++ b/sys/dev/cxgbe/t4_sge.c
@@ -2072,6 +2072,8 @@ have_mbuf:
 			rxq->rxcsum++;
 		} else {
 			MPASS(tnl_type == RX_PKT_TNL_TYPE_VXLAN);
+
+			M_HASHTYPE_SETINNER(m0);
 			if (__predict_false(cpl->ip_frag)) {
 				/*
 				 * csum_data is for the inner frame (which is an



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