OpenWrt/LEDE Project

  • Status Unconfirmed   Reopened
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Juliusz Chroboczek - 27.02.2017
Last edited by Yousong Zhou - 15.05.2017

FS#559 - No Ethernet statistics on ag71xx

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

Project Manager
Yousong Zhou commented on 04.05.2017 10:31

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.

Juliusz Chroboczek commented on 14.05.2017 13:38
Juliusz Chroboczek commented on 15.05.2017 02:16

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

Project Manager
Yousong Zhou commented on 15.05.2017 02:16

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.

Konstantin Vasin commented on 09.07.2017 20:26
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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing