Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#559 - No Ethernet statistics on ag71xx #5518

Open
openwrt-bot opened this issue Feb 27, 2017 · 5 comments
Open

FS#559 - No Ethernet statistics on ag71xx #5518

openwrt-bot opened this issue Feb 27, 2017 · 5 comments
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Feb 27, 2017

jch:

On WNDR3700v2:

# ethtool -i eth1 | head -n 2
driver: ag71xx
version: 0.5.35
# ethtool -S eth1
no stats available

The only statistics available are the ones provided by ifconfig, but I'm not sure whether that is accurate — I'm not seeing any drops even under load.

Note that statistics are available on the switch (through swconfig show), it's only the SoC's interface that's impacted.

(While I'm at it, the driver is incomplete in other ways — there's no support for Pause frames or for scatter-gather, although a quick read of the datasheet indicates that it should be possible to implement these features. I'm not sure that's important, though.)

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented May 4, 2017

yousong:

Some stats will be available in debugfs when the following options are enabled

CONFIG_AG71XX_DEBUG=y CONFIG_AG71XX_DEBUG_FS=y

But it's true that relevant ethtool interface is not implemented yet.

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented May 14, 2017

jch:

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented May 15, 2017

jch:

Please leave open, even though nobody is working on it. This is a confirmed issue.

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented May 15, 2017

yousong:

Okay, I see. There is actually a "Feature Request" Task Type.

It's a request for a feature that is good-to-have, but also seems to be not a priority for people viewing the tasklist thus far

I closed it mainly because "issues" like these will very likely rot in the tracker over time and accumulate to a point to make real bugs a minority. That will frustrate people I think.

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Jul 9, 2017

zentorin:

But it's true that relevant ethtool interface is not implemented yet.

For ethX interface, we can use CPU port statistics.
If this solution is correct, I can try to implement it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant