public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Vinicius Costa Gomes <vinicius.gomes@intel•com>
To: Vladimir Oltean <vladimir.oltean@nxp•com>
Cc: netdev@vger•kernel.org, "David S. Miller" <davem@davemloft•net>,
	Eric Dumazet <edumazet@google•com>,
	Jakub Kicinski <kuba@kernel•org>, Paolo Abeni <pabeni@redhat•com>,
	Jamal Hadi Salim <jhs@mojatatu•com>,
	Cong Wang <xiyou.wangcong@gmail•com>,
	Jiri Pirko <jiri@resnulli•us>,
	Kurt Kanzenbach <kurt@linutronix•de>,
	Gerhard Engleder <gerhard@engleder-embedded•com>,
	Amritha Nambiar <amritha.nambiar@intel•com>,
	Ferenc Fejes <ferenc.fejes@ericsson•com>,
	Xiaoliang Yang <xiaoliang.yang_1@nxp•com>,
	Roger Quadros <rogerq@kernel•org>,
	Pranavi Somisetty <pranavi.somisetty@amd•com>,
	Harini Katakam <harini.katakam@amd•com>,
	Giuseppe Cavallaro <peppe.cavallaro@st•com>,
	Alexandre Torgue <alexandre.torgue@foss•st.com>,
	Michael Sit Wei Hong <michael.wei.hong.sit@intel•com>,
	Mohammad Athari Bin Ismail <mohammad.athari.ismail@intel•com>,
	Oleksij Rempel <linux@rempel-privat•de>,
	Jacob Keller <jacob.e.keller@intel•com>,
	linux-kernel@vger•kernel.org, Andrew Lunn <andrew@lunn•ch>,
	Florian Fainelli <f.fainelli@gmail•com>,
	Claudiu Manoil <claudiu.manoil@nxp•com>,
	Alexandre Belloni <alexandre.belloni@bootlin•com>,
	UNGLinuxDriver@microchip•com,
	Jesse Brandeburg <jesse.brandeburg@intel•com>,
	Tony Nguyen <anthony.l.nguyen@intel•com>,
	Horatiu Vultur <horatiu.vultur@microchip•com>,
	Jose Abreu <joabreu@synopsys•com>,
	Maxime Coquelin <mcoquelin.stm32@gmail•com>,
	intel-wired-lan@lists•osuosl.org,
	Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel•com>
Subject: Re: [PATCH net-next 1/5] net/sched: taprio: don't overwrite "sch" variable in taprio_dump_class_stats()
Date: Tue, 30 May 2023 15:33:02 -0700	[thread overview]
Message-ID: <878rd5v49t.fsf@intel.com> (raw)
In-Reply-To: <20230530213252.pddrmwgppneawmht@skbuf>

Vladimir Oltean <vladimir.oltean@nxp•com> writes:

> On Tue, May 30, 2023 at 02:14:17PM -0700, Vinicius Costa Gomes wrote:
>> But I have a suggestion, this "taprio_queue_get() ->
>> dev_queue->qdisc_sleeping()" dance should have the same result as
>> calling 'taprio_leaf()'.
>> 
>> I am thinking of using taprio_leaf() here and in taprio_dump_class().
>> Could be a separate commit.
>
> Got it, you want to consolidate the dev_queue->qdisc_sleeping pattern.
> Since taprio_dump_class() could benefit from the consolidation too, they
> could really be both converted separately. Or I could also handle that
> in this patch set, if I need to resend it.

Exactly. Both options sound great.


Cheers,
-- 
Vinicius

  reply	other threads:[~2023-05-30 22:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-30  9:19 [PATCH net-next 0/5] xstats for tc-taprio Vladimir Oltean
2023-05-30  9:19 ` [PATCH net-next 1/5] net/sched: taprio: don't overwrite "sch" variable in taprio_dump_class_stats() Vladimir Oltean
2023-05-30 21:14   ` Vinicius Costa Gomes
2023-05-30 21:32     ` Vladimir Oltean
2023-05-30 22:33       ` Vinicius Costa Gomes [this message]
2023-05-30  9:19 ` [PATCH net-next 2/5] net/sched: taprio: replace tc_taprio_qopt_offload :: enable with a "cmd" enum Vladimir Oltean
2023-05-30 12:01   ` Horatiu Vultur
2023-05-30 12:20   ` Kurt Kanzenbach
2023-05-30 12:45   ` Zulkifli, Muhammad Husaini
2023-05-30 20:50   ` Gerhard Engleder
2023-05-31 17:08   ` Simon Horman
2023-05-31 17:10     ` Vladimir Oltean
2023-05-30  9:19 ` [PATCH net-next 3/5] net/sched: taprio: add netlink reporting for offload statistics counters Vladimir Oltean
2023-05-30 22:52   ` Vinicius Costa Gomes
2023-05-31 13:33     ` Vladimir Oltean
2023-05-31 10:54   ` Zulkifli, Muhammad Husaini
2023-05-30  9:19 ` [PATCH net-next 4/5] net: enetc: refactor enetc_setup_tc_taprio() to have a switch/case for cmd Vladimir Oltean
2023-05-30  9:19 ` [PATCH net-next 5/5] net: enetc: report statistics counters for taprio Vladimir Oltean
2023-05-31  9:10 ` [PATCH net-next 0/5] xstats for tc-taprio patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rd5v49t.fsf@intel.com \
    --to=vinicius.gomes@intel$(echo .)com \
    --cc=UNGLinuxDriver@microchip$(echo .)com \
    --cc=alexandre.belloni@bootlin$(echo .)com \
    --cc=alexandre.torgue@foss$(echo .)st.com \
    --cc=amritha.nambiar@intel$(echo .)com \
    --cc=andrew@lunn$(echo .)ch \
    --cc=anthony.l.nguyen@intel$(echo .)com \
    --cc=claudiu.manoil@nxp$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=edumazet@google$(echo .)com \
    --cc=f.fainelli@gmail$(echo .)com \
    --cc=ferenc.fejes@ericsson$(echo .)com \
    --cc=gerhard@engleder-embedded$(echo .)com \
    --cc=harini.katakam@amd$(echo .)com \
    --cc=horatiu.vultur@microchip$(echo .)com \
    --cc=intel-wired-lan@lists$(echo .)osuosl.org \
    --cc=jacob.e.keller@intel$(echo .)com \
    --cc=jesse.brandeburg@intel$(echo .)com \
    --cc=jhs@mojatatu$(echo .)com \
    --cc=jiri@resnulli$(echo .)us \
    --cc=joabreu@synopsys$(echo .)com \
    --cc=kuba@kernel$(echo .)org \
    --cc=kurt@linutronix$(echo .)de \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux@rempel-privat$(echo .)de \
    --cc=mcoquelin.stm32@gmail$(echo .)com \
    --cc=michael.wei.hong.sit@intel$(echo .)com \
    --cc=mohammad.athari.ismail@intel$(echo .)com \
    --cc=muhammad.husaini.zulkifli@intel$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    --cc=peppe.cavallaro@st$(echo .)com \
    --cc=pranavi.somisetty@amd$(echo .)com \
    --cc=rogerq@kernel$(echo .)org \
    --cc=vladimir.oltean@nxp$(echo .)com \
    --cc=xiaoliang.yang_1@nxp$(echo .)com \
    --cc=xiyou.wangcong@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox