Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2586831ybc; Mon, 25 Nov 2019 00:27:37 -0800 (PST) X-Google-Smtp-Source: APXvYqwFjtuEuokQC9brs6ChiaMU6CmKyRgBWHdHCuY2QnHldJ6iW/0YXA/3QuaKI4r2gDA+G2mZ X-Received: by 2002:aa7:cc0f:: with SMTP id q15mr16845393edt.71.1574670457828; Mon, 25 Nov 2019 00:27:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574670457; cv=none; d=google.com; s=arc-20160816; b=lNmcvzCwWPOut5YyW7a9ZGAw4APi5Jba5SL7l3NNaD/nTw255eyyFSKc9+2sEwohNE 1nc8aAI+2NOJ0mPyzvMjWlDAkC4WzKdvCJRIk5g3RdkKMdLe0VwVfD0aPEstdJLwCnDn +LSRgaEnbnIxgqUZ+9lYaux1AmxZfqI/q50O7BjZ1MUmrncsdn9pZbMgJLlkzlCu4vP/ RkE6+oWOklYZoNzo1w0WRF5H4BDxLRDpB4FFCINLaX8PK2lQZD4+K7cw18qyECR6WgVa BjW7wApbMx92fdxQKzogiMd2dGh3JxNfoQyi3mI48kr8DQ03D2Klw2UXbCzX/iyuiwRg nU+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-filter:dkim-signature:dkim-filter; bh=CXf4d7mRTFtOxVP/C73Vp+WHBGtRlikKg6MINbfQcRI=; b=c/E7mW0qEadXDr2WXWBAR2jV5ZtDFD3CkuZruiHkXlNaEMqQBJV5+q1/2qvXxR1Sl6 oPpoKn8/CpJolaAfqhORBKxkCPbIl9V/vRcXCP8e+yD4SyxUS6xMDJBssxZuqvNra5LK cDDkc2EqqXrYfJJT1Gu8k0mxCDO7cOe1BQwpMDLV07SO7N9ffkG3tySFwiziZUY37SB7 PmVr0B52gWvTTcbWw23nhodBQJFesR0E8/gA+B/xpkEs+46J0ucnqW9P5jBFfYDX2OK8 lVOY0Sv+ml3xp4AHTfAg3Hk+bRDffwv8N9vegr5yMYvjge5DvcS808mvDJiLDhyI5Q47 Tthw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dlink.ru header.s=mail header.b=qC76Ttwk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4si5128571edk.445.2019.11.25.00.27.12; Mon, 25 Nov 2019 00:27:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@dlink.ru header.s=mail header.b=qC76Ttwk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726571AbfKYI0P (ORCPT + 99 others); Mon, 25 Nov 2019 03:26:15 -0500 Received: from fd.dlink.ru ([178.170.168.18]:33460 "EHLO fd.dlink.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725792AbfKYI0P (ORCPT ); Mon, 25 Nov 2019 03:26:15 -0500 Received: by fd.dlink.ru (Postfix, from userid 5000) id 5A2C31B219EB; Mon, 25 Nov 2019 11:26:11 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 fd.dlink.ru 5A2C31B219EB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dlink.ru; s=mail; t=1574670371; bh=CXf4d7mRTFtOxVP/C73Vp+WHBGtRlikKg6MINbfQcRI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=qC76Ttwk9zWMoHh2BWJ1rZjI0dbWe/bLYUccZjXhFhZsLRHm+nRtbw5w5NJjhhvNb TZ2z/5k51PBSt974CNErHbe8TSI7Q4FGSl4JY0wfwDgzviiqqEg95XKRbmtg5UC+rU A0CL7nWVVYnpMhAaHVdmyI7ozHzIsp8nX1XQcBIg= X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dlink.ru X-Spam-Level: X-Spam-Status: No, score=-99.2 required=7.5 tests=BAYES_50,URIBL_BLOCKED, USER_IN_WHITELIST autolearn=disabled version=3.4.2 Received: from mail.rzn.dlink.ru (mail.rzn.dlink.ru [178.170.168.13]) by fd.dlink.ru (Postfix) with ESMTP id F0DD01B21A00; Mon, 25 Nov 2019 11:25:50 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 fd.dlink.ru F0DD01B21A00 Received: from mail.rzn.dlink.ru (localhost [127.0.0.1]) by mail.rzn.dlink.ru (Postfix) with ESMTP id 6A68F1B217D8; Mon, 25 Nov 2019 11:25:50 +0300 (MSK) Received: from mail.rzn.dlink.ru (localhost [127.0.0.1]) by mail.rzn.dlink.ru (Postfix) with ESMTPA; Mon, 25 Nov 2019 11:25:50 +0300 (MSK) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 25 Nov 2019 11:25:50 +0300 From: Alexander Lobakin To: Nicholas Johnson Cc: David Miller , ecree@solarflare.com, jiri@mellanox.com, edumazet@google.com, idosch@mellanox.com, pabeni@redhat.com, petrm@mellanox.com, sd@queasysnail.net, f.fainelli@gmail.com, jaswinder.singh@linaro.org, ilias.apalodimas@linaro.org, linux-kernel@vger.kernel.org, johannes.berg@intel.com, emmanuel.grumbach@intel.com, luciano.coelho@intel.com, linuxwifi@intel.com, kvalo@codeaurora.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH v2 net-next] net: core: use listified Rx for GRO_NORMAL in napi_gro_receive() In-Reply-To: References: <20191014080033.12407-1-alobakin@dlink.ru> <20191015.181649.949805234862708186.davem@davemloft.net> <7e68da00d7c129a8ce290229743beb3d@dlink.ru> User-Agent: Roundcube Webmail/1.4.0 Message-ID: <746f768684f266e5a5db1faf8314cd77@dlink.ru> X-Sender: alobakin@dlink.ru Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alexander Lobakin wrote 25.11.2019 10:54: > Nicholas Johnson wrote 25.11.2019 10:29: >> Hi, >> >> On Wed, Oct 16, 2019 at 10:31:31AM +0300, Alexander Lobakin wrote: >>> David Miller wrote 16.10.2019 04:16: >>> > From: Alexander Lobakin >>> > Date: Mon, 14 Oct 2019 11:00:33 +0300 >>> > >>> > > Commit 323ebb61e32b4 ("net: use listified RX for handling GRO_NORMAL >>> > > skbs") made use of listified skb processing for the users of >>> > > napi_gro_frags(). >>> > > The same technique can be used in a way more common napi_gro_receive() >>> > > to speed up non-merged (GRO_NORMAL) skbs for a wide range of drivers >>> > > including gro_cells and mac80211 users. >>> > > This slightly changes the return value in cases where skb is being >>> > > dropped by the core stack, but it seems to have no impact on related >>> > > drivers' functionality. >>> > > gro_normal_batch is left untouched as it's very individual for every >>> > > single system configuration and might be tuned in manual order to >>> > > achieve an optimal performance. >>> > > >>> > > Signed-off-by: Alexander Lobakin >>> > > Acked-by: Edward Cree >>> > >>> > Applied, thank you. >>> >>> David, Edward, Eric, Ilias, >>> thank you for your time. >>> >>> Regards, >>> ᚷ ᛖ ᚢ ᚦ ᚠ ᚱ >> >> I am very sorry to be the bearer of bad news. It appears that this >> commit is causing a regression in Linux 5.4.0-rc8-next-20191122, >> preventing me from connecting to Wi-Fi networks. I have a Dell XPS >> 9370 >> (Intel Core i7-8650U) with Intel Wireless 8265 [8086:24fd]. > > Hi! > > It's a bit strange as this commit doesn't directly affect the packet > flow. I don't have any iwlwifi hardware at the moment, so let's see if > anyone else will be able to reproduce this (for now, it is the first > report in a ~6 weeks after applying to net-next). > Anyway, I'll investigate iwlwifi's Rx processing -- maybe I could find > something driver-specific that might produce this. > > Thank you for the report. > >> I did a bisect, and this commit was named the culprit. I then applied >> the reverse patch on another clone of Linux next-20191122, and it >> started working. >> >> 6570bc79c0dfff0f228b7afd2de720fb4e84d61d >> net: core: use listified Rx for GRO_NORMAL in napi_gro_receive() >> >> You can see more at the bug report I filed at [0]. >> >> [0] >> https://bugzilla.kernel.org/show_bug.cgi?id=205647 >> >> I called on others at [0] to try to reproduce this - you should not >> pull >> a patch because of a single reporter - as I could be wrong. >> >> Please let me know if you want me to give more debugging information >> or >> test any potential fixes. I am happy to help to fix this. :) And you can also set /proc/sys/net/core/gro_normal_batch to the value of 1 and see if there are any changes. This value makes GRO stack to behave just like without the patch. >> Kind regards, >> Nicholas Johnson > > Regards, > ᚷ ᛖ ᚢ ᚦ ᚠ ᚱ Regards, ᚷ ᛖ ᚢ ᚦ ᚠ ᚱ