From: Thomas Graf <tgraf@suug.ch>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@oss.sgi.com
Subject: [PATCH 2.4] PKT_SCHED: Rename TCQ_F_INGRES to TCQ_F_INGRESS
Date: Sat, 23 Oct 2004 01:07:31 +0200 [thread overview]
Message-ID: <20041022230731.GL21977@postel.suug.ch> (raw)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
--- linux-2.4.28-pre4-bk6.orig/include/net/pkt_sched.h 2004-10-22 10:58:23.000000000 +0200
+++ linux-2.4.28-pre4-bk6/include/net/pkt_sched.h 2004-10-23 00:48:08.000000000 +0200
@@ -78,7 +78,7 @@
unsigned flags;
#define TCQ_F_BUILTIN 1
#define TCQ_F_THROTTLED 2
-#define TCQ_F_INGRES 4
+#define TCQ_F_INGRESS 4
struct Qdisc_ops *ops;
u32 handle;
u32 parent;
--- linux-2.4.28-pre4-bk6.orig/net/sched/sch_api.c 2004-10-22 10:58:23.000000000 +0200
+++ linux-2.4.28-pre4-bk6/net/sched/sch_api.c 2004-10-23 00:48:08.000000000 +0200
@@ -307,7 +307,7 @@
write_lock(&qdisc_tree_lock);
spin_lock_bh(&dev->queue_lock);
- if (qdisc && qdisc->flags&TCQ_F_INGRES) {
+ if (qdisc && qdisc->flags&TCQ_F_INGRESS) {
oqdisc = dev->qdisc_ingress;
/* Prune old scheduler */
if (oqdisc && atomic_read(&oqdisc->refcnt) <= 1) {
@@ -357,7 +357,7 @@
if (parent == NULL) {
- if (q && q->flags&TCQ_F_INGRES) {
+ if (q && q->flags&TCQ_F_INGRESS) {
*old = dev_graft_qdisc(dev, q);
} else {
*old = dev_graft_qdisc(dev, new);
@@ -431,7 +431,7 @@
skb_queue_head_init(&sch->q);
if (handle == TC_H_INGRESS)
- sch->flags |= TCQ_F_INGRES;
+ sch->flags |= TCQ_F_INGRESS;
sch->ops = ops;
sch->enqueue = ops->enqueue;
next reply other threads:[~2004-10-22 23:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-22 23:07 Thomas Graf [this message]
2004-10-26 3:26 ` [PATCH 2.4] PKT_SCHED: Rename TCQ_F_INGRES to TCQ_F_INGRESS David S. Miller
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=20041022230731.GL21977@postel.suug.ch \
--to=tgraf@suug.ch \
--cc=davem@davemloft.net \
--cc=netdev@oss.sgi.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).