[PATCH v3 0/6] add ubus support to ltq-[v|a]dsl-app
Enrico Mioso
mrkiko.rs at gmail.com
Thu Jan 28 02:53:48 EST 2021
Hi all!
One of the nicest devices I ever used was the Buffalo WBMR-HP-G300H.
I have the hardware, yet not the ADSL line anymore since some days. I'm sorry for that. I would be glad to help if I could find a running ADSL line.
Enrico
On Wed, 27 Jan 2021, Andre Heider wrote:
> Date: Wed, 27 Jan 2021 07:34:05
> From: Andre Heider <a.heider at gmail.com>
> To: Hauke Mehrtens <hauke at hauke-m.de>, openwrt-devel at lists.openwrt.org
> Cc: Rosen Penev <rosenp at gmail.com>, Jo-Philipp Wich <jo at mein.io>
> Subject: Re: [PATCH v3 0/6] add ubus support to ltq-[v|a]dsl-app
>
> On 26/01/2021 23:02, Hauke Mehrtens wrote:
>> On 1/26/21 9:00 AM, Andre Heider wrote:
>>> v3:
>>> - copy dsl_cpe_ubus.c from ltq-adsl-app to ltq-vdsl-app instead of using
>>> a symlink
>>> - squash PKG_RELEASE patches
>>> - move feed patches to PRs:
>>> https://github.com/openwrt/packages/pull/14572
>>> https://github.com/openwrt/luci/pull/4749
>>>
>>> v2:
>>> - drop 0002-ltq-vdsl-app-fix-Wundef-warnings.patch
>>> - use "/dev/dsl_cpe_api" without the "0" suffix for the adsl daemon:
>>> package/kernel/lantiq/ltq-adsl/patches/100-dsl_compat.patch:+
>>> device_create(dsl_class, NULL, MKDEV(DRV_DSL_CPE_API_DEV_MAJOR, 0),
>>> NULL, "dsl_cpe_api");
>>> package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch:+
>>> device_create(dsl_class, NULL, dsl_devt, NULL, "dsl_cpe_api0");
>>> - use callDSLMetrics() for luci, per jo
>>> - add Tested-by tags
>>>
>>> This is to significantly speed up the generation of the metrics.
>>>
>>> The motivation comes from the fact that ~2.6s is just way too
>>> ineffcient for interval based metric collectors like prometheus or
>>> collectd.
>>>
>>> The luci status page also loads/refreshes alot faster.
>>>
>>> $ time /etc/init.d/dsl_control dslstat
>>> real 0m 2.66s
>>> user 0m 0.90s
>>> sys 0m 1.76s
>>>
>>> $ time ubus call dsl metrics
>>> real 0m 0.02s
>>> user 0m 0.00s
>>> sys 0m 0.01s
>>>
>>> The ltq-adsl-app changes are only compile time tested.
>>>
>>> Andre Heider (6):
>>> ltq-vdsl-app: shutdown upon sigterm
>>> ltq-vdsl-app: add ubus support to get metrics
>>> ltq-adsl-app: add ubus support to get metrics
>>> ltq-vdsl-app: use ubus to provide metrics
>>> ltq-adsl-app: use ubus to provide metrics
>>> ltq-dsl-base: remove usused lantiq_dsl.sh
>>
>> Hi Andre,
>>
>> This looks good to me and also thanks Martin Schiller for testing.
>>
>> I would like to merge this in the next days. I do not have an ADSL line
>> or a working Danube board here, did anyone tried this on Danube or
>> Amazon SE? The changes are looking ok and we can wait for people to
>> complain. ;-)
>
> I asked a handful of ppl, but none had the hardware with an adsl setup.
> Maybe it's just not used anymore these days... I tried my best to not
> break it though, but yeah, that was just blind compile-time test.
>
>> @Jow and @Rosen: are the changes in the feed ok? I would also like to
>> merge them in parallel?
>>
>> Hauke
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
More information about the openwrt-devel
mailing list