From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9802AC3DA6D for ; Tue, 20 May 2025 08:18:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 4748440535; Tue, 20 May 2025 08:18:28 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id sflSrf6TU57n; Tue, 20 May 2025 08:18:27 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org B895D405F2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1747729107; bh=kugj4g/tazTIhEaZ+HJruKO9oJNs/zwrpeSJfI2tFio=; h=Date:From:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=QN9zqPm1tzuqtoR47kD0WA5jq+T7laeCDdQ/6xWMAGQD6n8syDv4Bx80nvBROX3G1 r2v9Qmsb+RNnGVhA92CxA0eFnZfijAxDE/iCWeQgmqnwmRIPGfbiPDWNf8SJ7fU6Zb wtLhDEZj2g0hLG8sBH5O5zGwnF85j8Sm/rawwrFEvcLCJmHKlXVKCIKY8KZT8/JKBb wz3RFC+/cQ5olX75QjJ2knbbEk/sSLOBSs4EHwBi1LKpArS69kbgNuk+tJ6MyRlsnV VpzKbuBOoMCVhvNqtknDAvqTKSart90OVzv9wakqH07bVq9k2OahsUmad2C2pbS324 pxz99lauEw0zg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id B895D405F2; Tue, 20 May 2025 08:18:27 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists1.osuosl.org (Postfix) with ESMTP id 5D024193 for ; Tue, 20 May 2025 08:18:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 4E98D606C7 for ; Tue, 20 May 2025 08:18:26 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id OeTrtjdYp68e for ; Tue, 20 May 2025 08:18:25 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=147.75.193.91; helo=nyc.source.kernel.org; envelope-from=horms@kernel.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org A95E760666 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org A95E760666 Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by smtp3.osuosl.org (Postfix) with ESMTPS id A95E760666 for ; Tue, 20 May 2025 08:18:25 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 40756A4E2AF; Tue, 20 May 2025 08:18:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BF1AC4CEE9; Tue, 20 May 2025 08:18:21 +0000 (UTC) Date: Tue, 20 May 2025 09:18:19 +0100 From: Simon Horman To: "Abdul Rahim, Faizal" Cc: Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Faizal Rahim , Aleksandr Loktionov , Chwee-Lin Choong Message-ID: <20250520081819.GS365796@horms.kernel.org> References: <20250519071911.2748406-1-faizal.abdul.rahim@intel.com> <20250519071911.2748406-8-faizal.abdul.rahim@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250519071911.2748406-8-faizal.abdul.rahim@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1747729103; bh=P+mil3BSAgflT+81N7kdHl0B7fEVM15Pgtvbj74DtNk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ArM55lAJgCZI3dn02U3g3Vyxhw/8xWgSOgDXoPPSrcOPvMPb5yBCw4RfSFgyYXukR gqFHLkqEk8ptvk3LRZIw5Zn8nE6wGko7DPmtrPnrp1vskayF1yRO21wRed+ERyiHrE RSZQrJXRhSd3arfdvn13Lg57Of1tyZSsqpgCp1/cLI6cT9lRrGBD/Xr2ctmCGGuuE6 Iwe0CvlcOvZ1jbhv2lqs5ChegCNr5rmUmUAR/2VuqGzAd9lIpYYzAuMV3zAsESzC5C RT+tEXaoPN3LTvgYtT6VXBaYmiKPCAiJ0PwG3LxU/jSp79SN3cHjsfUN+62dRwuPeM a0CnZtE96yw0g== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=ArM55lAJ Subject: Re: [Intel-wired-lan] [PATCH iwl-next v3 7/7] igc: add preemptible queue support in mqprio X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Mon, May 19, 2025 at 03:19:11AM -0400, Abdul Rahim, Faizal wrote: > From: Faizal Rahim > > igc already supports enabling MAC Merge for FPE. This patch adds > support for preemptible queues in mqprio. > > Tested preemption with mqprio by: > 1. Enable FPE: > ethtool --set-mm enp1s0 pmac-enabled on tx-enabled on verify-enabled on > 2. Enable preemptible queue in mqprio: > mqprio num_tc 4 map 0 1 2 3 0 0 0 0 0 0 0 0 0 0 0 0 \ > queues 1@0 1@1 1@2 1@3 \ > fp P P P E > > Signed-off-by: Faizal Rahim Reviewed-by: Simon Horman From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C13125DD0F; Tue, 20 May 2025 08:18:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747729104; cv=none; b=nhDdZg8lfKrJf1m1sMx8rbzbp9nFfqobtAylKt2DW2jHCHy1VEbkN1QJwJJw9L7StBSsaNt12sao/GpqP+uLXanIyMhHnyaRYjj74Dig4cxtgNu9Ay2j7/5HE8OY462iUq7VHxCAVV6tAxM+xILEcWLbXi2rZ7/kLn55JiBh5F8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747729104; c=relaxed/simple; bh=P+mil3BSAgflT+81N7kdHl0B7fEVM15Pgtvbj74DtNk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tohyWP9Yg6ySYLyAsAsAYbLUGcgOUrqe4GG70aKvEPVeO72VifYzaCIK8fnGKtcTCJ0+ArQqvS5lFwhYhhVh8SaL9vekrxzcugYeOe94syEpP59G1OpPAQ4v7gGNylA7z3gdTegkEYPvSKzGhHFpP260vaBVneb6Ol9gp/RO8Ok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ArM55lAJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ArM55lAJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BF1AC4CEE9; Tue, 20 May 2025 08:18:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1747729103; bh=P+mil3BSAgflT+81N7kdHl0B7fEVM15Pgtvbj74DtNk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ArM55lAJgCZI3dn02U3g3Vyxhw/8xWgSOgDXoPPSrcOPvMPb5yBCw4RfSFgyYXukR gqFHLkqEk8ptvk3LRZIw5Zn8nE6wGko7DPmtrPnrp1vskayF1yRO21wRed+ERyiHrE RSZQrJXRhSd3arfdvn13Lg57Of1tyZSsqpgCp1/cLI6cT9lRrGBD/Xr2ctmCGGuuE6 Iwe0CvlcOvZ1jbhv2lqs5ChegCNr5rmUmUAR/2VuqGzAd9lIpYYzAuMV3zAsESzC5C RT+tEXaoPN3LTvgYtT6VXBaYmiKPCAiJ0PwG3LxU/jSp79SN3cHjsfUN+62dRwuPeM a0CnZtE96yw0g== Date: Tue, 20 May 2025 09:18:19 +0100 From: Simon Horman To: "Abdul Rahim, Faizal" Cc: Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Faizal Rahim , Aleksandr Loktionov , Chwee-Lin Choong Subject: Re: [PATCH iwl-next v3 7/7] igc: add preemptible queue support in mqprio Message-ID: <20250520081819.GS365796@horms.kernel.org> References: <20250519071911.2748406-1-faizal.abdul.rahim@intel.com> <20250519071911.2748406-8-faizal.abdul.rahim@intel.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250519071911.2748406-8-faizal.abdul.rahim@intel.com> On Mon, May 19, 2025 at 03:19:11AM -0400, Abdul Rahim, Faizal wrote: > From: Faizal Rahim > > igc already supports enabling MAC Merge for FPE. This patch adds > support for preemptible queues in mqprio. > > Tested preemption with mqprio by: > 1. Enable FPE: > ethtool --set-mm enp1s0 pmac-enabled on tx-enabled on verify-enabled on > 2. Enable preemptible queue in mqprio: > mqprio num_tc 4 map 0 1 2 3 0 0 0 0 0 0 0 0 0 0 0 0 \ > queues 1@0 1@1 1@2 1@3 \ > fp P P P E > > Signed-off-by: Faizal Rahim Reviewed-by: Simon Horman