kernelkit / infix

Linux :yellow_heart: NETCONF = Infix
https://kernelkit.org
GNU General Public License v2.0
52 stars 12 forks source link

Minor fixes for the R2S and similar boards #699

Closed troglobit closed 1 month ago

troglobit commented 1 month ago

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