Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp348637rdb; Sat, 19 Aug 2023 04:28:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFendAAQ2fO0AiF4kVEUICjX+Y+pTkf4hng+AWCB7DdclxwJZWrIIKUFVVTWEZKKSoLmcOJ X-Received: by 2002:a6b:c982:0:b0:783:6e76:6bc7 with SMTP id z124-20020a6bc982000000b007836e766bc7mr2892519iof.2.1692444514463; Sat, 19 Aug 2023 04:28:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692444514; cv=none; d=google.com; s=arc-20160816; b=LYKQYTmM7C8fdQ6Xkl8pQs8JCyJ/MYJsewexWAnZpkGkdTIPuvJ6FesSTPdrfXCxBh o0+II83Tnxaok2VcmZJk9FwKt7oK4laqCX4lbsaOKMHRVkZIiUF/WQ6OffBpHSDIQlFt anJs9IKKqrMtYX4qXEArRsdWRqxQKWFtHNM06d/yM4XLGQ0e9i8QZ+joDeY2VpMmASgK 4s4hgH8IFtJbyELZCOV0pMZzCBb/8p14ZR890FcQXt/301T9XIjxBctM0koVBCWZKY0h d75rdxWkBpCqnvkzFJstCkUo7KkgaqAhZs/pXg/d2cQeg/S5cHaJujYBp554scgP7wbb O7ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FRaihnOCT9PutVq17BFjUD7l91xV3hZqZ0T14c4DXiQ=; fh=gxvYVu9h5SJPVdQxO6nR9oKWpkcrrCFUIzdiprCpu6o=; b=S4psRaon0a8iiQWaIaJL3nE4/8dwQBzRhbgMnwAUFEJmxZEdL5UdWLE6jNl9SoloGg 1JvJnZe5IETNqA0CCZdk8hRhh4OWxUHZAUq+oAwJOIe+t0y+niko+lmbrGlcFsk3K+rf lXprPaCUsE7rGGLhh90iY1Cc+ylBXM8eY+2aSrv2ATMC79g8rgVWbgzLTmL5KZrAAHKp 4c+1zEOIoDmj/nStScn8ED68Kr+UehqEk/aI6fUNzWFhATmsYGyshpehgYi7zLwS3mKX CtsNRs8nkGHnDcKWJVCcxLzJDG9hM15z8ShWqY3uBuGAFqwjA/1VP5xxyRQtCUERj881 d/sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dJkIDYvZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s14-20020a65690e000000b00565eedb1cf8si3310125pgq.825.2023.08.19.04.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Aug 2023 04:28:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dJkIDYvZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1951765784; Sat, 19 Aug 2023 01:34:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234448AbjHODxi (ORCPT + 99 others); Mon, 14 Aug 2023 23:53:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234641AbjHODwA (ORCPT ); Mon, 14 Aug 2023 23:52:00 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 407E2183; Mon, 14 Aug 2023 20:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692071513; x=1723607513; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0U5mVMBc7pOFHVeJVlzVG7Zb1up3kpgr5XH1w5CKdFQ=; b=dJkIDYvZh2RWfJfpff76A3EB7lQDox3PLknJmHZlVZN3QworAVkgi0m4 FNfcN2lQ5Y7YAjQri0OTa7Iu8aBrG6bCa0YoMqcXa/F7z7gOf9UYekceY pZUWCK7KgzBTKfzwKhlTKxofXtgVUrPd0ENVpPfDO/jusgfjhKj1gDZZ3 /yW3l0exBOzC9QVGaR1y9rKzWi1bvPJY7PDmCbpVKi6kg6D+VgPikiywn FPvGXMWBbKeO1wNDqt6HzGjoGxHhMxXz6W55xooMH6GXe1bj55zW3JJly Aabs/WlZM8dczck+HK8Tn7YHDIXSu264Ued9sX/KQO3ruMOoVr2D5WetK A==; X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="403176407" X-IronPort-AV: E=Sophos;i="6.01,173,1684825200"; d="scan'208";a="403176407" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2023 20:51:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="847904364" X-IronPort-AV: E=Sophos;i="6.01,173,1684825200"; d="scan'208";a="847904364" Received: from pglc00067.png.intel.com ([10.221.207.87]) by fmsmga002.fm.intel.com with ESMTP; 14 Aug 2023 20:51:48 -0700 From: Rohan G Thomas To: Jose Abreu Cc: alexandre.torgue@foss.st.com, conor+dt@kernel.org, davem@davemloft.net, devicetree@vger.kernel.org, edumazet@google.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.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+dt@kernel.org, Rohan G Thomas Subject: RE: [PATCH net-next v3 2/2] net: stmmac: Tx coe sw fallback Date: Tue, 15 Aug 2023 11:51:45 +0800 Message-Id: <20230815035145.16990-1-rohan.g.thomas@intel.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20230814181354.8603-1-rohan.g.thomas@intel.com> References: <20230814181354.8603-1-rohan.g.thomas@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rohan G Thomas Date: Mon, Aug 14, 2023 at 15:06:37 > > > + bool tx_q_coe_lmt; > > > > Please use a flag here instead of "tx_q_coe_lmt". This is the > > preferrable method now. > > > > Thanks, > > Jose > > Thanks Jose for the feedback. If I read that correctly, your suggestion is to > change " tx_q_coe_lmt" to something more readable, like "has_txcoe_limit". > Please correct me if I understand it wrongly. > > BR, > Rohan > Or, use int instead of bool? BR, Rohan