Skip to content

ltq-vdsl-app: add error vector counters to the ubus metrics #4633

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

Closed
wants to merge 2 commits into from

Conversation

dhewg
Copy link
Contributor

@dhewg dhewg commented Oct 4, 2021

These are useful stats to debug vector related line deteriorations, see [0].

Example output:

    "erb": {
	    "sent": 169925,
    	    "discarded": 0
    }

[0] https://forum.openwrt.org/t/vectoring-on-lantiq-vrx200-vr9-missing-callback-for-sending-error-samples/104046

dhewg added 2 commits October 4, 2021 08:59
Refactor so that the outer function opens and closes the mei fd and
passes it around, just as with the main fd.

That also allows us to use the IOCTL macro in get_vector_status() and
clean up accordingly.

Switch to AUTORELEASE while at it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
These are useful stats to debug vector related line deteriorations,
see [0].

Example output:
    "erb": {
	    "sent": 169925,
	    "discarded": 0
    }

[0] https://forum.openwrt.org/t/vectoring-on-lantiq-vrx200-vr9-missing-callback-for-sending-error-samples/104046

Signed-off-by: Andre Heider <a.heider@gmail.com>
@dhewg
Copy link
Contributor Author

dhewg commented Oct 4, 2021

/cc the usual lantiq/dsl suspects @feckert @mkresin @hauke @jekkos

@adschm adschm added the core packages pull request/issue for core (in-tree) packages label Oct 4, 2021
@jekkos
Copy link
Contributor

jekkos commented Oct 5, 2021

Thanks for these changes @dhewg . Installed them on my device and works great.

Tested-by: Jeroen Peelaerts jeroen@steganos.dev

@hauke
Copy link
Member

hauke commented Oct 20, 2021

Thank you for the patches, I applied them to master.

@hauke hauke closed this Oct 20, 2021
@dhewg dhewg deleted the dsl-ubus branch October 21, 2021 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants