netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] retain ABI definitions for obsolete multi-queue packet schedulers
@ 2008-09-12 17:00 Stephen Hemminger
  2008-09-12 19:25 ` Stephen Hemminger
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Hemminger @ 2008-09-12 17:00 UTC (permalink / raw)
  To: David Miller, Patrick McHardy, PJ Waskiewicz; +Cc: netdev

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 <shemminger@vyatta.com>

--- 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-12 23:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-12 17:00 [PATCH] retain ABI definitions for obsolete multi-queue packet schedulers Stephen Hemminger
2008-09-12 19:25 ` Stephen Hemminger
2008-09-12 22:30   ` David Miller
2008-09-12 22:58     ` Stephen Hemminger
2008-09-12 23:01       ` David Miller
2008-09-12 23:03         ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).