From nobody Wed Nov 13 15:50:16 2024 X-Original-To: net@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 4XpSRD0sYDz5dkyp for ; Wed, 13 Nov 2024 15:50:16 +0000 (UTC) (envelope-from bugzilla-noreply@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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XpSRC6wJZz4ymx for ; Wed, 13 Nov 2024 15:50:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731513016; 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: in-reply-to:in-reply-to:references:references; bh=TKTqh7gwDfMqiXtJq+rA7/dtut64+plOJfKBTxWy6JM=; b=DpWtSKOtEhGQuvoQM1gAUpLCJ+dq3AWM19+Gt0RR6m7ZAkfy7ZQ0Qt9qeU1qKytwxjnsFQ O8DMHRhoy9P2tKP57+8c2AmBXHPdp5K2jFMPnJH78+Hjm/BC5PuRfgqfhgCF3zTcTHpx+6 F/Hor4cawnI67xbSuN+bl0nzVQ01qpyfXywDh6Vgttw6uVFPQEX7uxZTLJtob09VGfSgNK /BLhWwx8A9fdOa6j0YjVeif0LtZnSMffl3hwxnpUrOF1xDn02hOg9XUOGvwj+SSFT2FZs9 8Ax+EaurzFMagNmw8nzi1ri4hG0V12V17fEnmzIQ8oS1HBND6oKmcbbE/zCwww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731513016; a=rsa-sha256; cv=none; b=BqfdH3RrhMwdcmtyw4MVNaBzeBRWFWrQvzijcTR5UjfMMWZBhXvj1t3jItoH3ZdV9TAPZe 7q3kDaZPSBq9hUjml4HL88lNY2Ap9VD9zlqWJcaZBkLNCg5p5b8wG+bN4RXgAmM6fKJMuE wXsLx94urJPh3D5uFh9z1mZVQOi5zOH4z8BHFuQG40QLP09cBnd5E5o56cAMOEc5LpNm4j Dnm347/gn9IyPDVdbtlz1QQC4AelWX1SORy+RpXObmXvvl9aVCnbU9CBOgfH0a+tipTMz1 WxwyRAc+IKugKr6OmGZ7yKJqx7xoyXNayGmcYoVfVd5gsMzg4HSjQtZqAlP7ww== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XpSRC6H71z10sW for ; Wed, 13 Nov 2024 15:50:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4ADFoFZV014115 for ; Wed, 13 Nov 2024 15:50:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4ADFoFeN014114 for net@FreeBSD.org; Wed, 13 Nov 2024 15:50:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 255309] ice(4) driver doesn't use RSS option correctly Date: Wed, 13 Nov 2024 15:50:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mhorne@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255309 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D2c6edd6dc94e7d429ce022262b9e25d15= 9ce61e5 commit 2c6edd6dc94e7d429ce022262b9e25d159ce61e5 Author: Brian Poole AuthorDate: 2024-10-11 19:57:52 +0000 Commit: Mitchell Horne CommitDate: 2024-11-13 15:49:33 +0000 ice(4): properly use kernel option RSS Header ice_rss.h uses the kernel RSS interface if option RSS is defined. However when ice_rss.h is included by ice_lib.h there is no prior inclusion of ice_opts.h to set RSS causing ifdef RSS to always fail. Add ice_opts.h to the top of ice_lib.h (like ice_iflib.h) so RSS can be defined when ice_rss.h is parsed. With that in place, compilation fails due to a missing defintion of ICE_DEFAULT_RSS_HASH_CONFIG. It is defined in ice_rss.h only when RSS is not defined. Since this define is not part of the kernel RSS interface but ice-specific, it should always be defined. Move its definition outside of ifdef RSS. PR: 255309 Reviewed by: mhorne, erj (earlier version) MFC after: 3 days Pull Request: https://github.com/freebsd/freebsd-src/pull/1460 (cherry picked from commit 6e5650896fe47398e49e3d81af60cc60dbb09e6e) sys/dev/ice/ice_lib.h | 3 +++ sys/dev/ice/ice_rss.h | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=