]> git.ipfire.org Git - thirdparty/openwrt.git/commit
qualcommax: qca-edma: support the kernel 6.18 threaded NAPI API 24031/head
authorJulius Bairaktaris <julius@bairaktaris.de>
Mon, 13 Jul 2026 13:47:39 +0000 (15:47 +0200)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 27 Jul 2026 07:34:39 +0000 (09:34 +0200)
commit83369ca112580e5da7d1d111e706e5efe246f68a
tree408305eeade336be0dc5b347df85ca300346efb5
parentc752530abf2f3ed6f8bd672f0e78447ca6f07fc7
qualcommax: qca-edma: support the kernel 6.18 threaded NAPI API

dev_set_threaded() takes an enum netdev_napi_threaded on 6.18; it was a
bool before. Select the argument on LINUX_VERSION_CODE so the driver keeps
building on the 6.12 main kernel and on the 6.18 testing kernel.

Without this, the 6.18 testing-kernel build fails with
-Werror=enum-conversion on the threaded-NAPI enable added in commit
98108710b6 ("qualcommax: qca-edma: enable threaded NAPI by default").

Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
Link: https://github.com/openwrt/openwrt/pull/24031
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/qualcommax/files/drivers/net/ethernet/qualcomm/qca_edma.c