Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2959878pxu; Sat, 19 Dec 2020 07:22:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIXZrzNmcg3GhM9kCUZlw2AApyKMpQamUp37XJAW6Rm3D4RdB5eTI0s1uqs89VAks2dfy1 X-Received: by 2002:a17:906:1102:: with SMTP id h2mr8605616eja.296.1608391321948; Sat, 19 Dec 2020 07:22:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608391321; cv=none; d=google.com; s=arc-20160816; b=vo9gDuk/ai6PiUWByOtys84sdJC0xkofYdLFfbVZO4dg0DJtVPtfLC1gPfm0fu7tt4 22BKHTkrlebpd/A8DrX+rmKbSDye/ZiYJzY5BWfsP7MW8I51qAAXI5ieS0dvj68TSX2F TPRe69zuHPf8jliHSzE64W9TMq8f4bWkfWQJoQLvQUtwMivf0dwWHQ8lVfEjZoc798NG xzNRaLlS8dFyCNVDx13KcX+3VtKsd2DV9veLWO5GSfVjyXuhGh19qw2BMbpNWyDLBMJw fQiBSeeAqFbNj2sr3tX9eb0YbFiPYJz2XQeZmHolHyO2iT5+LrlegeXkF0ZpEx90bH+O Rmng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=d4s6Lw8QOcYYX9Aw721C6C1Y36tR6UhAW0l9adzuoJM=; b=WGli/EmTaGZgAjL6J+n464VeL0IBY3FqhIz6g/hlrwYe5+H/zE7u5rn19EepgKpLjS RnOELt2p62soZKqHsMtfoLcOMwyyNOBvE/Ek/Sx/1oXcubOHFBsbsBM2intk+VQfqucE tITB+wc2jPagpz5Dk6uJhZQV5r1/AuuKCV+BQriuwBqJO5PtR9r26p04Jm0P3ogIz4jM wpJr4Q7239xSJsl4wF8wGVi5JEnkMXlToVLv4Xhpk5bnZ4GLAMZfbK+RxAhXdDzrflb3 dngMHmDEvOszVo75HIV77grwlZxxT7J+t1kvXjexiCnGY3SBx/2o9UlRpRMJsFeWjTFw 1Jug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k3si8069639edr.372.2020.12.19.07.21.34; Sat, 19 Dec 2020 07:22:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726724AbgLSPTe (ORCPT + 99 others); Sat, 19 Dec 2020 10:19:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726578AbgLSPTe (ORCPT ); Sat, 19 Dec 2020 10:19:34 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D2FBC0617B0; Sat, 19 Dec 2020 07:18:53 -0800 (PST) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94) (envelope-from ) id 1kqe0H-00Bye3-DL; Sat, 19 Dec 2020 16:18:41 +0100 Message-ID: <9003ea3720a03b4bd1b8abf3d8f645563a58f953.camel@sipsolutions.net> Subject: Re: net: tso: add UDP segmentation support: adds regression for ax200 upload From: Johannes Berg To: Jakub Kicinski , Ben Greear , Luca Coelho Cc: Eric Dumazet , netdev , linux-wireless@vger.kernel.org Date: Sat, 19 Dec 2020 16:18:40 +0100 In-Reply-To: <20201218121627.603329b2@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> References: <5664fa0f-aef2-c336-651a-093c9eed23ab@candelatech.com> <765f370d-ce2d-b75a-2dde-87f69ae7c185@candelatech.com> <5d89fd24-f00a-7e70-00ce-83529f13b05e@candelatech.com> <20201218121627.603329b2@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, 2020-12-18 at 12:16 -0800, Jakub Kicinski wrote: > On Thu, 17 Dec 2020 12:40:26 -0800 Ben Greear wrote: > > On 12/17/20 10:20 AM, Eric Dumazet wrote: > > > On Thu, Dec 17, 2020 at 7:13 PM Ben Greear wrote: > > > > It is the iwlwifi/mvm logic that supports ax200. > > > > > > Let me ask again : > > > > > > I see two different potential call points : > > > > > > drivers/net/wireless/intel/iwlwifi/pcie/tx.c:1529: > > > tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); > > > drivers/net/wireless/intel/iwlwifi/queue/tx.c:427: > > > tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); > > > > > > To the best of your knowledge, which one would be used in your case ? > > > > > > Both are horribly complex, I do not want to spend time studying two > > > implementations. > > > > It is the queue/tx.c code that executes on my system, verified with > > printk. > > Not sure why Intel's not on CC here. Heh :) Let's also add linux-wireless. > Luca, is the ax200 TSO performance regression with recent kernel on your > radar? It wasn't on mine for sure, so far. But it's supposed to be Christmas vacation, so haven't checked our bug tracker etc. I see Emmanuel was at least looking at the bug report, but not sure what else happened yet. Off the top of my head, I don't really see the issue. Does anyone have the ability to capture the frames over the air (e.g. with another AX200 in monitor mode, load the driver with amsdu_size=3 module parameter to properly capture A-MSDUs)? johannes