From nobody Thu Oct 29 06:48:59 2026 X-Original-To: dev-commits-src-all@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 4jFZZj1PZLz6xvZC for ; Thu, 29 Oct 2026 06:49:01 +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 4jFZZh0fc2z3R67 for ; Thu, 29 Oct 2026 06:49:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793256540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VxBaoz3iR/ZHaLYnAP9Gu871wr3qrNiDtWCXHyKsOIc=; b=FwftQS0RibysRkZnYCXE9sYkS5A+CPNBbYt2VoShNoEqHNkkqMJ9RGTkQ70K5pjrk8HSfc k7uel3B81wUac8GKOPbOTTgevG/8FjGbIQSIhWplg+dGJe+eDs/AomdfcFv8QHtbbXzRCd t7QwtQc+LOUW3iev2M3l5+WUB8hsomdnusFetpz7SQwLwTFUR382v7a3Rgs7Uedj5a8O00 qABwVhQAmNtUBkkC7B0LUDNhJk1uwc3xDFQ21JfZ0+VN1BP7F9Pll9ZRb4rv5DV7IOZCIi 5de934cdThkacLpSYrX+DAt37J+JXmEb+YspBde3EeOfYuOJMN3GIXiZbC33Ng== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793256540; b=Q+UOo6+HEv8DG3rVLeLfZw6XWkpoW3mEbih1qyOGBUtMk6GoSE09ZsvND+Jj7ndolB5Jua Nj4N5t3/g2u5vIiF/Rx6CCxJf4pO2AnGHFra7sduXGOPFZFRq2JjJhxN4Vxwdl5bWzBIFa dvPSsnnFSXx0sgtyVq/c6ghCSlpiP0rNyXBeJxSlmttDwFRKfoOF0ScpEaAbf4biydMUQy Eh9qU9M2c0/n1M6IZajr1ouJvnkMYWmFz7tQjM3JoTCJORHcxet4KJa6T76uaYknJcx3MU hYeKt9QSIo9Oo+X8qdoHwSDWmRSrLkmPLpkM7ZHVqFH5SkMkw7g6dOfL+W0LlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793256540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VxBaoz3iR/ZHaLYnAP9Gu871wr3qrNiDtWCXHyKsOIc=; b=YPGHvhas03AsD2brFQHXxiSaaudT+iBdH+9rAhwGjQhno6OS3Ii0wHnHZx8ReGi/r3sOjh je7kbbhDzUrqrTIi97V3DaxI0jipW9zW/SdDYZFsuxQAYwFd8ntDOXYBs8PM3glpGDQoSK Pfi0BGs78/f7CNVTqkM56tdf4Ht6MklAR4f2dlu1j2WE8km7o106v6+Io8ycXbqVWNHNfT Xa5BfOBGn4PUY9W+mFXQEEICIqdiYIiwpos1McdWB9m33IOq/SrYeqOF2Zi6ZLssBCSzJZ HdyACpgQqd5VG7dMhpoObLsRR5YpkbTPCsSfrAe6hV7Ydhuoi3Sovx2OluET7w== 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 4jFZZg6x8DzS59 for ; Thu, 29 Oct 2026 06:48:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3de50 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 29 Oct 2026 06:48:59 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: bffb71bd888d - stable/15 - oce: Use the common RSS key List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the 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: bffb71bd888d18ebae43358739abfbaba30e1f3e Auto-Submitted: auto-generated Date: Thu, 29 Oct 2026 06:48:59 +0000 Message-Id: <6ae2ec5b.3de50.265ce67c@gitrepo.freebsd.org> The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=bffb71bd888d18ebae43358739abfbaba30e1f3e commit bffb71bd888d18ebae43358739abfbaba30e1f3e Author: Kevin Bowling AuthorDate: 2026-09-18 08:29:19 +0000 Commit: Kevin Bowling CommitDate: 2026-10-29 06:46:47 +0000 oce: Use the common RSS key Fill the RSS configuration request with the common 40-byte key instead of fresh random bytes. Preserve the mailbox representation, hash selection, and indirection table. Reviewed by: gallatin Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D59797 (cherry picked from commit fd74d1e83e18b8f014d8fcc7b61f2e9461512dca) --- sys/dev/oce/oce_mbox.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/dev/oce/oce_mbox.c b/sys/dev/oce/oce_mbox.c index f24271ed65ae..2aaf329ffb45 100644 --- a/sys/dev/oce/oce_mbox.c +++ b/sys/dev/oce/oce_mbox.c @@ -40,6 +40,7 @@ #include "oce_if.h" +#include int oce_wait_ready(POCE_SOFTC sc) @@ -846,7 +847,9 @@ oce_config_nic_rss(POCE_SOFTC sc, uint32_t if_id, uint16_t enable_rss) fwcmd->params.req.if_id = LE_32(if_id); - read_random(fwcmd->params.req.hash, sizeof(fwcmd->params.req.hash)); + _Static_assert(sizeof(fwcmd->params.req.hash) == RSS_KEYSIZE, + "RSS key size mismatch"); + rss_getkey((uint8_t *)fwcmd->params.req.hash); rc = oce_rss_itbl_init(sc, fwcmd); if (rc == 0) {