the drivers fail to build on RH 9.6
On kernel 5.14.0-570.17.1.el9_6 the driver build fails with the error below. Kernel structure ethtool_ts_info was renamed to kernel_ethtool_ts_info . Changing the structure name fixes the issue.
make[2]: Entering directory '/usr/src/kernels/5.14.0-570.17.1.el9_6.x86_64' CC [M] /data1/home/ykulik/exanic-software-2.7.5/modules/exanic/exanic-main.o CC [M] /data1/home/ykulik/exanic-software-2.7.5/modules/exanic/exanic-filter.o CC [M] /data1/home/ykulik/exanic-software-2.7.5/modules/exanic/exanic-ctx.o CC [M] /data1/home/ykulik/exanic-software-2.7.5/modules/exanic/exanic-dev.o CC [M] /data1/home/ykulik/exanic-software-2.7.5/modules/exanic/exanic-netdev.o /data1/home/ykulik/exanic-software-2.7.5/modules/exanic/exanic-netdev.c:1668:31: error: initialization of ‘int (*)(struct net_device *, struct kernel_ethtool_ts_info )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_ts_info *)’ [-Werror=incompatible-pointer-types] 1668 | .get_ts_info = exanic_netdev_get_ts_info, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /data1/home/ykulik/exanic-software-2.7.5/modules/exanic/exanic-netdev.c:1668:31: note: (near initialization for ‘exanic_ethtool_ops.get_ts_info’) cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:249: /data1/home/ykulik/exanic-software-2.7.5/modules/exanic/exanic-netdev.o] Error 1 make[2]: *** [Makefile:1947: /data1/home/ykulik/exanic-software-2.7.5/modules/exanic] Error 2 make[2]: Leaving directory '/usr/src/kernels/5.14.0-570.17.1.el9_6.x86_64' make[1]: *** [Makefile:27: default] Error 2 make[1]: Leaving directory '/data1/home/ykulik/exanic-software-2.7.5/modules/exanic' make: *** [Makefile:9: modules] Error 2
yeah, simple is quite simple , but official CISCO position is
"Currently RHEL 9.6 support is targeted for release Q1 CY 2026 per the DE."
Nice work guys, thanks for that! Renaming the structure fixed the build for us. See attached a patch that applies against master and builds on:
- Fedora 40
/usr/src/kernels/6.14.5-100.fc40.x86_64 - RL9.6, 9.5 and 9.4, kernels
/usr/src/kernels/5.14.0-570.18.1.el9_6.x86_64/,/usr/src/kernels/5.14.0-503.40.1.el9_5.x86_64and/usr/src/kernels/5.14.0-427.24.1.el9_4.x86_64 - RL8.10 and 8.9, kernels
/usr/src/kernels/4.18.0-553.51.1.el8_10.x86_64and/usr/src/kernels/4.18.0-513.5.1.el8_9.x86_64Thanks again for keeping the flame alive haha!