mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-02 11:27:48 +00:00
ipq807x: enable threaded napi on ethernet
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
committed by
John Crispin
parent
7efb85180f
commit
673a029a02
11
feeds/ipq807x/qca-nss-drv/patches/200-napi_threaded.patch
Normal file
11
feeds/ipq807x/qca-nss-drv/patches/200-napi_threaded.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/nss_hal/nss_hal.c
|
||||
+++ b/nss_hal/nss_hal.c
|
||||
@@ -306,6 +306,8 @@ int nss_hal_probe(struct platform_device
|
||||
* Initialize the dummy netdevice.
|
||||
*/
|
||||
init_dummy_netdev(&nss_ctx->napi_ndev);
|
||||
+ strcpy(nss_ctx->napi_ndev.name, "nss");
|
||||
+ nss_ctx->napi_ndev.threaded = 1;
|
||||
|
||||
for (i = 0; i < npd->num_irq; i++) {
|
||||
err = nss_hal_register_irq(nss_ctx, npd, &nss_ctx->napi_ndev, i);
|
||||
Reference in New Issue
Block a user