[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpX6LZ1OFXapOJpdteSSM+fOHnC0QpnJRkexq3dVZzp_bw@mail.gmail.com>
Date: Sat, 4 May 2019 11:27:43 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [Patch net-next] sch_htb: redefine htb qdisc overlimits
On Sat, May 4, 2019 at 11:10 AM Eric Dumazet <edumazet@...gle.com> wrote:
>
> On Sat, May 4, 2019 at 1:49 PM Cong Wang <xiyou.wangcong@...il.com> wrote:
>
> > Sure, v2 is coming. :)
>
> Another possibility would to reuse existing sch->qstats.overlimits ?
I don't find any way to retrieve qdisc pointer from struct htb_sched,
unless we add a pointer there, which will end up bigger.
Or refactor the functions on the call path of htb_change_class_mode()
to use struct Qdisc*, which will end up a bigger patch.
Therefore, I think your suggestion of folding it into 'direct_pkts' is better.
Thanks.
Powered by blists - more mailing lists