Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2902282lqt; Tue, 23 Apr 2024 05:23:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVx/Ah4vENhssMRDwTrb70RtwQtVPumHSEYTP2MzJ9RVhn6G95Ph6KCm8y+EE9d+cKdo/zAwZM5FG76yQiXuB10aM/zCXYpyU5oVqJE9g== X-Google-Smtp-Source: AGHT+IH4I2d40rsZTAi1IiyRRM9BGU65hZRRIbNlnfG1KkazM9d65jT5AWZk55f1e/hFXJUrFz5i X-Received: by 2002:a05:651c:a12:b0:2de:2fc0:245a with SMTP id k18-20020a05651c0a1200b002de2fc0245amr1166563ljq.40.1713875035527; Tue, 23 Apr 2024 05:23:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713875035; cv=pass; d=google.com; s=arc-20160816; b=iaxAzM177nuwmnRV9Vw+H4k235CW6ZNCVjLxRlgO6nlPuB1ILC5LV9L4G0sGD1LR/N P8LR5j7ZKNfWlPuaqmLTHNpwhbbPVAGKgn5pdjrpMzkg42kfFuAMXjJ73/DPu9LSLwr+ ZZZ0C70QTvpUcErAcrjqSz4JOqc9rxZTBJzoO97UFjeQBOpT9VAcH+4ggRBQmKCb0onq RNvCdccRpa9Xw9LMv/pIntdpqtlddUHAt//lmoporMzJZmBVI0ka5f52qO68yE5RS7aG MPu90brJhIYkJgLvtrTwg34lK7ILZVy+N2erkO+eUCkyTPYuBiWHDDmKT1ROLAHQTs4K P+Cw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=/DSRa/6jf8NZlb//FM+oy5i4OZYimdjhlzNTdhVYxvI=; fh=L9ocUoAr6xDY4E+A2/xvER64rp9DOQm7VdRVv4pUEts=; b=MoBkbI0M5v2M/AeXth1tPA6wYAO5Owj8TGUWSlqjsjjNL8Xp5f9X1OEkY4MhQu4CJL f7KaNPOhQ4TFWDo9BLHQf4FyQi9L92ZpPA2KEZyHTxY8dnz+U1ObFumb3Pe3PokOPBpQ ScvbbRcDoZ0t+UegUQyxPa/n/rWfqZkMLWqVEHeFFAVWftzTaOmAmr6uCVQ5E4Xdy8Pi /5cIfh0bIBXqhGDdQfAczZgcVfySpNVLO/zEyUjk4tadfhRhiMFglQN5otOo87XYeNQk IPGGp+Im9ULnCMJo53qxlRccaHN1jhw3Y0mgi8AXFoiXHMRJENTet8UPSwM5/NHx0R5T 183g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=OnCy526W; arc=pass (i=1 dkim=pass dkdomain=nbd.name dmarc=pass fromdomain=nbd.name); spf=pass (google.com: domain of linux-kernel+bounces-155154-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155154-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s5-20020a056402036500b0057215620e4csi1510177edw.61.2024.04.23.05.23.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 05:23:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155154-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=OnCy526W; arc=pass (i=1 dkim=pass dkdomain=nbd.name dmarc=pass fromdomain=nbd.name); spf=pass (google.com: domain of linux-kernel+bounces-155154-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155154-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 335C01F22F8B for ; Tue, 23 Apr 2024 12:23:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9958D85950; Tue, 23 Apr 2024 12:23:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nbd.name header.i=@nbd.name header.b="OnCy526W" Received: from nbd.name (nbd.name [46.4.11.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3563D8405C; Tue, 23 Apr 2024 12:23:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.4.11.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713875021; cv=none; b=lKL9KssRkCGsCP0FZV2nyverT9AH4WXSrXnX1VlS9krLJJg6zzQtcl01g3z4yFxa8jH9URUl/R7VOKIAp2prv+Utuc12oZzDfm0lv7uhDtDdWM2GAc8+zYunDtGIMnsJ3Bm1sZohuOZPsiKf5ET6lWK396Xjvli7Pr2flfZkLS4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713875021; c=relaxed/simple; bh=9mJZ62l2+7SP3ReX1gQJjaQNcoPHMtLwRRBOZfEeAhU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YFkTvW8xTbPEPFyEonNE4H4NSSBVyI36VRYoQQMnU7Y28n8i5Qb2u8lgr13negTaKJiy3CY59RNUoT0SpkGPC7INNBvmqhv+q4WL4pZ8NdIDat3kbxanwwPerveiRrUJz7CzM3TqokuKjaCf4AEvVhUHpXU74CqsPp+m40RAsfA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nbd.name; spf=none smtp.mailfrom=nbd.name; dkim=pass (1024-bit key) header.d=nbd.name header.i=@nbd.name header.b=OnCy526W; arc=none smtp.client-ip=46.4.11.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nbd.name Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=nbd.name DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/DSRa/6jf8NZlb//FM+oy5i4OZYimdjhlzNTdhVYxvI=; b=OnCy526WuugtHWZ18i2/UEYnqJ ZyNODvLnguJeIzJ8hFaMqeRHZWDsWjlQ8FALHfehs8k5PCwqJjBy9CXJjSFxmGtUGmYVY1o5KomPf Ddmf/yErTtDqyuS9NPAzHc5i2f+nIYT7Xduq3zRTJDklIoIbCOzCPJFdpm/0RDhgPRbc=; Received: from p54ae9c93.dip0.t-ipconnect.de ([84.174.156.147] helo=nf.local) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1rzFBN-0066eH-0X; Tue, 23 Apr 2024 14:23:33 +0200 Message-ID: Date: Tue, 23 Apr 2024 14:23:32 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC] net: add TCP fraglist GRO support To: Eric Dumazet Cc: netdev@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Paolo Abeni , David Ahern , linux-kernel@vger.kernel.org References: <20240423094117.93206-1-nbd@nbd.name> <63abfa26-d990-46c3-8982-3eaf7b8f8ee5@nbd.name> <7476374f-cf0c-45d0-8100-1b2cd2f290d5@nbd.name> Content-Language: en-US From: Felix Fietkau Autocrypt: addr=nbd@nbd.name; keydata= xsDiBEah5CcRBADIY7pu4LIv3jBlyQ/2u87iIZGe6f0f8pyB4UjzfJNXhJb8JylYYRzIOSxh ExKsdLCnJqsG1PY1mqTtoG8sONpwsHr2oJ4itjcGHfn5NJSUGTbtbbxLro13tHkGFCoCr4Z5 Pv+XRgiANSpYlIigiMbOkide6wbggQK32tC20QxUIwCg4k6dtV/4kwEeiOUfErq00TVqIiEE AKcUi4taOuh/PQWx/Ujjl/P1LfJXqLKRPa8PwD4j2yjoc9l+7LptSxJThL9KSu6gtXQjcoR2 vCK0OeYJhgO4kYMI78h1TSaxmtImEAnjFPYJYVsxrhay92jisYc7z5R/76AaELfF6RCjjGeP wdalulG+erWju710Bif7E1yjYVWeA/9Wd1lsOmx6uwwYgNqoFtcAunDaMKi9xVQW18FsUusM TdRvTZLBpoUAy+MajAL+R73TwLq3LnKpIcCwftyQXK5pEDKq57OhxJVv1Q8XkA9Dn1SBOjNB l25vJDFAT9ntp9THeDD2fv15yk4EKpWhu4H00/YX8KkhFsrtUs69+vZQwc0cRmVsaXggRmll dGthdSA8bmJkQG5iZC5uYW1lPsJgBBMRAgAgBQJGoeQnAhsjBgsJCAcDAgQVAggDBBYCAwEC HgECF4AACgkQ130UHQKnbvXsvgCgjsAIIOsY7xZ8VcSm7NABpi91yTMAniMMmH7FRenEAYMa VrwYTIThkTlQzsFNBEah5FQQCACMIep/hTzgPZ9HbCTKm9xN4bZX0JjrqjFem1Nxf3MBM5vN CYGBn8F4sGIzPmLhl4xFeq3k5irVg/YvxSDbQN6NJv8o+tP6zsMeWX2JjtV0P4aDIN1pK2/w VxcicArw0VYdv2ZCarccFBgH2a6GjswqlCqVM3gNIMI8ikzenKcso8YErGGiKYeMEZLwHaxE Y7mTPuOTrWL8uWWRL5mVjhZEVvDez6em/OYvzBwbkhImrryF29e3Po2cfY2n7EKjjr3/141K DHBBdgXlPNfDwROnA5ugjjEBjwkwBQqPpDA7AYPvpHh5vLbZnVGu5CwG7NAsrb2isRmjYoqk wu++3117AAMFB/9S0Sj7qFFQcD4laADVsabTpNNpaV4wAgVTRHKV/kC9luItzwDnUcsZUPdQ f3MueRJ3jIHU0UmRBG3uQftqbZJj3ikhnfvyLmkCNe+/hXhPu9sGvXyi2D4vszICvc1KL4RD aLSrOsROx22eZ26KqcW4ny7+va2FnvjsZgI8h4sDmaLzKczVRIiLITiMpLFEU/VoSv0m1F4B FtRgoiyjFzigWG0MsTdAN6FJzGh4mWWGIlE7o5JraNhnTd+yTUIPtw3ym6l8P+gbvfoZida0 TspgwBWLnXQvP5EDvlZnNaKa/3oBes6z0QdaSOwZCRA3QSLHBwtgUsrT6RxRSweLrcabwkkE GBECAAkFAkah5FQCGwwACgkQ130UHQKnbvW2GgCeMncXpbbWNT2AtoAYICrKyX5R3iMAoMhw cL98efvrjdstUfTCP2pfetyN In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 23.04.24 14:11, Eric Dumazet wrote: > On Tue, Apr 23, 2024 at 1:55 PM Felix Fietkau wrote: >> >> In the world of consumer-grade WiFi devices, there are a lot of chipsets >> with limited or nonexistent SG support, and very limited checksum >> offload capabilities on Ethernet. The WiFi side of these devices is >> often even worse. I think fraglist GRO is a decent fallback for the >> inevitable corner cases. > > What about netfilter and NAT ? Are they okay with NETIF_F_FRAGLIST_GRO already ? > > Many of these devices are probably using NAT. In my tests, nftables NAT works just fine, both with and without flowtable offloading. I didn't see anything in netfilter that would have a problem with this. - Felix