From nobody Mon Nov 04 15:02:38 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 4XhvpQ5Zgdz5cBNK for ; Mon, 04 Nov 2024 15:02:38 +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 4XhvpQ0xHzz4Zvl for ; Mon, 4 Nov 2024 15:02:38 +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=1730732558; 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=WE7c2UxWdhS9oVvGpbBitrtkIWMbBjBqEuIJiUS4Koo=; b=B42HgpjFOE194ljdJRM6RajR1hLHhBjU6o0jSht5ovPvrSDGmDTJ4JATDvgVAb5y+It2Aa RMo+zgu++V/qFva5oqKDGlw4BAY+iKvrweFUW6g8dU52zNC3uA/ahQA6Oa5DRHGnVWMC8c DePrQyztn8hqx4FK+lM+PZs8tQpVStdM3UTJNV7tUJ3ywsvc8ispejWtJ0wRybpZS+XWa4 lH4/e0uYkQpy7SrJAdrtZ05eRZ2qV4in5G8SxPEUpngo6LMkN1J2A/O0Mgkm51y3DO6jqq scLEN139z6wDuaaTFRfp8lUVvP8b8rPTWq/4v89dhmwcTx/dbfFLW3qH01R0gA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730732558; a=rsa-sha256; cv=none; b=JxLmMEO69KZlKxFXa5toEdamwEe7NqtK+DKSxEXyKsWMJXtQJTvz2cBdZEh2tWbqllR113 /YKOcqZ9pkXIZrhcCoqLf7FG0QtCOyF7kY6ncJ4nWIU69igpF2wie66Bpd81VDqMQft0CZ eCQ+1xqHzXt1FJg1hEodHlCgmSwQjwlQMq0D7c8nQqz3YRQ8F0FBKVnmZ8yF1K8F5xlcXH 1TfuKhSUaBU4/4mBx8idkF1qK37k/tZT7av073GLrdvuqQ6jIaCiyFbC52CVcuvMeqdkBl FyzBIUyK1kDfS/fpePNjS5ubpeghD8er2aRlFYXHAKfCu5Hu++H5soS3AJRyKA== 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 4XhvpQ0Y8NzddK for ; Mon, 4 Nov 2024 15:02:38 +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 4A4F2c76032493 for ; Mon, 4 Nov 2024 15:02:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A4F2cmM032492 for net@FreeBSD.org; Mon, 4 Nov 2024 15:02:38 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: Mon, 04 Nov 2024 15:02:38 +0000 X-Bugzilla-Reason: CC AssignedTo 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: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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 #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D6e5650896fe47398e49e3d81af60cc60d= bb09e6e commit 6e5650896fe47398e49e3d81af60cc60dbb09e6e Author: Brian Poole AuthorDate: 2024-10-11 19:57:52 +0000 Commit: Mitchell Horne CommitDate: 2024-11-04 15:01:37 +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 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. You are the assignee for the bug.=