From nobody Thu Oct 29 06:35:04 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jFZGd2gKCz6xtHq for ; Thu, 29 Oct 2026 06:35:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jFZGc6Lhhz578l for ; Thu, 29 Oct 2026 06:35:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793255704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4V/WOCSyquhRQyNuaAO615ECaViLgOK4shBVZgbIbq4=; b=LRIaIpYZ7rLT8lsSnABfKPHReGssM5e8wBdqlDKLfo5krKeMXrLxpDRXTF5y8um7f3ucIO bup3bUFKJ12WeCPX3aWb6GH0qdCAM+CefeZlgnwuggjv5zfJk4Qk5/TzF7XzT10OClkpy3 JxWbqti4fl+NsS9DQyO36sZl++t9x5ExW+R+flloOLf0yNfjoBoqTyZ61HyJmXD9D3LeCZ XD17zVs5oZ9HsOcDsxD0Xcc8qlOoHoCn5+PAzWO8E4xQoTsVIZAokzm83D08Dz8toTKMjR jgPC04HNTALXkM80JmU2MAS+AMK+0F/np6ty/sxoj8WROMNDQxW5PhwimX3sFg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793255704; b=JBDA0/2jfLXVQ43LOjg0L8EH+dVrDcNoivsoue3hABkxdEuR0mu1IF46LiofjOlCcbXDFP P/LGlS5lk/nSiElNe8sp30PW8mGT4f8FG4fwcTYHjEOvseIZrP/LR5t2PoBvYMCsUr9iVj ve5WgyspuqVU1qCn6utXwCcHmecUOByeZUAQheFyXoH43upz+kocMcZgfij8+Fyf95RmqP HkLGClrCqSKzCxo1xMS0c8cTNPmIWcgtHhpmIdqN+l0YcLsfzLxP9tT84uN0J7/pNluqlP lqJAPNXbw2tFHPClkrf0KM1vbK8I7C/y+kXSVyvqMOuOr5t6EBT9I5uIPMq73w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793255704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4V/WOCSyquhRQyNuaAO615ECaViLgOK4shBVZgbIbq4=; b=KbLbsNTe7f7Qx222z9ZNltb4cAe3AssP6+RO37DBP3uNThmcO2ziTmu+VX94iWn91AOVK6 pj6+ZEoo626safzxjffGnKc6hkZFARANcC93Li+8d6ZB3B+IFIHU61lWNk8+6IQe3OeAmr CJJf5L1p3Orzap5YqsVVpEFmH2Kux8AguOK6cSQ5j35Hy8P75ewpdsKdjoIY/GPRC63qHB 1XbEq1+aW2u/h/2TxE/3K6Vs8PxJNL5L5uRVE1vQwDQJNAxCfmq7bD4mA79P28VHGtDPX1 XGftQMflmvCCi+ZSaZkzUB81T1BKJHick/LRV/OA6E2rIbH6lxKRMVwnWSqtpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jFZGc60nxzRmF for ; Thu, 29 Oct 2026 06:35:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3b6de by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 29 Oct 2026 06:35:04 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Andrew Gallatin From: Kevin Bowling Subject: git: 5cab3e16830f - stable/15 - ixgbe: Use newly exposed RSS hash API rather than ad-hoc hashing List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: Commits to the stable branches of the FreeBSD src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 5cab3e16830fc4536c0b0d7fac59ba09b8a1ca18 Auto-Submitted: auto-generated Date: Thu, 29 Oct 2026 06:35:04 +0000 Message-Id: <6ae2e918.3b6de.77616735@gitrepo.freebsd.org> The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=5cab3e16830fc4536c0b0d7fac59ba09b8a1ca18 commit 5cab3e16830fc4536c0b0d7fac59ba09b8a1ca18 Author: Andrew Gallatin AuthorDate: 2025-11-22 14:29:32 +0000 Commit: Kevin Bowling CommitDate: 2026-10-29 06:19:24 +0000 ixgbe: Use newly exposed RSS hash API rather than ad-hoc hashing Differential Revision: https://reviews.freebsd.org/D53093 Reviewed by: kbowling Sponsored by: Netflix (cherry picked from commit 5a14756a13635c988efcfb01f9a116901dbd455a) --- sys/dev/ixgbe/ixgbe_rss.h | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/sys/dev/ixgbe/ixgbe_rss.h b/sys/dev/ixgbe/ixgbe_rss.h index 84c802671195..6e02c5ec9ed5 100644 --- a/sys/dev/ixgbe/ixgbe_rss.h +++ b/sys/dev/ixgbe/ixgbe_rss.h @@ -34,30 +34,16 @@ #ifndef _IXGBE_RSS_H_ #define _IXGBE_RSS_H_ -#ifdef RSS - #include #include +#ifdef RSS +/* RSS CPU/bucket mapping functions - only available with options RSS */ #else - -#define RSS_HASHTYPE_RSS_IPV4 (1 << 1) -#define RSS_HASHTYPE_RSS_TCP_IPV4 (1 << 2) -#define RSS_HASHTYPE_RSS_IPV6 (1 << 3) -#define RSS_HASHTYPE_RSS_TCP_IPV6 (1 << 4) -#define RSS_HASHTYPE_RSS_IPV6_EX (1 << 5) -#define RSS_HASHTYPE_RSS_TCP_IPV6_EX (1 << 6) -#define RSS_HASHTYPE_RSS_UDP_IPV4 (1 << 7) -#define RSS_HASHTYPE_RSS_UDP_IPV4_EX (1 << 8) -#define RSS_HASHTYPE_RSS_UDP_IPV6 (1 << 9) -#define RSS_HASHTYPE_RSS_UDP_IPV6_EX (1 << 10) - +/* Stub CPU/bucket functions when RSS not configured */ #define rss_getcpu(_a) 0 #define rss_getnumbuckets() 1 -#define rss_getkey(_a) #define rss_get_indirection_to_bucket(_a) 0 -#define rss_gethashconfig() 0x7E #define rss_hash2bucket(_a,_b,_c) -1 - #endif #endif /* _IXGBE_RSS_H_ */