git: 8b8b659f39f3 - stable/13 - cxgbe(4): RSS hash for VXLAN traffic is computed from the inner frame.

Navdeep Parhar np at FreeBSD.org
Sun May 16 03:30:33 UTC 2021


The branch stable/13 has been updated by np:

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

commit 8b8b659f39f3b94a1e111418a4b75d1ed9c332d7
Author:     Navdeep Parhar <np at FreeBSD.org>
AuthorDate: 2021-04-13 23:50:12 +0000
Commit:     Navdeep Parhar <np at FreeBSD.org>
CommitDate: 2021-05-16 03:28:50 +0000

    cxgbe(4): RSS hash for VXLAN traffic is computed from the inner frame.
    
    Sponsored by:   Chelsio Communications
    
    (cherry picked from commit d107ee06f3e3c15fe119ea01b120d11bf87ef9f0)
---
 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


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