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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7A09C433F5 for ; Fri, 20 May 2022 22:34:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234079AbiETWeS (ORCPT ); Fri, 20 May 2022 18:34:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233176AbiETWeQ (ORCPT ); Fri, 20 May 2022 18:34:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5029816F925 for ; Fri, 20 May 2022 15:34:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BA15B61D84 for ; Fri, 20 May 2022 22:34:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDA45C385A9; Fri, 20 May 2022 22:34:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653086055; bh=DbazlJRizFZJpl6+kV15LEW7YI6oKNVAYZmeWUdZguo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=arEB1a1GgT+3brLyr5OFhU2w2r+fMfAjbHNZJnTGCX5eDRU18HSdgRHRPC2Y6Q/4X wd2ctSdCJCnnAtxrieJ4umUHMOIa1taspcKkP2DBXGgTYbIQdrG6kMh8XHdE+EpprV erc3pV0Xh2eia9ZCtnjcWmbSRbuKLCcCLV3pvcwxEB0vTl612Be5g04B4HVMUl4q33 eoKtxhXQsweEprdPyBBiKy6NH4hWR+BdYRoMmk2ybF+9AaLGIwbV+zpYWoZvPMcLjd duqhsseg74do/Jx9Z0uZ71gz/KQoeg0QzFxs7PWcQsgi9GIip+b0EFT9LZQGEXH5S1 Vq/tLaD/M9NHA== Date: Fri, 20 May 2022 15:34:13 -0700 From: Jakub Kicinski To: Vinicius Costa Gomes Cc: netdev@vger.kernel.org, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, vladimir.oltean@nxp.com, po.liu@nxp.com, boon.leong.ong@intel.com, intel-wired-lan@lists.osuosl.org Subject: Re: [PATCH net-next v5 00/11] ethtool: Add support for frame preemption Message-ID: <20220520153413.16c6830b@kernel.org> In-Reply-To: <20220520011538.1098888-1-vinicius.gomes@intel.com> References: <20220520011538.1098888-1-vinicius.gomes@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, 19 May 2022 18:15:27 -0700 Vinicius Costa Gomes wrote: > Changes from v4: > - Went back to exposing the per-queue frame preemption bits via > ethtool-netlink only, via taprio/mqprio was seen as too much > trouble. (Vladimir Oltean) > - Fixed documentation and code/patch organization changes (Vladimir > Oltean). First of all - could you please, please, please rev these patches more than once a year? It's really hard to keep track of the context when previous version was sent in Jun 2021 :/ I disagree that queue mask belongs in ethtool. It's an attribute of a queue and should be attached to a queue. The DCBNL parallel is flawed IMO because pause generation is Rx, not Tx. There is no Rx queue in Linux, much less per-prio.