Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp337490rwn; Thu, 8 Sep 2022 02:21:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Zk7o4W3sTI9tPaxZUdszxsF8TWEhIn39oiCvXJOQWHUHsryI9F/a5G4y66DL/h4Ggluec X-Received: by 2002:a17:902:a60b:b0:176:7707:a711 with SMTP id u11-20020a170902a60b00b001767707a711mr7733603plq.144.1662628862132; Thu, 08 Sep 2022 02:21:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662628862; cv=none; d=google.com; s=arc-20160816; b=znwEHzkPcja1FDrXGaOGzEHO+GJdkQtBPdzUICGmFk1WSJcxCC9aGPwkU0tGybaDbG wMZvjy6g3BowjWsIfjwwhtK8Jmt/15eMJi0VJ5fLBwlXeWzp5EMuqPyZlDizrx4MsEqw nGHuNwIn1FgP6jBpxhx4Fw+L01qLTO9McRjaI0cDzKeRJaivGGDpnmLifm6Q2vTSdk/+ a1TLqFbSEwFQbs4OAJEPeoAjc00eg6fI5t53D2rFqUm5k+X6JgCTtOsTsGXUYx0HZLDo JeKU20bVoFC0endV1ry/7lU3U1uu6FablVYcYbw0oLkaEo+Q26jDqCvU2MWM0Dp/0/We 1FCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=WLlwnXfj/irDDa0dEvEsLrqy7lTcKeXB93kP8oPhx0Y=; b=eizT1SEbDhHyOFb6qK3SWlreNXeYLidko7EPsWN5RwEi9d61VEtKMgzvkKZ3VgIkdG 6A9NVP/b/6/gmjgjqBq4nm99UopC33coiSk01QpVXzGcMz2oCMHWf1xfF4ZQClJp7znF yoIcMwTjZI+owJIzzq7Yme6qdhYeXKcpjGVFg6hqdQiLiJF6TKtZNKjQuqpKrHKKeIbO 5pUluBHXouogtDR2RORrWaUmsh/EcDqF86d5NXE1Fuh3pCAh6Wo0QWsihPKlXJ6kiHvg dkwBkFFnLv0dug64QnOS3v/xWlHs/Lui5WyPw0SdB3ER7LG9J1E8krx83gWh2RxqTyvT 57rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura.hr header.s=sartura header.b=Fzulh4AU; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=sartura.hr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nt2-20020a17090b248200b0020078b1be88si1665248pjb.23.2022.09.08.02.20.50; Thu, 08 Sep 2022 02:21:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sartura.hr header.s=sartura header.b=Fzulh4AU; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=sartura.hr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230354AbiIHIuc (ORCPT + 63 others); Thu, 8 Sep 2022 04:50:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231756AbiIHIuH (ORCPT ); Thu, 8 Sep 2022 04:50:07 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E70C19C12 for ; Thu, 8 Sep 2022 01:49:42 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id p1-20020a17090a2d8100b0020040a3f75eso1672569pjd.4 for ; Thu, 08 Sep 2022 01:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=WLlwnXfj/irDDa0dEvEsLrqy7lTcKeXB93kP8oPhx0Y=; b=Fzulh4AUggvpIuY5gd8Yy5z75WYtgdhYx2GB+fJ8UUnN+VsjQS79jCIl+yWOssoZx3 2wuuWlNx1kVlyKehAKpzdt2qMeOt+SQ/LsZtJ4MNZDQ8UjpuRyQvI5XqIvmCGDxCdCRI O1BfCfv/qbRfIvmlDV5LzqdDSJuP5yAjS2fi/QoqF9XtqVilWYOPHy8WD7HTH+7UbygW ik53HJ/nk4qXc9UojxLeJynSiKXGLopvEBuN5mIsRZkRlaRqClNNApj8pGC7eptaDMKG VXK+5G2h2cmsR8zrsutL2Vxzc5ITa0HBLGAGiKINNO0FDRLt5nrHk5bpWKFI+/33CoZb Cljw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=WLlwnXfj/irDDa0dEvEsLrqy7lTcKeXB93kP8oPhx0Y=; b=bjBtAKGcw8jqgT6F+SvrBM8w6WzCVYOtzMAaFZxE3XUKoi20Cw2yL4r2X+zpx1ruRc bDjuoa60pY+0lOeh/GNDyVFSNwfmbKP0tVNKszZX70iNnzcBF0ehDLsG7AwBD4IIEWci NYsRdd/nDhwAREQGMcj0FagpGy55zqRSQTmlcEUfBeC0R36jj3GQbSGP/jmkkvONf9WY WeFtNwv5rIZHKdeFdT75BexpA47KU30/plp9UelvbU9f7JnKjqPsSduW/FwBVKLcKlct 6Or1X33tBG2J9yYl62hF2Wpv4iSvjNFUtOMWpr/dhXUmWj7hPBktQX+G1tgSkeLk9M2E 3C2g== X-Gm-Message-State: ACgBeo1gcpjYprZoXkUSjAXSNmEwkJu8cHDunKndegMPxcPJZ+2XpmHA 46EFBQRnjHMnVNstcWttPh3rulemN4ACs6UWG6M5HA== X-Received: by 2002:a17:90b:4a8e:b0:1fe:1df3:bb11 with SMTP id lp14-20020a17090b4a8e00b001fe1df3bb11mr2987266pjb.22.1662626981574; Thu, 08 Sep 2022 01:49:41 -0700 (PDT) MIME-Version: 1.0 References: <20220720135113.15755-1-quic_mpubbise@quicinc.com> <20220720135113.15755-2-quic_mpubbise@quicinc.com> <87czceaqng.fsf@kernel.org> <7615c815-ca2e-c6f1-b627-6e10f1272442@quicinc.com> <5c07bcd5-574c-b13b-44c2-ef8ed9f23cf0@quicinc.com> <878rmucqhu.fsf@kernel.org> In-Reply-To: <878rmucqhu.fsf@kernel.org> From: Robert Marko Date: Thu, 8 Sep 2022 10:49:30 +0200 Message-ID: Subject: Re: [PATCH 1/3] ath11k: Enable threaded NAPI on WCN6750 To: Kalle Valo Cc: Manikanta Pubbisetty , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, Sep 8, 2022 at 8:46 AM Kalle Valo wrote: > > Manikanta Pubbisetty writes: > > > On 9/2/2022 7:16 PM, Robert Marko wrote: > >> On Fri, Sep 2, 2022 at 3:42 PM Manikanta Pubbisetty > >> wrote: > >>> > >>> On 9/2/2022 6:50 PM, Robert Marko wrote: > >>>> On Fri, Sep 2, 2022 at 3:18 PM Manikanta Pubbisetty > >>>> wrote: > >>>>> > >>>>> Regardless of the chip family, even I feel that the tput changes like > >>>>> these should be tested on all the chipsets. Availability of the hardware > >>>>> and time are something which are stopping me in testing the changes on > >>>>> all supported targets. > >>>>> > >>>>> As I said, I had made the changes only to WCN6750 initially (using a > >>>>> hw_param). Can we take that approach for now and enable this for other > >>>>> targets only if required & upon thorough testing? > >>>> > >>>> I can tell you that on IPQ8074 threaded NAPI really improves perfromance. > >>>> > >>> > >>> Great. Do you have any test results on IPQ8074? > >> > >> I dont have full test results, but on Poco F2 Pro as the client @80MHz AX > >> I got ~720Mbps compared to ~550Mbps before. > >> > >> I can tell you that in OpenWrt, we have had it enabled for 6+ months > >> at this point > >> and its been really good. > >> > > > > That's a significant improvement, great to hear that. We have another > > strong reason to have this change in upstream driver. > > Indeed, thanks Robert. Is the code in openwrt similar as what > Manikanta's patch does? Hi, It's actually identical, we are also just calling dev_set_threaded before napi_enable. Regards, Robert > > -- > https://patchwork.kernel.org/project/linux-wireless/list/ > > https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches -- Robert Marko Staff Embedded Linux Engineer Sartura Ltd. Lendavska ulica 16a 10000 Zagreb, Croatia Email: robert.marko@sartura.hr Web: www.sartura.hr