[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6629ad2cb9afe49615360d359fce60ef2b19915.camel@redhat.com>
Date: Fri, 26 Apr 2019 10:47:52 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2-next] tc: add support for plug qdisc
Hi,
On Wed, 2019-04-24 at 13:49 -0700, Stephen Hemminger wrote:
> On Wed, 24 Apr 2019 18:29:39 +0200
> Paolo Abeni <pabeni@...hat.com> wrote:
>
> > +static int plug_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
> > +{
> > + /* dummy implementation as sch_plug does not implement a dump op */
> > + return 0;
> > +}
> > +
>
> All qdisc must dump their state in same form as the parse option.
Thank you for the feedback.
The problem here is that the sch_plug qdisc does not implement the
dump() qdisc_op, so this callback has nothing to dump.
Must I patch sch_plug first?
Thanks,
Paolo
Powered by blists - more mailing lists