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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 7996BC0219D for ; Thu, 13 Feb 2025 12:54:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 18E4460745; Thu, 13 Feb 2025 12:54:34 +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 3ZNe-2GQDXjy; Thu, 13 Feb 2025 12:54:33 +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 smtp3.osuosl.org 3AF1360AF2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1739451273; bh=v7acrumWnCLIQCVlU0AgIWrp2QB9ISOBnuH4BR/NhIk=; h=Date:To:Cc:References:From:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=vDUb25Z7zjVi1hmC5N8g4g4jLFe/S8vaw7tkQfA5xxZzrQVsVt+da7FK5/X29CqqC Prc9xE1nw31jyUhsF+d/eISucuVb/trE+KU6DZU693t26++qH99z+O9TVGfyZNyzAH Cx6Bz5V4NpRUwSWxdzqV0YDTOHVQTw7dBRC/kucqufHQbJH70DRkNj0mnLRP3aFPcv baU53aQP7afqOPiTeO8W5iW4+Ak0vbJqZH8eh/Lan1P3ZC4Upoag55sMQRKntkk1tx CJiJjrsYRkAd+U4WGP4oZTn36DfsHvvn+cNGLZWo7Z2KVavZGfRryJvY32AjKNMOOf rK2D2yS0p4Y1w== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 3AF1360AF2; Thu, 13 Feb 2025 12:54:33 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 3CBFD199 for ; Thu, 13 Feb 2025 12:54:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 1F7C540481 for ; Thu, 13 Feb 2025 12:54:32 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id qSu90aeGu1Ia for ; Thu, 13 Feb 2025 12:54:30 +0000 (UTC) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=198.175.65.18; helo=mgamail.intel.com; envelope-from=faizal.abdul.rahim@linux.intel.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 712D840478 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 712D840478 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by smtp2.osuosl.org (Postfix) with ESMTPS id 712D840478 for ; Thu, 13 Feb 2025 12:54:30 +0000 (UTC) X-CSE-ConnectionGUID: 3JAzQTBMT9i07y8c6Ou0oQ== X-CSE-MsgGUID: n8zMoGcoQ3qdm12rGv8/jg== X-IronPort-AV: E=McAfee;i="6700,10204,11314"; a="40266540" X-IronPort-AV: E=Sophos;i="6.12,310,1728975600"; d="scan'208";a="40266540" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2025 04:54:30 -0800 X-CSE-ConnectionGUID: hz/02A95Toi+RKP8+COzSA== X-CSE-MsgGUID: 3oCHI4xJSWuWUpbQsVvUsg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="150303991" Received: from mohdfai2-mobl.gar.corp.intel.com (HELO [10.247.42.34]) ([10.247.42.34]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2025 04:54:22 -0800 Message-ID: <5902cc28-a649-4ae9-a5ba-83aa265abaf8@linux.intel.com> Date: Thu, 13 Feb 2025 20:54:18 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Kurt Kanzenbach , Vladimir Oltean Cc: Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Alexandre Torgue , Simon Horman , Russell King , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Furong Xu <0x1207@gmail.com>, Russell King , Serge Semin , Xiaolei Wang , Suraj Jaiswal , Kory Maincent , Gal Pressman , Jesper Nilsson , Andrew Halaney , Choong Yong Liang , Kunihiko Hayashi , Vinicius Costa Gomes , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, bpf@vger.kernel.org References: <20250210070207.2615418-1-faizal.abdul.rahim@linux.intel.com> <20250210070207.2615418-1-faizal.abdul.rahim@linux.intel.com> <20250212220121.ici3qll66pfoov62@skbuf> <87cyfmnjdh.fsf@kurt.kurt.home> Content-Language: en-US From: "Abdul Rahim, Faizal" In-Reply-To: <87cyfmnjdh.fsf@kurt.kurt.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1739451271; x=1770987271; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=UN3Y9x428Mk8h/CXSju3Mtr+T4Cd2Rs3PZKgk+wNRiA=; b=d1T/yWN0G92sRqAYEX3xaQwqApgD/o8kSIcCuyLvRSriiL/c5oBO6YEV vqdDEjyC9xsS1df9nc7FCSp2iBJfDwjgyuZBWNL9d6SKfSp81k5mDYpk+ ItkM+ja5oX2OjwC1prNg79tHMlgGk1SPf/j6NcyBPzcPopyCYAjS4pyRA S6XP6OwB5hkH/Fgu4RT/qBBIOky2AiFjS2Ywm4lQvCUQQfc3GLynHNtgz NWLiBjGmLVf1natKrFI5xbh73coLdHhGnvUffmfGWe5DYZaHJycPFIRmi AQcbTQJesmc6LEsCO/hPOW3CKIWwdj272ooq3/in0OmqcRA3EMomw9z0m Q==; X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=none (p=none dis=none) header.from=linux.intel.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=d1T/yWN0 Subject: Re: [Intel-wired-lan] [PATCH iwl-next v4 0/9] igc: Add support for Frame Preemption feature in IGC 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 13/2/2025 8:01 pm, Kurt Kanzenbach wrote: > On Thu Feb 13 2025, Abdul Rahim, Faizal wrote: >> On 13/2/2025 6:01 am, Vladimir Oltean wrote: >>> On Mon, Feb 10, 2025 at 02:01:58AM -0500, Faizal Rahim wrote: >>>> Introduces support for the FPE feature in the IGC driver. >>>> >>>> The patches aligns with the upstream FPE API: >>>> https://patchwork.kernel.org/project/netdevbpf/cover/20230220122343.1156614-1-vladimir.oltean@nxp.com/ >>>> https://patchwork.kernel.org/project/netdevbpf/cover/20230119122705.73054-1-vladimir.oltean@nxp.com/ >>>> >>>> It builds upon earlier work: >>>> https://patchwork.kernel.org/project/netdevbpf/cover/20220520011538.1098888-1-vinicius.gomes@intel.com/ >>>> >>>> The patch series adds the following functionalities to the IGC driver: >>>> a) Configure FPE using `ethtool --set-mm`. >>>> b) Display FPE settings via `ethtool --show-mm`. >>>> c) View FPE statistics using `ethtool --include-statistics --show-mm'. >>>> e) Enable preemptible/express queue with `fp`: >>>> tc qdisc add ... root taprio \ >>>> fp E E P P >>> >>> Any reason why you are only enabling the preemptible traffic classes >>> with taprio, and not with mqprio as well? I see there will have to be >>> some work harmonizing igc's existing understanding of ring priorities >>> with what Kurt did in 9f3297511dae ("igc: Add MQPRIO offload support"), >>> and I was kind of expecting to see a proposal for that as part of this. >>> >> >> I was planning to enable fpe + mqprio separately since it requires extra >> effort to explore mqprio with preemptible rings, ring priorities, and >> testing to ensure it works properly and there are no regressions. > > Well, my idea was to move the current mqprio offload implementation from > legacy TSN Tx mode to the normal TSN Tx mode. Then, taprio and mqprio > can share the same code (with or without fpe). I have a draft patch > ready for that. What do you think about it? > > Thanks, > Kurt Hi Kurt, I’m okay with including it in this series and testing fpe + mqprio, but I’m not sure if others might be concerned about adding different functional changes in this fpe series. Hi Vladimir, Any thoughts on this ?