Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3925783ybc; Thu, 14 Nov 2019 17:26:17 -0800 (PST) X-Google-Smtp-Source: APXvYqzVTMExF08gD7zVijPGSiCtiqkasBuRxOfEuE2Fd75AOW0tMgiDLIH9uliEUCaY0rblfnyc X-Received: by 2002:a17:906:2552:: with SMTP id j18mr9960318ejb.244.1573781176916; Thu, 14 Nov 2019 17:26:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573781176; cv=none; d=google.com; s=arc-20160816; b=AfoQkBgzV9RldPdlxT8rBCM2mnC0eovZKQADa/E8RRcvLBHyGQsku25ah6jNcFhIFs uf53OA3Dg4IGygWYj+x93mLrLG9DMb0xiBwrMfr2E+hGPSDUe9mph3nT042oVNtH9N9m 9wAzw4VX8YzEz0wCNWNQ25l1RiJIhJtmQxk7xN3OgfvwAxvvYWOwkarkWAjapNTEtPsl tS7w+gFLsncnOBNdCQbhGk/ah06D8hxxb5Lx9Wyl+UCk+Lw/P5Dh+dCfibi1dlJgJUuq Dn+tcWGUpGs2ULwek04IfvMmA6+6VK0yNeb2VeIGAdFRBXzFVUku6Z1JWU2ULw3/HsVS FmEQ== 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=/LvTQesqsPIXSEu/Qz4HsB8elAvJZ8bGCkFkXyOLHN4=; b=DBbfmigEMStNV6oDr3KPSp4MXjrPN28JwggJ6aIH7UtGrDGdkQ4PYidBtG91AVLgpi wjEv0Qg5Rl+7U02Y1NyasmFEDBFpECRvPgQGaoVH3KdtvoePTDoITsY9gCw3iM2e9CIZ XI0YqdwbCcToapEVkaTjhh2lqXwkyvDU5P0NX+KXqjillQVhPAVJqCkf0ybquW0UKJJO 1UFO4VlikXrlCHp9SJaZysjXkraaWmIPLL600Mnac3S6YDeAHZX6vkSImXXpT0We6djd BX3fri9u2Du1jfJFVLeeLlvl8Hm0UkKOi8/zr5VavHjWojv1c2ZYOmH+0Fnqoa5ftD0N zoaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 24si4660641eje.293.2019.11.14.17.25.37; Thu, 14 Nov 2019 17:26:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727422AbfKOBZK (ORCPT + 99 others); Thu, 14 Nov 2019 20:25:10 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:57042 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726956AbfKOBZK (ORCPT ); Thu, 14 Nov 2019 20:25:10 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::3d5]) (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 D988314B72710; Thu, 14 Nov 2019 17:25:08 -0800 (PST) Date: Thu, 14 Nov 2019 17:25:08 -0800 (PST) Message-Id: <20191114.172508.1027995193093100862.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, manishc@marvell.com, GR-Linux-NIC-Dev@marvell.com, 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, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net: core: allow fast GRO for skbs with Ethernet header in head From: David Miller In-Reply-To: <20191112122843.30636-1-alobakin@dlink.ru> References: <20191112122843.30636-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]); Thu, 14 Nov 2019 17:25:09 -0800 (PST) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Alexander Lobakin Date: Tue, 12 Nov 2019 15:28:43 +0300 > Commit 78d3fd0b7de8 ("gro: Only use skb_gro_header for completely > non-linear packets") back in May'09 (2.6.31-rc1) has changed the > original condition '!skb_headlen(skb)' to the current > 'skb_mac_header(skb) == skb_tail_pointer(skb)' in gro_reset_offset() > saying: "Since the drivers that need this optimisation all provide > completely non-linear packets". Please reference the appropriate SHA1-ID both here in this paragraph and also in an appropriate Fixes: tag. If this goes so far back that it is before GIT, then you need to provide a reference to the patch posting via lore.kernel.org or similar because it is absolutely essentialy for people reviewing this patch to be able to do some digging into why the condition is code the way that it is currently. Thank you.