Skip to contentSkip to conversation

interface counters overflow (ppp)

DISCUSSION Denys Fedoryschenko 2 participants 2 messages Dec 11, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Is there any plans to convert ppp counters to 64-bit values? Sure backward compatible way. (new ioctl call?)

Current speeds on modern interfaces, even on 1Mbit DSL modem (PPPoE connection) will overflow pppd counters just in ~10 hours.

Current pppd implementation using SIOCGPPPSTATS ioctl, where is all fields related to byte counting is 32-bit.

#1 lore raw
Quoted 8 lines · Denys Fedoryschenko

Is there any plans to convert ppp counters to 64-bit values? Sure backward compatible way. (new ioctl call?)

Current speeds on modern interfaces, even on 1Mbit DSL modem (PPPoE connection) will overflow pppd counters just in ~10 hours.

Current pppd implementation using SIOCGPPPSTATS ioctl, where is all fields related to byte counting is 32-bit.

Perhaps it could implement ethtool stats? There are several non- Ethernet drivers implementing some of the ethtool operations now.

Ben.

Signature · 3 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.