Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4078312ybz; Tue, 28 Apr 2020 05:30:22 -0700 (PDT) X-Google-Smtp-Source: APiQypIgsOM7vc+OlE3bUsY74oPnL5v51vi7BedRV2ipFgUYyKrm6piYWbwY02qTRW+EoYF0JYNn X-Received: by 2002:a17:906:ecb8:: with SMTP id qh24mr24086531ejb.299.1588077022718; Tue, 28 Apr 2020 05:30:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588077022; cv=none; d=google.com; s=arc-20160816; b=X36VWYTKQ4av8UGU8eo6RxzYuSgeSH2bsEZHIFGVvHdvIOPEpR8MAMCL2B4LEeYqGx wXByLKTAAt2lY7IlBQjKJUEz3Yp6w0OR5/uUDUJ5lDLETcmCCRCecTiMUrYuOx59gzjF JBI+z/z+45QzZ+3j9LZSS1ZD/+r71lfoz5mKYD0Eq9Ly7lzd70m75jt9Hwsucw1xjzPO 2yc/l8LY8eqVILlw/umnLUc0x65ohuaIHeG7CQ48LIW1hYepjt0XfiU8mjk/TuARtALP MomsJfb56dNrBCvQcplRAnorw4HohCqgtTDEhJFVsyLxQZP2cbEATtByurv8Wv2U2bLp 8zxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=fco1XW6pLNbNH1bTQSneNHaMTNqKruW1B0uX8/WhHVs=; b=yF7SkiGmcenQQzjdwLTgDBpG63fggHzCeDOZZJEdt0sfP7l3njMjAJTMVKUf6cNz3l RM4GcI8Sh/wtUPqq86/LDuYKNO+cdPiDAM7CwJnMXvdabyF6xIaYyhxLjQ9+IvE0MrDV uK/hI2rqwTGtdzP0mHj5dqJ6euxFbVe5ZpN4AjoTF5UymbWDAqZDP8waOcP4Z3oiy8BZ ztMdh7oNKv7m0s048ymriujl1qulL5dRBBpzJMaRBEPxAd4q2145yNCga8QP3wqkzlzN MwYx+5ywvYA6hd5pxP7evftmCGuNrNOacr+tYhreG3eYIXICY4RnA2C//wYKk634Reaa ca+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AmFEmsyf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw6si1469453edb.552.2020.04.28.05.30.00; Tue, 28 Apr 2020 05:30:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AmFEmsyf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726875AbgD1M1m (ORCPT + 99 others); Tue, 28 Apr 2020 08:27:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726763AbgD1M1j (ORCPT ); Tue, 28 Apr 2020 08:27:39 -0400 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7944C03C1A9; Tue, 28 Apr 2020 05:27:37 -0700 (PDT) Received: by mail-il1-x142.google.com with SMTP id f82so19963815ilh.8; Tue, 28 Apr 2020 05:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=fco1XW6pLNbNH1bTQSneNHaMTNqKruW1B0uX8/WhHVs=; b=AmFEmsyfIOpZAYZ0R0mb8Fcj7dtyg5nxj3iXNZn1m2v+dixLWn9hUDhajNZ7RPVjdf 8AfdWsFyqdTXQF8a5MPRbZbhOsR5Cn5H2yaOJ9qENP0ilH+vJhYB1hoiNBYBrQlpOd9Q 79r6+fgwERu8xXYiqLZFrvGJ5WkIc6zv6/CqhwEVYXLDZNheBcac3hHam/VUTkoOQu8j tq1iSKFjbZnwxmDP5m871VTBl+0ycQgvN8Pv+b/It2PTwLEjOvtOTS2CLcUV8KWidvgR vRB2WnDpXiYU93I3Q5oOIPyNoaL97if4axW9n+RCJC/B4DGF//9nDM2xiTNjKXOLrsFR wdGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=fco1XW6pLNbNH1bTQSneNHaMTNqKruW1B0uX8/WhHVs=; b=lQfEGwrxqYCxmXUejkSZneLJpcU1zSlGmg3czHAGqLqM6k3jZRP7Dg2fm27k2lpyNE nbIT2H73whcuscwB1x1VvXxcRsSM6Hc3RCjc16cz7FRn/pQhUpzuLHibBMEILIKr+Gm3 bfvnc+ag0kyyggZ73On6Vsa9BuOm4lQddz8uH3cvJojKmp6vATraGycZE6qT4fDsxWoV 6hKsrLomfl1ddE2zaM6o7uTSJ7uAi357R29ywa7KpoWmTOISDrkpyvKfVl1mRiUCqkCY NG+fhaBw3FUntJ/cFBy/3CTcym71x5RZKlmxVtkvzaS2o8uItMLc4f/Tg6hHSaQRvqt1 B/uw== X-Gm-Message-State: AGi0PubLKFo1SCrUH5aOYzpP6BRhN1MFgeEBqEXXrq4JobKi/xS40ZRk ri5onyFC0CFHlV1vmSH1s/2N/7mE31fPdUf+vRw= X-Received: by 2002:a92:c7a9:: with SMTP id f9mr27216527ilk.0.1588076857153; Tue, 28 Apr 2020 05:27:37 -0700 (PDT) MIME-Version: 1.0 References: <20200205191043.21913-1-linus.luessing@c0d3.blue> <3300912.TRQvxCK2vZ@bentobox> <3097447.aZuNXRJysd@sven-edge> <87blnblsyv.fsf@codeaurora.org> In-Reply-To: <87blnblsyv.fsf@codeaurora.org> From: Dave Taht Date: Tue, 28 Apr 2020 05:27:25 -0700 Message-ID: Subject: Re: [PATCH] ath10k: increase rx buffer size to 2048 To: Kalle Valo Cc: Sven Eckelmann , ath10k , =?UTF-8?Q?Linus_L=C3=BCssing?= , Simon Wunderlich , Linux Kernel Network Developers , linux-wireless , LKML , Ben Greear , "David S . Miller" , =?UTF-8?Q?Linus_L=C3=BCssing?= , mail@adrianschmutzler.de Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 28, 2020 at 5:06 AM Kalle Valo wrote: > > Sven Eckelmann writes: > > > On Wednesday, 1 April 2020 09:00:49 CEST Sven Eckelmann wrote: > >> On Wednesday, 5 February 2020 20:10:43 CEST Linus L=C3=BCssing wrote: > >> > From: Linus L=C3=BCssing > >> > > >> > Before, only frames with a maximum size of 1528 bytes could be > >> > transmitted between two 802.11s nodes. > >> > > >> > For batman-adv for instance, which adds its own header to each frame= , > >> > we typically need an MTU of at least 1532 bytes to be able to transm= it > >> > without fragmentation. > >> > > >> > This patch now increases the maxmimum frame size from 1528 to 1656 > >> > bytes. > >> [...] > >> > >> @Kalle, I saw that this patch was marked as deferred [1] but I couldn'= t find > >> any mail why it was done so. It seems like this currently creates real= world > >> problems - so would be nice if you could explain shortly what is curre= ntly > >> blocking its acceptance. > > > > Ping? > > Sorry for the delay, my plan was to first write some documentation about > different hardware families but haven't managed to do that yet. > > My problem with this patch is that I don't know what hardware and > firmware versions were tested, so it needs analysis before I feel safe > to apply it. The ath10k hardware families are very different that even > if a patch works perfectly on one ath10k hardware it could still break > badly on another one. > > What makes me faster to apply ath10k patches is to have comprehensive > analysis in the commit log. This shows me the patch author has > considered about all hardware families, not just the one he is testing > on, and that I don't need to do the analysis myself. I have been struggling to get the ath10k to sing and dance using various variants of the firmware, on this bug over here: https://forum.openwrt.org/t/aql-and-the-ath10k-is-lovely/ The puzzling thing is the loss of bidirectional throughput at codel target = 20, and getting WAY more (but less than I expected) at codel target 5. This doesn't quite have bearing the size of the rx ring, except that in my experiments the rx ring is rather small!! and yet I get way more performanc= e out of it.... (still, as you'll see from the bug, it's WAY better than it used to be) is NAPI in this driver? I'm afraid to look. > -- > https://wireless.wiki.kernel.org/en/developers/documentation/submittingpa= tches --=20 Make Music, Not War Dave T=C3=A4ht CTO, TekLibre, LLC http://www.teklibre.com Tel: 1-831-435-0729