Fix CLI show interfaces on NICs that don't support reading RMON counters in JSON format, primarily NanoPi R2S.
The JSON format is only supported over the new CONFIG_ETHTOOL_NETLINK, which currently does not work with the Realtek NIC drivers on the R2s. Enabling CONFIG_ETHTOOL_NETLINK causes the ethtool commands, issued by confd to set autoneg, to fail. This leads to dagger failing, dragging down startup-config and failure-config in the process.
Other information
Another fix on this branch is sync of defconfigs and enabling BR2_PACKAGE_LIBMNL for the x86_64 targets, fixing the syslog message "devlink: command not found".
Checklist
Tick relevant boxes, this PR is-a or has-a:
[x] Bugfix
[ ] Regression tests
[ ] ChangeLog updates (for next release)
[ ] Feature
[ ] YANG model change => revision updated?
[ ] Regression tests added?
[ ] ChangeLog updates (for next release)
[ ] Documentation added?
[ ] Code style update (formatting, renaming)
[ ] Refactoring (please detail in commit messages)
Description
Fix CLI
show interfaces
on NICs that don't support reading RMON counters in JSON format, primarily NanoPi R2S.The JSON format is only supported over the new
CONFIG_ETHTOOL_NETLINK
, which currently does not work with the Realtek NIC drivers on the R2s. EnablingCONFIG_ETHTOOL_NETLINK
causes theethtool
commands, issued byconfd
to set autoneg, to fail. This leads todagger
failing, dragging downstartup-config
andfailure-config
in the process.Other information
Another fix on this branch is sync of defconfigs and enabling
BR2_PACKAGE_LIBMNL
for the x86_64 targets, fixing the syslog message "devlink: command not found".Checklist
Tick relevant boxes, this PR is-a or has-a: