git: 0c6468d6301f - stable/15 - em: remove M_HASHTYPE when RSS is not enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Oct 2026 06:57:12 UTC
The branch stable/15 has been updated by kbowling:
URL: https://cgit.FreeBSD.org/src/commit/?id=0c6468d6301fe6920db71ade10645d0ff7999f69
commit 0c6468d6301fe6920db71ade10645d0ff7999f69
Author: Cheng Cui <cc@FreeBSD.org>
AuthorDate: 2026-02-05 21:12:15 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-10-29 06:54:44 +0000
em: remove M_HASHTYPE when RSS is not enabled
Summary:
Since "73fe85e486d2 tcp: store flowid info in syncache", inp_flowid can be set
if the incoming packet is not M_HASHTYPE_NONE. But this can introduce dummy
and duplicated flowid when a virtual interface set M_HASHTYPE_OPAQUE. This
change will let the upper layer know how to deal with software hash, with
benefits like inp_flowid can be set correctly and m_pkthdr.flowid can be set
correctly in output path.
This fix is similar to "20285cad7a55"
Reviewed by: kbowling
Differential Revision: https://reviews.freebsd.org/D55137
(cherry picked from commit efcc0423d80e4048e11e997abc46bd0343537e1b)
---
sys/dev/e1000/em_txrx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/e1000/em_txrx.c b/sys/dev/e1000/em_txrx.c
index b2a877281e68..927dd9df8cb9 100644
--- a/sys/dev/e1000/em_txrx.c
+++ b/sys/dev/e1000/em_txrx.c
@@ -867,6 +867,6 @@ em_determine_rsstype(uint32_t pkt_info)
case E1000_RXDADV_RSSTYPE_IPV6_UDP_EX:
return M_HASHTYPE_RSS_UDP_IPV6_EX;
default:
- return M_HASHTYPE_OPAQUE;
+ return M_HASHTYPE_NONE;
}
}