Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3857679pxb; Tue, 19 Apr 2022 11:11:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9sqYsFI1BfVietRth3GG9iNi5yCYy644L4eIH8tnSJ73QCivxQHb742kTyLtrw1oGuXDq X-Received: by 2002:a17:906:640a:b0:6e8:643a:7646 with SMTP id d10-20020a170906640a00b006e8643a7646mr14741222ejm.751.1650391919357; Tue, 19 Apr 2022 11:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650391919; cv=none; d=google.com; s=arc-20160816; b=Cfr/+FJf2kftyxRCrC3iIxTOmFVosRlk68dD3PS4zYbyWd8+2MtaqhB/6V5CUIfvO0 1C6/37HjxVYSA03PWpEOXanN2eI0bcERioJBBJixOI05WEUKd3B//4cUh1hm1QJauHJ0 Jv7cCL/mMN1wIVTUhW//QS45KP74nP8pXgcREYXi2hRAXeczX4zX+2lyxXq0neex0MxJ oorJTnXR0/xX8VOpfgf2W68jCX8ufFo+TGYOcOsgsPvUWEvsqjZGHje6FB5nFtmId2dD 3cpvTVYKDUYPLNDhJ/u7+pnXBBHiDESSNjNuYHPnhjsKXoTUZmvVteFj21nRh+jUUi4g 3X5Q== 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=hqHR0ImHwibt6Y6o1QCx2/fKCQEMa6EyUc6UvVMJ+Hw=; b=jD/dWeKwnA5sgPrlM60JLGo0shAN4ovzbPw1WK+I9YBrKRGnhwmZxiaICvxqam8O9R x1jHIlX6eD7U2iLQxLjcXR3OqsNwwfwiFFJ48/2jBJNkmRoIeJprtW9aewpGFWGijZ2b rrsrjOjq1K01eACx6DV1kbcskkW0J4pWKLAdRFoDejxAO1gIyZY9IyRW3DWAvCkzdUgn ci29YjuMlErlb8MRgrCc2gHD5L5uy7euDYnvKQkshygQy9SXVeS7XkfiSCLHecgpYXh6 6qXZ+1cmyGQDHNf4xUZdASKnMlHJHXHKnvZraf8IslfUJumHD50OToGADZwPMrnVj2dM gnFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cRDHbz0O; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z18-20020a05640240d200b00423e88cfbe1si4906029edb.588.2022.04.19.11.11.33; Tue, 19 Apr 2022 11:11:59 -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=@gmail.com header.s=20210112 header.b=cRDHbz0O; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245510AbiDRPzp (ORCPT + 67 others); Mon, 18 Apr 2022 11:55:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345925AbiDRPzZ (ORCPT ); Mon, 18 Apr 2022 11:55:25 -0400 Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0423326C8 for ; Mon, 18 Apr 2022 08:42:50 -0700 (PDT) Received: by mail-vs1-xe2f.google.com with SMTP id t202so68663vst.8 for ; Mon, 18 Apr 2022 08:42:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hqHR0ImHwibt6Y6o1QCx2/fKCQEMa6EyUc6UvVMJ+Hw=; b=cRDHbz0O9ZpM4OKWlxmCnXq1sqezyoD4H0IoEg7fvbN5nD06uHZgjAR8koBHKZYkLs 4wPhLtRPTszrjKhiOGClhG4hDuJ0HVr7YXCANbWabJdwVlZic3nYLBG6usuRFMROMdYV kCJO1p4sjhvn4wnRVrOQxAL8eSNDuhDa+ijQT6HVtz080cV6j4YPj/tpWWEDtDDAbDoa r8KjbDB2+03vVPvvPb2MJ+sNKNcRfVP83g2vsHzreNCJl94aB6ZRaHkeX2CVZoWdn2+r 9kGuk9In2hc/D1F5NY3eaae9qLLBNW5A6mYh/cKliUCChBhB3euKkgluZxDkWSQwWUVs fCCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hqHR0ImHwibt6Y6o1QCx2/fKCQEMa6EyUc6UvVMJ+Hw=; b=Eqng5rEJO987R/ilfF+fK0ObsJAZ82IHGDcmA+af4R+0rKl4m/aFll7+P4vIw3qh0P ZowlRaDnhnPdq6L/TYuzr57FDLqYmD4OLrprmYXIE56WFAFo/7fsLocOLy8zXna3ot0c rro5kMKq7A6OFkt9g48c5EiYHxowsAueP3zuvhyeQcxHVhIgjrE2gMhYcXEA6GAGL1oh nqDRu876PwxwIcnZ5v3ajiW9z1NLZQeBqhWgyIlkUl1D6Ihg9C/h2Zgoah4aXN2+drT9 0c1cJGoHoDBTKxHXmJ/VlRIb1Tg4f2uVAvoQ64lxw18I0lRQsJzV5TEGW84mTwO6MYPg Spkg== X-Gm-Message-State: AOAM532Gb/2Ujs2F4YNIbPdC38/P9KpP6ikTwq7f1VLckWkcOKaG8df2 oFFr1SdCbwAQWodhytQ+F8jCvbzlZ+M009THVyiYapTWnVo= X-Received: by 2002:a05:6102:a8e:b0:325:aa27:35a7 with SMTP id n14-20020a0561020a8e00b00325aa2735a7mr2839149vsg.50.1650296569875; Mon, 18 Apr 2022 08:42:49 -0700 (PDT) MIME-Version: 1.0 References: <20220402153615.9593-1-ryazanov.s.a@gmail.com> <87v8vps4jg.fsf@kernel.org> In-Reply-To: <87v8vps4jg.fsf@kernel.org> From: Sergey Ryazanov Date: Mon, 18 Apr 2022 18:42:39 +0300 Message-ID: Subject: Re: [PATCH RFC 0/3] ath10k: add encapsulation offloading support To: linux-wireless@vger.kernel.org Cc: ath10k@lists.infradead.org, Kalle Valo 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,FREEMAIL_FROM, 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 Mon, Apr 4, 2022 at 10:15 AM Kalle Valo wrote: > Sergey Ryazanov writes: >> Hello, >> >> this series introduces driver support for hardware encapsulation >> offloading feature. >> >> The main goal of the series is an overall improvement of system >> performance. On a QCA9563+QCA9888-based access point in bridged mode, >> encapsulation offloading increases TCP 16-streams DL throughput from >> 365 to 396 mbps (+8%) and UDP DL throughput from 436 to 483 mbps (+11%). >> >> The series consist of three patches, the first two prepare the code, and >> the last one introduces the offloading support itself. The first patch >> reworks transmission status reporting to make it flexible enough to >> support 802.11 and Ethernet encapsulated frames reporting. The second >> patch reworks the module parameter that configures the main >> encapsulation format of frames that are passed from the driver to the >> hardware. It makes it possible to configure more encapsulation methods >> than just raw or not-raw. And, as stated before, the third patch >> actually introduces offloading support. It changes a couple of frame >> analysis places along the xmit path and starts reporting offloading >> support to mac80211 via the corresponding hw attribute. >> >> The new feature has been extensively tested with QCA9888 and works well, >> but it may introduces some regression for other untested chips. So the >> series is just an RFC for now. > > This looks very good to me. But the testing part concerns me as well, it > would be good to have some quick testing at least with QCA6174/QCA9377 > PCI devices to make sure we don't break those. Preferably also > QCA6174/QCA9377 SDIO devices should be tested, they work somewhat > differently. Can anyone help? Is any brave tester trying to improve the performance of their system with this change? Can I resend it as a regular patch? -- Sergey