Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3076954pxk; Mon, 7 Sep 2020 02:27:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJym+qtkeONvVmqaEisTb7DvS2/+Cw8TBHW13JkeGozOeLqgAjiE5OQ++dvY/uKdPi36UOmh X-Received: by 2002:aa7:d1ce:: with SMTP id g14mr20910258edp.153.1599470838482; Mon, 07 Sep 2020 02:27:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599470838; cv=none; d=google.com; s=arc-20160816; b=SIhwNJa2Ebw4SNEJMQyyQ/kKKI7dzdauPIWyPphRzAR21YZWtjb89GyuZsChk8qrxS ok4jnlzt+ILdIUuo+zXJ67OA+fkzSShAvu+Eq+wZrbNTjaxQ+9m4eLMROhRusM/CCOPr JjjKgXer6LLW7SQzL2A5QiKBnJkYlqg3nRl4IxFOnHzwAvOKmL63gR3zTdP3C7tN0GEM K79phH0X/2irb7QQhuXjqYm5L8TAsoCDvDRV9kF6AYwDQHGsxZ3BL+YTLTx2o+m3qiWY Nzjd7Hj04gA2VaCJO5nKLayxPuGjmwqVRRtqTsLtHWM89MCnm8QPO0+emDiEbSImncJl xp0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=GBjC6LgsXmyRTFlOrXgXx23bviroU6DrK6ZiFWBgik0=; b=aA4J6IIHnZDGWxo4QAlXgQpzPCRkRThmAPJ6QLz4jIE7lVR4Et+HaNSlUjqU/XD/ik 8JvnGpmZHQfF2TK4OwoQwBa81v7nvet/Mj4wESxLl+uKEYbTicEe6/d6czU2rer7EC7M +trfstHNWfymtc0UFBdzVzZgoTXkCFBot2BYuc04AjBZ6QXzGDHy6mnI4qepkiNCYlpO i5jrv05KxYwfSZPELDfl0j411LyLa6fyOnHPeFqvXNK6aQn4XhzEr2SWeGIM9ZVB1TWP ZF4UtnP+nh945J03P+NdJPGxokadXupCSiAWdcNcKNHuyFO7R6qogqrfhRR8AyQ0sM6U 7K5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ix+SP49a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i3si10439440edb.410.2020.09.07.02.26.55; Mon, 07 Sep 2020 02:27:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ix+SP49a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728239AbgIGJXW (ORCPT + 99 others); Mon, 7 Sep 2020 05:23:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728034AbgIGJXV (ORCPT ); Mon, 7 Sep 2020 05:23:21 -0400 Received: from mail-ua1-x941.google.com (mail-ua1-x941.google.com [IPv6:2607:f8b0:4864:20::941]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8857CC061573 for ; Mon, 7 Sep 2020 02:23:20 -0700 (PDT) Received: by mail-ua1-x941.google.com with SMTP id y15so3979961uan.9 for ; Mon, 07 Sep 2020 02:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GBjC6LgsXmyRTFlOrXgXx23bviroU6DrK6ZiFWBgik0=; b=Ix+SP49aOyHAg/LDL0Qfvoem123dBoUolQTXi7YjAo0uuVk0297CdTiC3zll82eiwX OIFk0d2c4pI1jm7uoNB+hwGS3lkU8t7LXUp6g4NOn2lP+TWO8ZA8MyLksvKmEndRpFb0 G/uPQAgjEp3FLZCxIan72e6ghxZ7gtTcR/E7gbQDdNupo19nZ9Nml1dklJqEMvRmhUnm ZIzaYQ+BE1Fejp3GRiEF1iqePsK/WCtnvvWykHLUtCg4WE52KTCMDSEim0hNOIqhrgTl S+YIF8ZYPswYhgGPHgM0VYOfnPiGcDLpV5YPbvmiINDTKy+5aqHrG7Xpm2O1jGCzxrdO Cubw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GBjC6LgsXmyRTFlOrXgXx23bviroU6DrK6ZiFWBgik0=; b=UFOCC5NeNdukG3Z69kWXNk1egvoj/jluvqZRT2tggZifce3CYqyaCZEuaXnxitrfO9 ZtWgy1ZR3zOpUNW2wOmrCZYypZ17BVI4UcUneYFAQgjjhtnifUVM2GciQKavvBFRga5E IjSV79lo+Wk/h2cA7d/q/GLeFOih8PzKBOeF6+L6bGvSUgU+HMxBniKs414gjph+bMm4 7q4sO8YVcaOK/vWywMCVIGoRg8vds1tVh/NWCWXdUOAeD7VPRfe8yGnkLLsD4Klj1fwZ 7PtnrliTtCFhGexgAje00eBVEKGJ5atP6kWRjz6sfB2bsKCBU3torA8EHatdAyHuAf9k 8VAg== X-Gm-Message-State: AOAM531TYyoJBQYuelxjZp72e339Z5aU5P00aO1kycfVEsXWzQ+cj54m +pCfb8hEHiMZ0OkzYFyaAiNqf4p9zCTz/w== X-Received: by 2002:ab0:1e84:: with SMTP id o4mr10943217uak.74.1599470594225; Mon, 07 Sep 2020 02:23:14 -0700 (PDT) Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com. [209.85.217.47]) by smtp.gmail.com with ESMTPSA id f190sm853570vka.1.2020.09.07.02.23.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Sep 2020 02:23:13 -0700 (PDT) Received: by mail-vs1-f47.google.com with SMTP id b123so7024342vsd.10 for ; Mon, 07 Sep 2020 02:23:12 -0700 (PDT) X-Received: by 2002:a67:ebc4:: with SMTP id y4mr11763629vso.119.1599470592359; Mon, 07 Sep 2020 02:23:12 -0700 (PDT) MIME-Version: 1.0 References: <1599286273-26553-1-git-send-email-tanhuazhong@huawei.com> <20200906114153.7dccce5d@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20200906114153.7dccce5d@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: Willem de Bruijn Date: Mon, 7 Sep 2020 11:22:33 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next 0/2] net: two updates related to UDP GSO To: Jakub Kicinski Cc: Huazhong Tan , David Miller , Network Development , linux-kernel , salil.mehta@huawei.com, yisen.zhuang@huawei.com, linuxarm@huawei.com, Willem de Bruijn Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 6, 2020 at 8:42 PM Jakub Kicinski wrote: > > On Sat, 5 Sep 2020 14:11:11 +0800 Huazhong Tan wrote: > > There are two updates relates to UDP GSO. > > #1 adds a new GSO type for UDPv6 > > #2 adds check for UDP GSO when csum is disable in netdev_fix_features(). > > > > Changes since RFC V2: > > - modifies the timing of setting UDP GSO type when doing UDP GRO in #1. > > > > Changes since RFC V1: > > - updates NETIF_F_GSO_LAST suggested by Willem de Bruijn. > > and add NETIF_F_GSO_UDPV6_L4 feature for each driver who support UDP GSO in #1. > > - add #2 who needs #1. > > Please CC people who gave you feedback (Willem). > > I don't feel good about this series. IPv6 is not optional any more. > AFAIU you have some issues with csum support in your device? Can you > use .ndo_features_check() to handle this? > > The change in semantics of NETIF_F_GSO_UDP_L4 from "v4 and v6" to > "just v4" can trip people over; this is not a new feature people > may be depending on the current semantics. > > Willem, what are your thoughts on this? If that is the only reason, +1 on fixing it up in the driver's ndo_features_check.