Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
a98c957a
Commit
a98c957a
authored
Jul 05, 2004
by
David S. Miller
Committed by
David S. Miller
Jul 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PKT_SCHED]: Rip out requeue stat addition, user ABI breaker.
parent
d2b21b58
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
16 deletions
+0
-16
include/linux/pkt_sched.h
include/linux/pkt_sched.h
+0
-7
net/sched/sch_hfsc.c
net/sched/sch_hfsc.c
+0
-3
net/sched/sch_htb.c
net/sched/sch_htb.c
+0
-3
net/sched/sch_prio.c
net/sched/sch_prio.c
+0
-3
No files found.
include/linux/pkt_sched.h
View file @
a98c957a
...
...
@@ -37,13 +37,6 @@ struct tc_stats
__u32
bps
;
/* Current flow byte rate */
__u32
pps
;
/* Current flow packet rate */
__u32
qlen
;
#ifdef CONFIG_NET_CLS_ACT
/* eventually remove the define here; adding this(useful)
field at least fixes the 8 byte layout problems we
have with MIPS and PPC because we have a u64
*/
__u32
reqs
;
/* number of requeues happened */
#endif
__u32
backlog
;
#ifdef __KERNEL__
spinlock_t
*
lock
;
...
...
net/sched/sch_hfsc.c
View file @
a98c957a
...
...
@@ -1798,9 +1798,6 @@ hfsc_requeue(struct sk_buff *skb, struct Qdisc *sch)
{
struct
hfsc_sched
*
q
=
(
struct
hfsc_sched
*
)
sch
->
data
;
#ifdef CONFIG_NET_CLS_ACT
sch
->
stats
.
reqs
++
;
#endif
__skb_queue_head
(
&
q
->
requeue
,
skb
);
sch
->
q
.
qlen
++
;
return
NET_XMIT_SUCCESS
;
...
...
net/sched/sch_htb.c
View file @
a98c957a
...
...
@@ -763,9 +763,6 @@ static int htb_requeue(struct sk_buff *skb, struct Qdisc *sch)
struct
htb_class
*
cl
=
htb_classify
(
skb
,
sch
,
&
ret
);
struct
sk_buff
*
tskb
;
#ifdef CONFIG_NET_CLS_ACT
sch
->
stats
.
reqs
++
;
#endif
if
(
cl
==
HTB_DIRECT
||
!
cl
)
{
/* enqueue to helper queue */
if
(
q
->
direct_queue
.
qlen
<
q
->
direct_qlen
&&
cl
)
{
...
...
net/sched/sch_prio.c
View file @
a98c957a
...
...
@@ -133,9 +133,6 @@ prio_requeue(struct sk_buff *skb, struct Qdisc* sch)
struct
Qdisc
*
qdisc
;
int
ret
=
NET_XMIT_DROP
;
#ifdef CONFIG_NET_CLS_ACT
sch
->
stats
.
reqs
++
;
#endif
qdisc
=
prio_classify
(
skb
,
sch
,
&
ret
);
if
(
qdisc
==
NULL
)
goto
dropped
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment