[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c156c75f-5797-917c-a8f7-ad7620903bf1@nbd.name>
Date: Wed, 22 Dec 2021 12:16:49 +0100
From: Felix Fietkau <nbd@....name>
To: Abhishek Kumar <kuabhs@...omium.org>, kvalo@...eaurora.org,
briannorris@...omium.org
Cc: linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org,
dianders@...omium.org, pillair@...eaurora.org,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, ath10k@...ts.infradead.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] ath10k: enable threaded napi on ath10k driver
On 2021-12-14 23:39, Abhishek Kumar wrote:
> NAPI poll can be done in threaded context along with soft irq
> context. Threaded context can be scheduled efficiently, thus
> creating less of bottleneck during Rx processing. This patch is
> to enable threaded NAPI on ath10k driver.
>
> Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.2.2-00696-QCAHLSWMTPL-1
> Signed-off-by: Abhishek Kumar <kuabhs@...omium.org>
The name of the dummy device should be filled in as well. How about
something like this:
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -3576,6 +3576,9 @@ struct ath10k *ath10k_core_create(size_t priv_size, struct device *dev,
ath10k_core_set_coverage_class_work);
init_dummy_netdev(&ar->napi_dev);
+ snprintf(ar->napi_dev.name, sizeof(ar->napi_dev.name), "%s",
+ wiphy_name(ar->hw->wiphy));
+ ar->napi_dev.threaded = 1;
ret = ath10k_coredump_create(ar);
if (ret)
Powered by blists - more mailing lists