Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1276654lqb; Sat, 25 May 2024 13:57:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtp5lZOO6M0iQP4nJBUW/NCeOl7/dctkDpKDfBZboeWBBchC3xvfvLDvADp0mhUX3qJJTRi7kmELtei7xJvoqOz1GEXGmminyEd7sRrA== X-Google-Smtp-Source: AGHT+IH0E3YJbmb4WCmqTRqSns/1sJ4lf/oxPVoI/Yufl85ofiCJJyw9Wfv/+XxgUM17O4GQzl45 X-Received: by 2002:a17:90a:db44:b0:2bd:b21d:cfd6 with SMTP id 98e67ed59e1d1-2bf5f209325mr5327118a91.33.1716670650499; Sat, 25 May 2024 13:57:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716670650; cv=pass; d=google.com; s=arc-20160816; b=FF4ZnLqS8GvcOva00FqOAZuq9XZ0QxFokUz3O2tXeitdc6XsNzg6Pu5mQXxZRvQFDd qRkVl424Aj8EQl4dyR72OPXyjFy8J9biYv3nErSx5Lse8UY8WyOowsuK69ojuS3mifYO QjM4FzSEjBc7E1M4WBsx1eJBkSwhfYeiESPqf/KAhLJmIvadM2rLX4KRqV1hL59VViGd cvqW8ARtaMBl8708aFWZgbpcrcFVpfpTImfBVS+UZ0pXp9/UzaJ7PWX47D7rDqwGBe4a W2ajdkge/7NqZ8REHUhE+aJo9BHa0GtRy6vyowjU7CMwTw7GmZu1bU7PZKZ/PoorMytU v9wQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:from :dkim-signature; bh=vXs1xsSuDvhbu9fGviw/sbbEK2nBU38gIw01lU2p3ks=; fh=K7fL2nftBZHyKBw57g5qIzJBpYRoJInk7ajzO9cLBME=; b=STdoDbRb9jliP+rxlWOtK/ZqDjjEMDLmeSI23fnfSuYUq1y3LKDnWuinQYxcPISyLG FgvvpHvk+DgBdq6cnKws/rtpDf8iCnzaAFmjJwDs+ejFA0Is2k3PVxN+dxEDX0l4o40J nBq8dXiomCG4KY/BgufMRDtSkPLXrb3enajyIws+icTkqhjJljKZQrdgKdFoEB5aQJHf oPMqgoLLdLQpeN3pyEDc0GzEdUaoEFM8e8JN6ZY00rkscODo9p4wrmj2Iz/OD9ETJ+TS vuw6VtVWE9vEYu2i6eLe18QayWzm3v11aOB0y6yQxnVSDHfIGFDkHh0WHKN05Z9bFez7 8Few==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@orange.com header.s=orange002 header.b="fQPuZEg/"; arc=pass (i=1 spf=pass spfdomain=orange.com dkim=pass dkdomain=orange.com dmarc=pass fromdomain=orange.com); spf=pass (google.com: domain of linux-kernel+bounces-189536-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189536-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=orange.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bf5fac6475si3511879a91.26.2024.05.25.13.57.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 May 2024 13:57:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189536-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@orange.com header.s=orange002 header.b="fQPuZEg/"; arc=pass (i=1 spf=pass spfdomain=orange.com dkim=pass dkdomain=orange.com dmarc=pass fromdomain=orange.com); spf=pass (google.com: domain of linux-kernel+bounces-189536-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189536-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=orange.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C6E822813A2 for ; Sat, 25 May 2024 20:57:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2496F1292E1; Sat, 25 May 2024 20:57:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=orange.com header.i=@orange.com header.b="fQPuZEg/" Received: from smtp-out.orange.com (smtp-out.orange.com [80.12.126.237]) (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 B8DFF4E1C3; Sat, 25 May 2024 20:57:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.12.126.237 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716670640; cv=none; b=OaN2DV91nx4n5mecMNPtQKcu3QW5ChJt5iYDt+e2+GyejzOaZ+zD+9Y9B77Xh9WDwbMdtu7XjwuO5FdhnxVKGtp59SS301KyJw0icc83Mg0dEbYZhsn8cnq8/xWUGWnxsoQDXSeToezHqb9MTwxldC78mkv7uuR6u0sAOkOb/rs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716670640; c=relaxed/simple; bh=vXs1xsSuDvhbu9fGviw/sbbEK2nBU38gIw01lU2p3ks=; h=From:Message-ID:Date:MIME-Version:Subject:To:CC:References: In-Reply-To:Content-Type; b=mnbfB8PNoNtSWWRqAPHFsNC6Fah+DLNFD6IXBTpLYPAU+enOBbhEZr1UDIq6WaaXJMpFVX770kTH04E0S1sDQqeC2Gm1RqqIF5wJI/E38nVsVzCKGZSnWVn+8K9b52PCNZ5cfZImOGYaXwqtRwUFOtzFRi/2GSWZvRonlAPbKz8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=orange.com; spf=pass smtp.mailfrom=orange.com; dkim=pass (2048-bit key) header.d=orange.com header.i=@orange.com header.b=fQPuZEg/; arc=none smtp.client-ip=80.12.126.237 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=orange.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=orange.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.com; i=@orange.com; q=dns/txt; s=orange002; t=1716670638; x=1748206638; h=message-id:date:mime-version:subject:to:cc:references: in-reply-to:content-transfer-encoding:from; bh=vXs1xsSuDvhbu9fGviw/sbbEK2nBU38gIw01lU2p3ks=; b=fQPuZEg/tXxN3Red9f49NWZ7xglhI5VJuyoaba8gJlY4qcLd5BcNifiJ Y0uJLwhP8KHrVxjXttpI2b3BPz9vXqTs8mwLfwmg6TV2bYvlSS50HR3Ge 1a8rcN/FOkNfebhEpxvMdisw+/tX3fwrDb+gP9VhC8T8KxWPJxaWrUDed 440TyXWOaZbpFIMjm9M+C3K16co/hAEwka9nW68kUg8rq6JlvDXyL3LVc 3MPgwDVSPli34TsYjZ2BtxxgXydPmejqyFFz8ml1AzFqXcar1gQIl1Cfw SoxLoJTZDvlOd4hmcJgBeoMGMtk0QQ/a2oGP+4jNxia9qQUFubJBtgcq1 A==; Received: from unknown (HELO opfedv1rlp0c.nor.fr.ftgroup) ([x.x.x.x]) by smtp-out.orange.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2024 22:56:07 +0200 Received: from unknown (HELO OPE16NORMBX104.corporate.adroot.infra.ftgroup) ([x.x.x.x]) by opfedv1rlp0c.nor.fr.ftgroup with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 25 May 2024 22:56:06 +0200 Received: from [x.x.x.x] [x.x.x.x] by OPE16NORMBX104.corporate.adroot.infra.ftgroup [x.x.x.x] with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Sat, 25 May 2024 22:56:06 +0200 From: alexandre.ferrieux@orange.com X-IronPort-AV: E=Sophos;i="6.08,189,1712613600"; d="scan'208";a="147185672" Message-ID: <3acef339-cdeb-407c-b643-0481bfbe3c80@orange.com> Date: Sat, 25 May 2024 22:55:59 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Betterbird (Linux) Subject: Re: [PATCH] af_packet: Handle outgoing VLAN packets without hardware offloading To: Willem de Bruijn , Chengen Du CC: , , , , , References: <20240520070348.26725-1-chengen.du@canonical.com> <664f5938d2bef_1b5d2429467@willemb.c.googlers.com.notmuch> <66520906120ae_215a8029466@willemb.c.googlers.com.notmuch> Content-Language: fr, en-US In-Reply-To: <66520906120ae_215a8029466@willemb.c.googlers.com.notmuch> X-ClientProxiedBy: OPE16NORMBX204.corporate.adroot.infra.ftgroup (10.115.26.9) To OPE16NORMBX104.corporate.adroot.infra.ftgroup (10.115.26.5) Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 T24gMjUvMDUvMjAyNCAxNzo1MSwgV2lsbGVtIGRlIEJydWlqbiB3cm90ZToKPiAKPiBGaXJzdCwg d2UgbmVlZCB0byBldmVuIHVuZGVyc3RhbmQgYmV0dGVyIHdoeSBhbnl0aGluZyBpcyB1c2luZwo+ IFNPQ0tfREdSQU0gd2hlbiBhY2Nlc3MgdG8gTDIuNSBoZWFkZXJzIGlzIGltcG9ydGFudCwgYW5k IHdoZXRoZXIgdGhlCj4gcHJvY2VzcyBjYW4gY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