]> git.ipfire.org Git - thirdparty/openwrt.git/commit
qualcommax: qca-edma: enable threaded NAPI by default
authorRobert Marko <robimarko@gmail.com>
Mon, 13 Jul 2026 08:39:43 +0000 (10:39 +0200)
committerRobert Marko <robimarko@gmail.com>
Mon, 13 Jul 2026 10:34:33 +0000 (12:34 +0200)
commit98108710b65b07e2b2bb4c0e0727b9830709493b
treee9ee290878bbd88320d819b34f24c69ba0a4cedc
parentd2d1107057f68f035cc6b723feeedde13d713429
qualcommax: qca-edma: enable threaded NAPI by default

Run the EDMA RX and TX NAPI poll loops in dedicated kernel threads by
default. This allows the threads and their interrupts to be placed on
separate CPUs and avoids overloading a single softirq context.

If thread creation fails, dev_set_threaded() leaves NAPI in softirq mode
and the driver reports the failure.

Link: https://github.com/openwrt/openwrt/pull/24203
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/files/drivers/net/ethernet/qualcomm/qca_edma.c