PKT_SCHED: Remove old rate estimator and statistics bits
Subsystems (3)
PATCH 1/1 PKT_SCHED: Remove old rate estimator and statistics bits
Signed-off-by Thomas Graf <[email protected]>
include/net/act_api.h +0 -1
@@ -99,7 +99,6 @@#endif /* CONFIG_NET_CLS_ACT */ extern int tcf_police (struct sk_buff *skb,struct tcf_police *p); -extern int qdisc_copy_stats (struct sk_buff *skb,struct tc_stats *st,spinlock_t *lock);extern void tcf_police_destroy (struct tcf_police *p);extern struct tcf_police *tcf_police_locate (struct rtattr *rta,struct rtattr *est);extern int tcf_police_dump (struct sk_buff *skb,struct tcf_police *p);
include/net/pkt_sched.h +0 -3
@@ -222,9 +222,6 @@extern void qdisc_destroy (struct Qdisc *qdisc);extern struct Qdisc *qdisc_create_dflt (struct net_device *dev,struct Qdisc_ops *ops); -extern int qdisc_new_estimator (struct tc_stats *stats,spinlock_t *stats_lock, -struct rtattr *opt); -extern void qdisc_kill_estimator (struct tc_stats *stats);extern struct qdisc_rate_table *qdisc_get_rtab (struct tc_ratespec *r,struct rtattr *tab);extern void qdisc_put_rtab (struct qdisc_rate_table *tab);
net/sched/Makefile +0 -1
@@ -5,7 +5,6 @@ obj-y := sch_generic.o obj-$(CONFIG_NET_SCHED) += sch_api.o sch_fifo.o -obj-$(CONFIG_NET_ESTIMATOR) += estimator.o obj-$(CONFIG_NET_CLS) += cls_api.o obj-$(CONFIG_NET_CLS_ACT) += act_api.o obj-$(CONFIG_NET_ACT_POLICE) += police.o
net/sched/estimator.c +0 -197
197 lines not on this page · raw message
net/sched/sch_api.c +0 -14
@@ -728,19 +728,6 @@return 0 ; } -int qdisc_copy_stats (struct sk_buff *skb,struct tc_stats *st,spinlock_t *lock) -{ -spin_lock_bh (lock); -RTA_PUT (skb,TCA_STATS ,sizeof (struct tc_stats ), st); -spin_unlock_bh (lock); -return 0 ; - -rtattr_failure: -spin_unlock_bh (lock); -return -1 ; -} - -static int tc_fill_qdisc (struct sk_buff *skb,struct Qdisc *q,u32 clid,u32 pid,u32 seq,unsigned flags,int event) {
@@ -1271,7 +1258,6 @@subsys_initcall (pktsched_init); -EXPORT_SYMBOL (qdisc_copy_stats);EXPORT_SYMBOL (qdisc_get_rtab);EXPORT_SYMBOL (qdisc_put_rtab);EXPORT_SYMBOL (register_qdisc);
Quoted 1 line · On Fri, 5 Nov 2004 15:28:57 +0100 Thomas Graf <[email protected]> wrote:
Signed-off-by Thomas Graf <[email protected]>
Applied, thanks Thomas.