Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1236804rdb; Fri, 20 Oct 2023 12:16:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPyOAtSXSHLbw4lLwzdFNqXDG7pwpYZHX49LYEYv4/S1el3BeJkJS74hk0Nmudv8BjeXQ1 X-Received: by 2002:a05:6358:7212:b0:143:383e:5b22 with SMTP id h18-20020a056358721200b00143383e5b22mr3261108rwa.28.1697829389338; Fri, 20 Oct 2023 12:16:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697829389; cv=none; d=google.com; s=arc-20160816; b=SHp5KGCVrMjz5lLqCZNO5nXnwMZkckji2IJFU8jbk9MvGIhc5xL8XEyrV2KKI0hwXf Y7YD7DGrJlaJjmyC6b9qIxFGnErwHQcdyaevTu31iJXEjCD13huRRV9A4w6D98kIW9MP Z4xRvxQmVbS6pBSZz+zDQ7SwiP+g7yuLxp2miWMhVibLZyD+8c7ZMDLo50AjMnZQEtmS /65rvetw1khjxgBv1oVRJNY94D3onMqrbmzpZFhPIsEVwRuyPxKhu/Gewkg12lN5nZuf H6qb0q81aG3UWKQJcuMC7ERKE7/N7bvxEJBvmKyp94MpCb7Trtsb0XQxNmBarb/agxLW yawg== 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:subject :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=eB4JpDFuK+ujXLwBTCE+YoWklyn3fLbVJadxwKIhk7Y=; fh=Vvte5oC5eYvLtfJYGVlI1LUBjPZQc8TblXvDzyNY5a8=; b=ai/USDvmqx+lGr742AIb4FnjGcmtsfPKUH2I2GaA5Cl98l7uCVuYrkyZwOoWflXrC0 IYocLlLUmWMEdUUIyxiVLawJwi3+If2VR35rQAqIgRvLoZeuXiDZ15DElqUWWy2FF93l fPejuDInyTziifgtJhBoX/24eLFW7wz7eiFAPa+CrHI5g5CxoxIz31kAvG/cBykFq5SN cS1llquUA1+smEGCjGSaLYfGk0nlwzytEoxFzVUPGPZvSVZYaykjLEYYPdrkWJnEuqU/ 0SGn4k5+DMzd1y9zjtA699AQOEyacufZL2IUDZtJKX44DEMlXT5M7AUYrAELLxZOTRdg VaVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nEGVLLW+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id l70-20020a639149000000b005b82f3dcec6si2361134pge.269.2023.10.20.12.16.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 12:16:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nEGVLLW+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 2718F842C68A; Fri, 20 Oct 2023 12:16:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229614AbjJTTQW (ORCPT + 99 others); Fri, 20 Oct 2023 15:16:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbjJTTQU (ORCPT ); Fri, 20 Oct 2023 15:16:20 -0400 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FE27D4C; Fri, 20 Oct 2023 12:16:18 -0700 (PDT) Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-41cc776ccb4so6950761cf.1; Fri, 20 Oct 2023 12:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697829377; x=1698434177; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=eB4JpDFuK+ujXLwBTCE+YoWklyn3fLbVJadxwKIhk7Y=; b=nEGVLLW+CfKA/tJlrU789FYhvx465O/pp7XGxtziUw8beymBgYVuMjcsQZ2sGkUvol gV2OkOU3B/5gV8VWQR2dYo2DOUU3YQfcD0Sb0Qg3MtjC/FNwsrhRp7zQ3bUIQDShwQzU MnrdRF3nPiFbAf1xKs5Iecm0AQBFqdgaUkXGYwFnwapPX0tEQOkkQr1mpEwnKwnPPuSP poA4Gv1gC7On6DBGF/9ZdzfSY+Tn1k3V7fKnQ7lyAMUtygdiNLfDiGf3b94Y8GJUUkO5 cI4L9brwSFBqnvNVwF7WZ4sBL1dbnWr8UWkquxRqvF8/m0xoXpZG3Y9VhUlly5N2S58J Ofxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697829377; x=1698434177; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=eB4JpDFuK+ujXLwBTCE+YoWklyn3fLbVJadxwKIhk7Y=; b=PuameZ5x1kt3W7eox2Pbfg4da9taLDyasTY+VL/jWJLzgugHT/eK9ZdXWign/rv7y2 SZ5dpFpylCsk51ZMGNhCuZ/iqrdJGiRZbv4dncyBsvRG/g+SKNVHCa1CW29eQafhQoPN aAE+lnEgdaPeKn6odiVHMerz+UWeEl2cA6PjO/qElYNAqbAJsoNK8W7pwBB/kUuU+Z+L 4ePFwhmHWfpwUYs6rbjYLc5P1j8cYVxRCKojClvbltUtWByfJ9XpXdiuHfMEs3Qx9Iht iwkTNtoc+xhslZjFjydrlEGL0wKw6pZwT9XlJVY8/LDZkEYVv9G4tInuHNL2YpdcFJyV wtow== X-Gm-Message-State: AOJu0Yw8a/nj5h20n7KbHDVRpp/cpudxCUVfBbaqu1sUEZuAwog5Q+p0 +dJl2k0CmeSagM5r5eITvq0= X-Received: by 2002:ac8:7d96:0:b0:417:9c40:c5fb with SMTP id c22-20020ac87d96000000b004179c40c5fbmr2996248qtd.44.1697829377488; Fri, 20 Oct 2023 12:16:17 -0700 (PDT) Received: from localhost (193.132.150.34.bc.googleusercontent.com. [34.150.132.193]) by smtp.gmail.com with ESMTPSA id x9-20020ac85f09000000b004181a8a3e2dsm817441qta.41.2023.10.20.12.16.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 12:16:17 -0700 (PDT) Date: Fri, 20 Oct 2023 15:16:16 -0400 From: Willem de Bruijn To: Yan Zhai , netdev@vger.kernel.org Cc: "David S. Miller" , David Ahern , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Aya Levin , Tariq Toukan , linux-kernel@vger.kernel.org, kernel-team@cloudflare.com, Florian Westphal , Willem de Bruijn , Alexander H Duyck Message-ID: <6532d200c080d_28a354294e8@willemb.c.googlers.com.notmuch> In-Reply-To: <496ccff707e16e98163d2a3fbcfbc1f824fd8ec3.1697779681.git.yan@cloudflare.com> References: <496ccff707e16e98163d2a3fbcfbc1f824fd8ec3.1697779681.git.yan@cloudflare.com> Subject: Re: [PATCH v3 net-next 2/3] ipv6: refactor ip6_finish_output for GSO handling Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 20 Oct 2023 12:16:27 -0700 (PDT) Yan Zhai wrote: > Separate GSO and non-GSO packets handling to make the logic cleaner. For > GSO packets, frag_max_size check can be omitted because it is only > useful for packets defragmented by netfilter hooks. Both local output > and GRO logic won't produce GSO packets when defragment is needed. This > also mirrors what IPv4 side code is doing. > > Suggested-by: Florian Westphal > Signed-off-by: Yan Zhai Reviewed-by: Willem de Bruijn Thanks for splitting up the series. This change alone is subtle enough that it benefits from standing alone. I thought it was intended to be a NOOP, but you indeed call out the frag_max_size special case.