Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3130407pxb; Mon, 4 Apr 2022 08:27:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtMfuAfP6dxz78iOfSbvUAOI9t+cWYSIUwCW2Cpc+2FDtCzTq+M4hm0PFVi2mhO8k9CrNQ X-Received: by 2002:a17:902:a9c5:b0:156:32bf:b526 with SMTP id b5-20020a170902a9c500b0015632bfb526mr589205plr.46.1649086055548; Mon, 04 Apr 2022 08:27:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649086055; cv=none; d=google.com; s=arc-20160816; b=rLgcVWbHltKaq+HDwf8AfNWre1KkpsYHBQvvoRn2VqScqLD9QxYVSH/lXdz1rJWaak WvF68k9pAHPWTYTUgtnc5bqwbfvHm/fGwzuH52+J4k4AndG6cpQSwYrZxbEEX5nguSXN tqOwr97+eAwjBdy2tpCgBJKD9vOmj8/ROOKhuCXFsMIqxN4iWgos5Jl7uxsHVx/PZdKN rP1qwWlNs7DB+ULLpjZZNjpYDbrUFkiyAL50k7QvLU49UURlPjdcio9iIpktoE9TKWgB 1fSwfvgbrZ/TOIkka7zJ35McBAy/DFht3aO0Dt3nVWU0vG3KJB/ss5cPqnkOIy+9GYMQ PUTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=muRXYBtS8DUAz4jpBm/u5LL2Ui66mYoCPwQU2SRioK8=; b=uPZjSU6sT7gM4n3pnM2ZT5zwegXpB1m8n/3YVnABoHQ4ITnFeMUqom4IlUh7HyXqkV 11qKFPZiROzrBUR7bsvR6iYF6kt7ZyDj/VDWvrvRZIXEem9wev5LKBwGwiB5l1hSZQEB +HQjDjXxeDwm4o9zCtaUJqmqMitLnFVBZ9zt8sCqWozjlupYvOwOiF8ExzHGiSh/Nml4 KZshUr9GGjgBWohpo4GafO2vcIvkr7ZT01kNf2CCtM5WhGfc81uaqZ4Wdcvllrep8kcc LTZAn6LglsONqAh81grTGlqlbgZowxeMZ+xZrNEEIhbAqdkt+wq37GeHLOma2VDwMeHJ CEKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sW9LQZuy; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z18-20020a170903019200b00156a2cedc71si3778070plg.20.2022.04.04.08.27.20; Mon, 04 Apr 2022 08:27:35 -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=@kernel.org header.s=k20201202 header.b=sW9LQZuy; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243837AbiDDHRS (ORCPT + 69 others); Mon, 4 Apr 2022 03:17:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234334AbiDDHRR (ORCPT ); Mon, 4 Apr 2022 03:17:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E1121E3E2 for ; Mon, 4 Apr 2022 00:15:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7247CB80E83 for ; Mon, 4 Apr 2022 07:15:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A3A9C2BBE4; Mon, 4 Apr 2022 07:15:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649056519; bh=33JNaffd8otlV35YViy6jbj0lroij12UsvFEKWkDUX0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=sW9LQZuy5V2Si3gEkIjeOIOiAQBRX6aglO6grAFRG9O9pw26ieOEBWrtM/X2XyeUA eTrLOm6sfxpud/rFZx77fief7nxdJfWg0TaSuol3rGNGNh7axFCk+uyvlqw6Sh5Xmt 4QmBhgWbaF12XqC8LOdIE8xuMEphoME2LZuTP3HNYcZtTdCV8efS0HuBZh1u5j4Pn1 RejfZws/kQPA5ByQGubSq4MBHsR854bYJmaAxGH2nBkhrVGsFugQOpcWuO8aTgowEM hLfMvBSnmCWsNszYkZ0hiWfrfvNeJ0eG9LoNbba7keXTZdo71DQWcQ8ecyTB2TMGPj EigQjLnCGK36Q== From: Kalle Valo To: Sergey Ryazanov Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH RFC 0/3] ath10k: add encapsulation offloading support References: <20220402153615.9593-1-ryazanov.s.a@gmail.com> Date: Mon, 04 Apr 2022 10:15:15 +0300 In-Reply-To: <20220402153615.9593-1-ryazanov.s.a@gmail.com> (Sergey Ryazanov's message of "Sat, 2 Apr 2022 18:36:12 +0300") Message-ID: <87v8vps4jg.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 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? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches