Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2895625lqt; Tue, 23 Apr 2024 05:12:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWW9UgutILFZ2xNGzdwUYguWxZW8hf57NcJiMd4JX9A/isi5WhlfCWjhHW2ZHhG24oaK+E24pEiLqofL4/RQZ3GGR9bBTpY52NaWwHVhQ== X-Google-Smtp-Source: AGHT+IF55bAFoDaZTe6hLwayhjRabZ2BNsV66FGDeh3VrLKe9LB5OYeCvL92/8GcsJ8TxoqznwfN X-Received: by 2002:a05:622a:1b09:b0:439:bb99:67f7 with SMTP id bb9-20020a05622a1b0900b00439bb9967f7mr7846143qtb.48.1713874342633; Tue, 23 Apr 2024 05:12:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713874342; cv=pass; d=google.com; s=arc-20160816; b=AOKA3vQ5+B345oeKvrsUqdoJvDL110XVWoFz2dVDy2ofmN/UqmCck1rwtnOHTexE0k Vef1xQrP1Xk54YMhmHJz0hFhgIH7c17W+2dMGBCQqaSCL8FPF9EucYmQ9u9jUP//FeXW NKDn20DGg9Z9+AkJ7YMzLyD9kab0tIfb7/JW5R3VEYDb81CSDrSV6m/HoCi8oCfdNMVe 76tc8QlN+xyN9bIxmagYiGyEO+rwkdg9LjxONN5ao3UYgqnhXlfSBwpOr5V/zI5YBhBW bWM+6EDHDrhbJ5RBUa2P9AlJuU8jhDoG2RnnLqy+PmenOguxYG2GjXab7uHUC5OpW5/5 Q99Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=QUMOkPeMucCrVnY3P+UvLezzWpEMIoKiJLXkw/+9teg=; fh=ILfehVq00xQpWeGx+D4LROGVY5pTVqYDFiWHWwZwkkA=; b=vSXoQLMmX4xvANH4RGnWI2yk2NZcvYealYjIlB6bRVF2qS4jcP9pSmoduWoDr8S6Ay Xu+eJIdqFY3CNT+OuuFjqLwHUSwqerLwpGZaLJLSEr9+yiu1YP8HO4UVZXGmlHX6bC0l 4t16+z0dJCkJXwit/YU1VmKc/V8xleawTv6trV1322IErp2l+uQscUc+K5JneJwWOIcz UAWSxU4tu0Nlv59V4iWvlf/PXiIiLc/nJmEuyP1i0dtC312B2kgRBcrREbnWzwyDtY20 c1QAoXOrqVg+hUKvrlhNjYh1wLOCQC3wYNPW6oOM5DUJ3dYwgE9ZTGwVavV8S/f4kcU5 eRrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=usxrKTft; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-155135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155135-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id hb12-20020a05622a2b4c00b004314898c23dsi11863751qtb.501.2024.04.23.05.12.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 05:12:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=usxrKTft; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-155135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155135-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 44E2D1C21FA0 for ; Tue, 23 Apr 2024 12:12:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3820884FCB; Tue, 23 Apr 2024 12:12:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="usxrKTft" Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA1C382865 for ; Tue, 23 Apr 2024 12:12:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713874333; cv=none; b=fvz5/2ky758/IMi+I6iI7geKqJpQ5FezV4aqhkeTzgyfb5ShkzNSDsxYYYNNFNMLwE7yfLyVaV7qiS+JKJi091dqODtv/nyPN9gSadbRpfHadPUQoxsuyBEPs+DVbw+LMaH3S/CLdqgLbGJ27a7y8nqXUJJFIzpfJtRC/t1+zKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713874333; c=relaxed/simple; bh=QUMOkPeMucCrVnY3P+UvLezzWpEMIoKiJLXkw/+9teg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=j++FYKYFNYnBhdVLWKlIvZBy3cJOofRIUEMBYjTwQBU4tE/9uwJKjbigw6wkhKSnVqb95Xwh92b743yI2vOSnbhMDkWocl+IPBXh77tkCldJoQTv0vm2tsSmO7SvRp5raFtYXxJGQREz50/M/k3z1jQ0Jys8Xv989iFUSCG2Z54= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=usxrKTft; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5720583df54so9657a12.0 for ; Tue, 23 Apr 2024 05:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1713874330; x=1714479130; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QUMOkPeMucCrVnY3P+UvLezzWpEMIoKiJLXkw/+9teg=; b=usxrKTftqr0M1ywr7mtAx68AfLSglhIAYTYKR/O6op6vPqR6oLMCnAjGsKlJxW/eqH gckISObPuWCsATxL3TkHE3ca9TMbXusUKyHCYFX3B0M3gtFrAXDQsGSdLo7/75lCnEjr tlN93vgScYksR/Bm0lL5r07CC7/ybqRTl2SJjqgryvageV3hyMljbO70a+j41ZO/P+GX dddJR05QJltVAxpQrQ/rfKTMAPR9JnuuMWLdOYjhSK1drNmiHnCEmq0DVZx1X29h128O 9eidYD6vQzRJZQUkx3SybExOQrXs2VCp0GqkiYMs96FVbGenwSzH3WhDqk4Pfzx3vwlH rOAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713874330; x=1714479130; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QUMOkPeMucCrVnY3P+UvLezzWpEMIoKiJLXkw/+9teg=; b=pfE4alDD3TQLNa+jTHe/0oaHjgjFGTStHCj9WQxPe/mEPTXVsnDkXHiKc7A/+flVHy iq2VRRZOAPQPhDyjMhPwTdPEQ+GqnTwNYGv1HkZtnGeCOelOcm+qV4+T+fttUCjkWXj6 AH70j7Qlbu/mdd4C0AE0yMjPFYgq2shsEz5JNSXu1M7KgsCvqP4dNvobb47ynJzRXtli CKEd/fBCLpakIWeADXKfAJFsqk1B8lhQbuio97Zto9q8kXW7wr97Mjq7FkSVDwb3auge Q0I75rQhtNIbblM4sLAVwIPHCiSOQ4JsYoPmF0/nUzMIWCTSy8yXdR2pNu0Gr46HiQ43 quqw== X-Forwarded-Encrypted: i=1; AJvYcCW7nNfSBhwS5HMfQgT6YwkcHKMp4zjfonOJ3uCuCZIlkm2tTD7oIagmj0b9BZ8xi6JpxUCW6S0R3QBkVa33GqeQ4nznswCFJKukHhfR X-Gm-Message-State: AOJu0Yyx4BIgGGSZuXcMdIjUFUhboSs1Pdt3EMjoEIddYdphJNVvQJiN AYLKkAHK97zn4WLSA8jwZx9cghsYDkG4u0YrxjFX0jIZCW0RyBQo9Eu0zzfIyDMxFcfMWMUHncH 1wzUq0bYdRge09VleoPQRiMtfqfR2KpGkC8sU X-Received: by 2002:a05:6402:884:b0:572:145e:d6de with SMTP id e4-20020a056402088400b00572145ed6demr173985edy.0.1713874329999; Tue, 23 Apr 2024 05:12:09 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240423094117.93206-1-nbd@nbd.name> <63abfa26-d990-46c3-8982-3eaf7b8f8ee5@nbd.name> <7476374f-cf0c-45d0-8100-1b2cd2f290d5@nbd.name> In-Reply-To: <7476374f-cf0c-45d0-8100-1b2cd2f290d5@nbd.name> From: Eric Dumazet Date: Tue, 23 Apr 2024 14:11:55 +0200 Message-ID: Subject: Re: [RFC] net: add TCP fraglist GRO support To: Felix Fietkau Cc: netdev@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Paolo Abeni , David Ahern , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 23, 2024 at 1:55=E2=80=AFPM 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 alre= ady ? Many of these devices are probably using NAT.