netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] PKT_SCHED: Convert Qdiscs to use generic network statistics/estimator
@ 2004-10-07  1:01 Thomas Graf
  2004-10-07  1:03 ` [PATCH 1/5] PKT_SCHED: Replace tc_stats with new gnet_stats in struct Qdisc Thomas Graf
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Thomas Graf @ 2004-10-07  1:01 UTC (permalink / raw)
  To: David S. Miller; +Cc: Jamal Hadi Salim, netdev

Dave,

This patchset converts Qdiscs to use the generic network
statistics/estimator. A new TLV type TCA_STATS2 is introduced
carrying the new statistics while the old TLV type TCA_STATS
is still provided for backward compatibility.

Patch 1: Replace tc_stats with new gnet_stats in struct Qdisc
Patch 2: Use gnet_stats API to copy statistics into netlink message
Patch 3: Introduce gen_replace_estimator
Patch 4: Use generic rate estimator
Patch 5: Qdisc are not supposed to dump TCA_STATS themselves

I tested these patches for a few days and didn't encounter
any problems. iproute2 is able to read out statistics via
backward compatibility. A slightly patched iproute2 can
read the new statistics.

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

end of thread, other threads:[~2004-10-20  1:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-07  1:01 [PATCH 0/5] PKT_SCHED: Convert Qdiscs to use generic network statistics/estimator Thomas Graf
2004-10-07  1:03 ` [PATCH 1/5] PKT_SCHED: Replace tc_stats with new gnet_stats in struct Qdisc Thomas Graf
2004-10-07  1:04 ` [PATCH 2/5] PKT_SCHED: Use gnet_stats API to copy statistics into netlink message Thomas Graf
2004-10-07  1:05 ` [PATCH 3/5] PKT_SCHED: Introduce gen_replace_estimator Thomas Graf
2004-10-07  1:07 ` [PATCH 4/5] PKT_SCHED: Use generic rate estimator Thomas Graf
2004-10-07  1:08 ` [PATCH 5/5] PKT_SCHED: Qdisc are not supposed to dump TCA_STATS themselves Thomas Graf
2004-10-09 15:48   ` jamal
2004-10-09 16:26     ` Thomas Graf
2004-10-09 16:41       ` jamal
2004-10-09 16:56         ` Thomas Graf
2004-10-20  1:19 ` [PATCH 0/5] PKT_SCHED: Convert Qdiscs to use generic network statistics/estimator David S. Miller

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