Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp840395rdb; Fri, 26 Jan 2024 12:19:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDBWQ75xijcFkfedoRuiJCwNgHq5QxML3O73LesxjUaQzB9NihBXWJjB13vYO1BrMEYLjk X-Received: by 2002:a05:6830:1be1:b0:6db:fd40:daf0 with SMTP id k1-20020a0568301be100b006dbfd40daf0mr416651otb.67.1706300388089; Fri, 26 Jan 2024 12:19:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706300388; cv=pass; d=google.com; s=arc-20160816; b=gvAsggTvqENY49Ct4m6bm5gypQg+mzQI54+b9fB4rYHgQea5OxANPOe/SzXugtRpzF l9t1edNwSPKpq79DRpk18GP1LR7RdW0NSKdysMuaI7TfAkjyAdRNX13RO4gaBENPmhS9 GKPqFA9+ZPZdHcIeGJwVfI1DudWW0luA/n2F/qjMjbX4sjrjVLxUvpikmg+n+/JpJ0hA 4ABkyA2iSL3UoNIDvjMakbHQ/4RoN29L4iPK1b9zj3pEmyl72jUqvUlgVYBH4FsQkwS7 QyLdj8amtotzuaraki+DkTc2Nn2hFXkrO8BGe21Qfp+7R1oMsO65qyov81KzFrAu+s1l ELpA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=eATgix42qd93GDesotFXk87GXr/apL8dMlw5vlmlFOM=; fh=w0iF9xmc0gRMM0MeKmAZbowa/gc7E30U2ZPe6Bloq88=; b=jH0UMA7JdSdjzD1QMO8kyTRVt/vZooNveo9FIAvL854kUafEbAIc0Df+zVyPddWfu7 BcPw3fhOyTjR2QFXjW0CLUYydUbBDBLGE9QYmKcR4GuWMq7pge+QTNz1joDEmQk7+tU7 u/DeNOq5M2KVXevKoA/FA84Xd+xUCQ59Nzv/pPyyPNTLI8QGCoRWTk7gZoKMmC2+nE3U LL56sE/gSlLW7NaY0WXaqZGlqdx7rVKu91eT0FSaosNcohqNYrcCuEAjiMVQigDJliav rO2Et/7v3QSZ3IHcAHmz/7Nmdc+MY9X+QBPn7z2nNJBLjvyYBgIFmxzOVsehx8XmQy6R Y1gQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=itgfnOi4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-40618-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40618-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c12-20020ac87d8c000000b0042a1c757654si1937433qtd.626.2024.01.26.12.19.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 12:19:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40618-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=itgfnOi4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-40618-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40618-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D07971C24272 for ; Fri, 26 Jan 2024 20:19:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D89802421E; Fri, 26 Jan 2024 20:19:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="itgfnOi4" 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 7371F2376C; Fri, 26 Jan 2024 20:19:30 +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=1706300370; cv=none; b=avFuiJr+9QuRZDA7G8WBuCHrYl0LFdInorIotXX/0hePGbx3pHvu+jAZ61OnD1rj+HSVpj3tciyoe+CC+w6FRALQlHuQZIPPG1kA/7IdLXtz6kRj4Q52l4MfUmyb0PSskG3yrTP7kec4l7Th7FFW8O+t/hUoWPu/ZK5duZFQE/Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706300370; c=relaxed/simple; bh=awpRcgfVITqJmr4m6h4D7QiLDSW/PQz0VRDDLkPva8Y=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VagifDht05tJt4QfInTPx8qyGlcb3jF2KYJM0rcNIUlWmX0yQErRUOjb8oTk10bsP6oDk1ElXCRy/+/6H0k9sLjsP6hCU8HzVc0hyliYdGoW9f8FTTsX6vJ2Bdh9+fzvZX5eMOfvD1XpxbxDz/PwKPvnqRk3GnqhLxoj/WoXIbs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=itgfnOi4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42C85C433C7; Fri, 26 Jan 2024 20:19:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706300369; bh=awpRcgfVITqJmr4m6h4D7QiLDSW/PQz0VRDDLkPva8Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=itgfnOi4w6ElrBtPlbwuYXt71w4C7FIgEdFIdykJMv2Tu/jW8Ums3HKR64Hl1v48o YxQ0t5yC9Lfg3pfiobJ7IlXjPeLofQVmw8PiR2mqxQQKGaip8sPjNNk+od/1Fe2Lyc yoJZJ33BUdCEV3fwOZCWHuvrUEDXC6c19kPHOFv8WfLBqDHsj6CwxRZwDo7RMY0Y1/ qRIeTFzLCrJD9QBQZ47+XsD2UR1gYLLhhStXkMQ6VRaXcMkXb6L9UR7/LZcQO3xl5w 6MuD9tVdSVx56gTAuwxVJ1h2AeHMLQm2YvlrEMHDnHhv6FAioR2rzf8XeIRqhvgZch YlFCZ4monKulQ== Date: Fri, 26 Jan 2024 12:19:28 -0800 From: Jakub Kicinski To: rohan.g.thomas@intel.com Cc: esben@geanix.com, alexandre.torgue@foss.st.com, conor+dt@kernel.org, davem@davemloft.net, devicetree@vger.kernel.org, edumazet@google.com, fancer.lancer@gmail.com, joabreu@synopsys.com, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, mcoquelin.stm32@gmail.com, netdev@vger.kernel.org, pabeni@redhat.com, peppe.cavallaro@st.com, robh@kernel.org Subject: Re: [PATCH net-next 1/2] dt-bindings: net: snps,dwmac: Time Based Scheduling Message-ID: <20240126121928.48a44327@kernel.org> In-Reply-To: <20240126173634.13162-1-rohan.g.thomas@intel.com> References: <87msss4gtj.fsf@geanix.com> <20240126173634.13162-1-rohan.g.thomas@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 27 Jan 2024 01:36:34 +0800 rohan.g.thomas@intel.com wrote: > > The tricky part here is that the whole devicetree bindings story for the > > stmmac driver is filled with such configuration choices. As such, it is > > only natural to add the property you are suggesting here. I completely > > agree. But you can also argue that it is "wrong", because it does not > > just describe the hardware, but also a configuration choice. > > Isn't this requirement of using enhanced tx desc instead of normal tx > desc to support TBS is specific to Synopsys IP? Switching from > normal desc to enhanced desc at the time of tc-etf qdisc offload > cannot be done without traffic disruption, which I don't think is > acceptable. Since this behavior is IP specific, can we consider > this as an OS configuration choice? Why is traffic disruption not acceptable when TBS gets turned on? User has to install the right qdisc to enable TBS, I presume, installing qdiscs destroys the old ones which also leads to packet drops.