Received: by 2002:a17:90a:37e8:0:0:0:0 with SMTP id v95csp7159725pjb; Wed, 16 Oct 2019 01:04:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEPso3SIDRgbsDRqJzzFYFbsu5oYXgYfvln4hr5tpaYhmHMZXT1AAvb9P9TftV6btUay6Z X-Received: by 2002:a05:6402:1a33:: with SMTP id be19mr37599844edb.197.1571213081408; Wed, 16 Oct 2019 01:04:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571213081; cv=none; d=google.com; s=arc-20160816; b=tKioZqijRxKyzQR0UvEWaYfZsNxNnT0fwWZv6rFngfo6ja7lxxtnzJ8U1Ac6VfE222 DDrFWYwxtICr7rtLvcgy7CKK2Gy+d0K5f1natsPe2BI5cjLRLuvNMs0P52fSvMUF6jYp fKUp9IvU01bIqoIQmroKOOFgKH1lgLYsdzY1Kzcf/DRzbXCTekjfpoxJ7M4Ai81m/BNI 7GIxiHQHrkHZjIKb5Y7ato+ny7ejlD/gdFJA2+75JPHDILRJ+4V/6e5dv6jBv+ffZWbw 3BKFdbASgTyzvgCzdUPE8F3poJ3r1ZmyuwNrGdYtjx9o6XiOCz8gdWrOVuzeqdRUftTk zl5A== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=/XjbtU0yGky4t5Nui2Uky0c7OzB7ReDkeiGQSk/oYHc=; b=Ik04VnEAgHLOncypkdKOidrdo6ZVR50jfTd/yqvnmd3p+b0QBh4zNKzRTdiYhdCYvi S42r7+eHDuL+TuylESFdu1/tFHmIIfd699OY+yeoZQFe1HNrAI/MMkPYNGg8YP8UlTn8 8h8IE44yqRn9Ct9wyygb9dR2fRdr8wUo7cDAtWxa7yXoIgcTHuVzU9oiwk09nAgvbcLa +iSjagAAYmAdXS5sxv4uJ9pFR+WUEHjKWzUBlwz/GATHa7CNjS7hX8SPKsnjfdbMyZQY TH8wsQyDACTLxC/tEJksmBzk03x4RClj9iTxPkalwM6CIi7yvwBJtjWjYlSdB7/f16eS BbEg== ARC-Authentication-Results: i=1; mx.google.com; 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 qh16si15312686ejb.349.2019.10.16.01.04.17; Wed, 16 Oct 2019 01:04:41 -0700 (PDT) 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; 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 S1729133AbfJPBQv (ORCPT + 99 others); Tue, 15 Oct 2019 21:16:51 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:42866 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725820AbfJPBQv (ORCPT ); Tue, 15 Oct 2019 21:16:51 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 0D1C0126514C7; Tue, 15 Oct 2019 18:16:50 -0700 (PDT) Date: Tue, 15 Oct 2019 18:16:49 -0700 (PDT) Message-Id: <20191015.181649.949805234862708186.davem@davemloft.net> To: alobakin@dlink.ru Cc: 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, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 net-next] net: core: use listified Rx for GRO_NORMAL in napi_gro_receive() From: David Miller In-Reply-To: <20191014080033.12407-1-alobakin@dlink.ru> References: <20191014080033.12407-1-alobakin@dlink.ru> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 15 Oct 2019 18:16:50 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.