Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2742648pxk; Sun, 6 Sep 2020 11:43:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGkpQx3NteGgRnHMWfhClGBnbEbPjUlsYzjIv3+vSe3y786GPZ0jZv54+VnOz9Kx46IKO8 X-Received: by 2002:a17:906:b154:: with SMTP id bt20mr18388876ejb.272.1599417800956; Sun, 06 Sep 2020 11:43:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599417800; cv=none; d=google.com; s=arc-20160816; b=PODtR3VAww5CE9HSBw+TzATqpUaGYtkUEFJIirilW3Q1UVYyvDHOydDJcxx9pyRsoo mWSD93xV+WUU/6SfC6t9H+NsCKZWoqSUQ4vHAzedltqMc692Ig1DyhOzQZNdZVHPZoLz zwp1eib4Pz5owhdPmrYFVbSm1EIAAaCR0I80u5OSPxXbXfx9T9NTPcAfld6LanUC91Ta SZ097PKbz98plAzig8LVEHkhLwiu7+L+hWRrbvS3NnGGhh4lxECO8g9rzv1puMJWV0Xv jjl52fxNUfNyRZkrpy9NfDd0xqiYjmf0x/f3L0CYsh/dUve/FFJMgOsZznw7kjvFnEGV o2VQ== 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:message-id:subject:cc:to:from:date :dkim-signature; bh=9Su45kgbZLJPak+AIKw0K47hr1CwxceqSpnCoUw++Qk=; b=OypqTO/oMdeJ0K5K3X7svWeXeI1N7BqqvFlsNhzp5gZhzBe/CAhlL4aCQUo0+yVXXw ZIeDuFIeUyHK8TOoUrG+ZDQsUeID5yiPm6eC5hZbLUDszV4NgMTskxmfDH16X9OUNPgg 8+TQ8/YiAWJNvnRSAvqwDYqo8gFCB0B8+6uKaD1s9U/dodC1Mkl+80iK8toNdHUxsrSj FBvqq+SVmtt+TPpMe1ZlXcoZj2ounlSDrLfhUMqUMrLf3bL5wn25UOuYOCArLElx90u8 VcD+FES+Ft4AixU060ggjxrURS9wWhd9E7bcUTBIXkuuRUWs1KPCtfl5bFIVeq4f93dn nukg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0LSOGSht; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d24si8204040edv.518.2020.09.06.11.42.58; Sun, 06 Sep 2020 11:43:20 -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=@kernel.org header.s=default header.b=0LSOGSht; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729171AbgIFSl4 (ORCPT + 99 others); Sun, 6 Sep 2020 14:41:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:57036 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728662AbgIFSlz (ORCPT ); Sun, 6 Sep 2020 14:41:55 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CA74120759; Sun, 6 Sep 2020 18:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599417715; bh=F0mk1QO0HqDSARTtYtap/jH8rSgeDmoL5AM/fRQZRQ4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=0LSOGShtMWu6ib6qChbBeINrYqL0BHuXV4S3A8cXFMvPC3r4cwXqodmNpjK/bfSga SwH969PRX7XlH6fKLz8CV8pWvYRiQ7fmhyHdgsZoOjioq8yEbq0vJF51W+oM8rskYV eo9QfjUdhfviKLybhwf3bI0qIETTb8e6qlVtOMko= Date: Sun, 6 Sep 2020 11:41:53 -0700 From: Jakub Kicinski To: Huazhong Tan Cc: , , , , , , Willem de Bruijn Subject: Re: [PATCH net-next 0/2] net: two updates related to UDP GSO Message-ID: <20200906114153.7dccce5d@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <1599286273-26553-1-git-send-email-tanhuazhong@huawei.com> References: <1599286273-26553-1-git-send-email-tanhuazhong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?