Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1954321lql; Wed, 13 Mar 2024 12:56:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVkCvrAFldOopHLooEC7XuTf18Qw/C/LaXuKmFs93vsVWuz8n9CA8Fs6EFCJmgwIDDNLuCuEgL+fsW5+GSuQ7DzmvujnqH+M4KUTL4iYA== X-Google-Smtp-Source: AGHT+IEuVif+199BSZLfSL82PQ8jEQwqvkZy9JDQCpymOrO1zayn8YXr/S6gjweoYhpmPS1Y6gYj X-Received: by 2002:a05:6a20:3b21:b0:1a1:8474:31e4 with SMTP id c33-20020a056a203b2100b001a1847431e4mr6197129pzh.16.1710359802822; Wed, 13 Mar 2024 12:56:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710359802; cv=pass; d=google.com; s=arc-20160816; b=enmw7a4XWuUeoNUVHgrYyLscCbU79igU5kQKmN/e0qkUwAkb9bhtR2oGTVKMpkNItB A0SDLJvJZ4ergke2lFp40AtxlFVk7xGuJhSPCSrSaCtkkMqfHRB90MXDf4eukP8TXFvd FZWNBGJdrw7WzOrlspQzZBZJHS8swC+yCTOs8zBJ028RF+Kx23guwnCaOm3fgZQ5MMS/ NY0SKVPgOERO7zLs+MKwZDurY1bcvEhAFbC2c8BvWeZRZCpF/OEf/IRjNORv00+qrAQS EMKA+rjCca7z/bAf2kPhtblB5uR3wlu7Po2pXB898rLtNdtEgU2ahP/UzzjVGqX4otmv NtFQ== 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=UKCF2JgHU6sGdK9UO+UqDfgKMPdx70tIOR76xFhLuAM=; fh=X+95IUJEtgnk9YkbTjEzSlrKxlBZFcPMNA50Ty9Scfw=; b=gb1OUmq64SC+d2VXpx2JDMMXZ3MaDtEQv2kuQPmwKrhWREkHhwRHgcMFPAJN6PJn8L HK6MB2kqQY+wdDbZDmcNO07APFhcMd+wEFo06yx4PbBzWhWKFrEzruI7TPjEl6B8IJyf TwIVt7XDMK4yY6NiJPnx7WeECTt8jhYHMBNdy+irxR0wKXgivkNLI0aAqoyaU1rMHxf/ vIKKvFkB4ImDB3WTSQIxo3X65xknfDHlESCmnEXiiVUFZkaeydL0kkAmSH0D9TlZtVx2 tbzMzedjvIrCJagJIu3/2T/mdA4NFzwvW/gR5hsuazGbs58khmPnkN34icOXyFhwKm6U wlPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google09082023 header.b=DsWP5D+9; arc=pass (i=1 spf=pass spfdomain=cloudflare.com dkim=pass dkdomain=cloudflare.com dmarc=pass fromdomain=cloudflare.com); spf=pass (google.com: domain of linux-kernel+bounces-102375-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id lm13-20020a170903298d00b001dcf96531bdsi9899760plb.126.2024.03.13.12.56.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 12:56:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102375-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google09082023 header.b=DsWP5D+9; arc=pass (i=1 spf=pass spfdomain=cloudflare.com dkim=pass dkdomain=cloudflare.com dmarc=pass fromdomain=cloudflare.com); spf=pass (google.com: domain of linux-kernel+bounces-102375-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 50C6CB23A3C for ; Wed, 13 Mar 2024 19:14:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EED88634FD; Wed, 13 Mar 2024 18:40:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cloudflare.com header.i=@cloudflare.com header.b="DsWP5D+9" Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (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 CB0D751034 for ; Wed, 13 Mar 2024 18:40:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710355230; cv=none; b=ZCxUCxUGDAgEPvQ24WVFt8jl67uuuAQMKaJo+M83kYM7BpFHkePfGF6AuydZchHKOTOzyPU1dU5IeCyQ+lfiyoZScf1irmu+Rg2GCX55vcLxaIbZLBnviBGeureQjTT/1aF/nh+wsOtGtO8mN9SbOYnJ3hglEPXOnaRYQj7i2bI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710355230; c=relaxed/simple; bh=UKCF2JgHU6sGdK9UO+UqDfgKMPdx70tIOR76xFhLuAM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=muM3hjA2r9HLKOZoSdjNRgVT7EgBzSugi7CbfSA92Jt6Qw74fFWGxxSbKBEvTdXlQSUZU0wnsxOAl6Ml5fmD8+yGmMSrSL+xyfVyoTDVowbx8HIWPSy+3I1PFscX66grHFOxIp+jl1YqxbeUgwoYUKz6KaHkulucnvLWq6YQ40g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cloudflare.com; spf=pass smtp.mailfrom=cloudflare.com; dkim=pass (2048-bit key) header.d=cloudflare.com header.i=@cloudflare.com header.b=DsWP5D+9; arc=none smtp.client-ip=209.85.216.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cloudflare.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cloudflare.com Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-29a8911d11cso126713a91.1 for ; Wed, 13 Mar 2024 11:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google09082023; t=1710355228; x=1710960028; 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=UKCF2JgHU6sGdK9UO+UqDfgKMPdx70tIOR76xFhLuAM=; b=DsWP5D+9ztT78OdfoxZNmKX7mrs3RRF6LNVAAVVePPTRkn31yOqFJc0zCijhsHStSg Jx6cJpITe3jyY38S6vzFQOX89Bv4SsBExza05GPCZerYL3CroKtwTjqZRhbVjAvPFRh7 Ad4XG9GtXEPZaT3bbebPlGGyX+TyJx7JT3exVJfn+Pj/eCExwBc7BDo9cAPhuMpZNaxp kkYZbsapbdYl+Xcr8G6pVAHrsbfECdeAV/zRj4890dNXfqY1F7zb6nqbX45gjXoPE6rl cOgX9M64EtCCpBxng3pynmHiPtBtKZLik96NVpR+84RxK45yUoOlIymPqyAf8Wlg/ybb hZ/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710355228; x=1710960028; 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=UKCF2JgHU6sGdK9UO+UqDfgKMPdx70tIOR76xFhLuAM=; b=SetKeE7FzC0Gk8L32EMpGhfLsckysmrKW3M0jEoObUvcQ/oOojO1S1p/YIphZvvmot MXKYckypCF+lNZAbKMUOEHPWws6SSJpLI+M/BJZpdwb3qlQJxEm2wrBI2dsvV19d9dQv nyYzKuKWtYRbda75+3DAoep6IQG42SH8NA/tHgtWZuL73M7HA/wq1ELgTfHjZ7GMDaQg BbAif/DHt5Jag8HVbThPhO/MHS1JJI6ngJpDf2yLZYSj9WvWT+DebGoQAYWpE+b8ibYu qjSYih5RJKgAfFtVrHr8fwWjJV5R1hdC6m3XKdFmDg/dFLGTa7ey5Wvm+LqXSMICtqbr 0ipw== X-Forwarded-Encrypted: i=1; AJvYcCU2wZLsP0ahzWOXpAPnihvSPbl2FlApdD0u/WYPWYyvptWhkXVrizccwBTbDfiPMUObe/NVThcbR6NUYy6UnmOQrz5BaPN64LpitZhW X-Gm-Message-State: AOJu0YwonNufrX3QdBdhV4eFtvCZa8fkwetb3BfPd5X/49Jg7O8wdl05 98LgjLGay1ZCUpWRCqJrDPGQzaaXxwzHYdGsHUNCd/2fVdMihRb4RzFV7QcoSrCc1osaPJZSx8C ZU/KOSmFqczj8mxXu2X/1Jyp6TWXmCqtFAGn9ZQ== X-Received: by 2002:a17:90a:7784:b0:29c:720b:5f95 with SMTP id v4-20020a17090a778400b0029c720b5f95mr786007pjk.30.1710355228037; Wed, 13 Mar 2024 11:40:28 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240312160551.73184-1-ignat@cloudflare.com> <20240312164221.5bf92fd0@kernel.org> In-Reply-To: <20240312164221.5bf92fd0@kernel.org> From: Ignat Korchagin Date: Wed, 13 Mar 2024 18:40:16 +0000 Message-ID: Subject: Re: [PATCH net v2 0/2] net: veth: ability to toggle GRO and XDP independently To: Jakub Kicinski Cc: "David S . Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@cloudflare.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 13, 2024 at 12:42=E2=80=AFAM Jakub Kicinski w= rote: > > On Tue, 12 Mar 2024 16:05:49 +0000 Ignat Korchagin wrote: > > It is rather confusing that GRO is automatically enabled, when an XDP p= rogram > > is attached to a veth interface. Moreover, it is not possible to disabl= e GRO > > on a veth, if an XDP program is attached (which might be desirable in s= ome use > > cases). > > > > Make GRO and XDP independent for a veth interface. > > Looks like the udpgro_fwd.sh test also needs tweakin' Sent a v3 with adjusted test > https://netdev-3.bots.linux.dev/vmksft-net/results/504620/17-udpgro-fwd-s= h/stdout > -- > pw-bot: cr