[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141104104515.2e6433c6@uryu.home.lan>
Date: Tue, 4 Nov 2014 10:45:15 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 02/13] net_sched: introduce qdisc_peek() helper function
On Tue, 4 Nov 2014 09:56:25 -0800
Cong Wang <xiyou.wangcong@...il.com> wrote:
> +static inline void qdisc_warn_nonwc(void *func, struct Qdisc *qdisc)
> +{
> + if (!(qdisc->flags & TCQ_F_WARN_NONWC)) {
> + pr_warn("%pf: %s qdisc %X: is non-work-conserving?\n",
> + func, qdisc->ops->id, qdisc->handle >> 16);
> + qdisc->flags |= TCQ_F_WARN_NONWC;
> + }
> +}
> +
Inilining this and creating N copies of same message is not a step forward.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists