From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] retain ABI definitions for obsolete multi-queue packet schedulers Date: Fri, 12 Sep 2008 12:25:48 -0700 Message-ID: <20080912122548.48945e11@extreme> References: <20080912100011.10c5c6b8@extreme> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Patrick McHardy , netdev@vger.kernel.org To: unlisted-recipients:; (no To-header on input) Return-path: Received: from mail.vyatta.com ([76.74.103.46]:51505 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753576AbYILTZ4 (ORCPT ); Fri, 12 Sep 2008 15:25:56 -0400 In-Reply-To: <20080912100011.10c5c6b8@extreme> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, 12 Sep 2008 10:00:11 -0700 Stephen Hemminger wrote: > Even though the sch_rr qdisc is now gone in 2.6.27, the kernel > definitions for the attributes need to be maintained because applications > like iproute need to be compatible with older kernels and use santized > kernel headers. > > Signed-off-by: Stephen Hemminger > > --- a/include/linux/pkt_sched.h 2008-09-12 09:56:39.000000000 -0700 > +++ b/include/linux/pkt_sched.h 2008-09-12 09:57:49.000000000 -0700 > @@ -123,6 +123,16 @@ struct tc_prio_qopt > __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ > }; > > +/* Obsolete option from original multiqueue */ > +enum > +{ > + TCA_PRIO_UNSPEC, > + TCA_PRIO_MQ, > + __TCA_PRIO_MAX > +}; > + > +#define TCA_PRIO_MAX (__TCA_PRIO_MAX - 1) > + > /* TBF section */ > > struct tc_tbf_qopt > -- > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html This should be applied for 2.6.27 since it is a build regression.