This PR updates the driver to compile with the latest Ubuntu 22.04.3 LTS.
The parameters of netif_napi_add() have been changed in the recent kernel versions. From kernel version 6.1 int weight is not a part of the netif_napi_add()API anymore but is set as a default one:
This PR updates the driver to compile with the latest Ubuntu 22.04.3 LTS.
The parameters of
netif_napi_add()
have been changed in the recent kernel versions. From kernel version 6.1int weight
is not a part of thenetif_napi_add()
API anymore but is set as a default one:https://elixir.bootlin.com/linux/v6.1/source/include/linux/netdevice.h#L2562 https://elixir.bootlin.com/linux/v6.1/source/include/linux/netdevice.h#L2547
The latest version with the old API: 6.0.19 https://elixir.bootlin.com/linux/v6.0.19/source/include/linux/netdevice.h#L2567
insmod
anddmesg
show no errors. However, I can not test the changes in hardware.