netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: David Miller <davem@davemloft.net>,
	Patrick McHardy <kaber@trash.net>,
	PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Cc: netdev@vger.kernel.org
Subject: [PATCH] retain ABI definitions for obsolete multi-queue packet schedulers
Date: Fri, 12 Sep 2008 10:00:11 -0700	[thread overview]
Message-ID: <20080912100011.10c5c6b8@extreme> (raw)

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

             reply	other threads:[~2008-09-12 17:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12 17:00 Stephen Hemminger [this message]
2008-09-12 19:25 ` [PATCH] retain ABI definitions for obsolete multi-queue packet schedulers 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080912100011.10c5c6b8@extreme \
    --to=shemminger@vyatta.com \
    --cc=davem@davemloft.net \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.org \
    --cc=peter.p.waskiewicz.jr@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).