Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1770962lqb; Sun, 26 May 2024 17:19:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWC2B7wd+ed/NKdI1nmgEMTwLyi5LQGvUjs4AEv7xJ66Uvr8uPbYqBfHy0bzJ+HyJbA/JwwsYRYbVjxFxzQKTyMPIavyRbSgVw8vlwWmA== X-Google-Smtp-Source: AGHT+IHbb04LEKNm8ROwnWMGEylxjB1F4YJMEAOc9gQYpa+PHPOrNu2mIW9d9VLOjSIp+ebTkfAO X-Received: by 2002:a05:6a00:1f12:b0:6f6:7c6a:2c14 with SMTP id d2e1a72fcca58-6f8f2c56e53mr8340142b3a.4.1716769190109; Sun, 26 May 2024 17:19:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716769190; cv=pass; d=google.com; s=arc-20160816; b=FpIsuH+9+73oKS2SN9pWQ+ZwgVjIbI5Tde5ggNESefpr7sZuOs//rgjM+OWerpflgZ vQryMUYGW+rFVGlfHmk7h2tXbMHGNcRkVskJc73b2czwOSYqWIFGh6s8wxbVPV8cjAbr MvRXQ2zFbNxOCPoW+nieJCA7afM3nCzHc4+W9ktWyBwIvUsjfA3/WCG639ydsq5v3Yke pO4ltN3BlH1oO58xCDYtBqZUZgZcABliwjm01onCw5GWeUydHH0QPLXvDuE6UVMgIHzu dkrf6GGdZVRGOAx5a85fYxlTqZBDa+2jeEDfsi+oaFMrZ7NgZlh0A+B3fHosaybtJw3l YhpQ== 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=8c4ilwGABuwhx4/FiUe+6pqox6IKYVl2IVng+0WGpvg=; fh=L2/T9k+Zh7fVrL7ktNfwRluMlBCrBfjOZ6a3q/GSKOk=; b=mql6ff1GPS715hQJIJNLPVF1uRsneuZcevtve3K75WYUtfCdGFm5CnsnoxCMd5OR85 qnkqj9GT8M/TGqUd5T9zEeE7sXLkTFfk190SQ3lAGzke7/0fHSCOjAYpDn7nSvLOB7ZU rF2mqckaUAvqixSUUIGRAruh5zbfnUNTqWm5526HRqO+GJahq78G1WHp9TNwz93CXlzV xrN/rc6BcqI0cUdLzJ8yCprBfCodGGhejSxlsvJ4DzaGOOfcmExM52TCeJRH7kMf8qJd C+CwPZi65wbSIOF6V+VakqVYlBI9IYUEacCb5qEjw7CR0PkzE21STyJgcI3TIyoGR/zm ppEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@orange.com header.s=orange002 header.b=GA0pocAe; 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-189912-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189912-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 d2e1a72fcca58-6f8fcee297csi5001521b3a.161.2024.05.26.17.19.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 17:19:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189912-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=GA0pocAe; 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-189912-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189912-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 BDE70281785 for ; Mon, 27 May 2024 00:19:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26A66881E; Mon, 27 May 2024 00:19:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=orange.com header.i=@orange.com header.b="GA0pocAe" Received: from smtp-out.orange.com (smtp-out.orange.com [80.12.126.239]) (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 C766B6FB0; Mon, 27 May 2024 00:19:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.12.126.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716769181; cv=none; b=soxg8xa860dajiHnMs3/pYkgoJyxtght1XfbSpndyCwP0L5bj78hEEUq42c1v9ZT74r9xKP7g9hNv4uQw9QM/VYemjukjR6hX7dvNcIJHYPZT5xjlBInemSVo8pW1TTEsbq1v7azeZ8B9XaIjI56wYpRGDJ/jGBMCHaM1OcIufo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716769181; c=relaxed/simple; bh=8c4ilwGABuwhx4/FiUe+6pqox6IKYVl2IVng+0WGpvg=; h=From:Message-ID:Date:MIME-Version:Subject:To:Cc:References: In-Reply-To:Content-Type; b=UzLjWT+aMRrUBimfydSsqSurYc+dWwAmXIgqaBopGS8fU/wIdrJ19uxVV3ZrZspzj4EBtbS3jXl6ncKoQrEo09Vvy8yjqm4CBWStq9c7NoNw1RPE6ans1v8IkxwgGyqhLEzPdJmUqjMs18zi19Ut1uVrBWc7ENgalSTocFt6A/E= 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=GA0pocAe; arc=none smtp.client-ip=80.12.126.239 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=1716769178; x=1748305178; h=message-id:date:mime-version:subject:to:cc:references: in-reply-to:content-transfer-encoding:from; bh=8c4ilwGABuwhx4/FiUe+6pqox6IKYVl2IVng+0WGpvg=; b=GA0pocAerad0U6VlOW0t03iBjE1L0XKAh0UUZHD+4NrC/tD9OXuaUOl2 q4ACfEDwWyobQC4FkMfnDBESe7H4qpmpsJYLI0R9GFK5SWOJ8PgmCr+d7 u1bnN7gKx9AQgALz6uQMwytxTqDv1Fk5128vTql+qtV7dI1WJD6m264Ka OJXYFCnrRT3+f+QApwf3Hc+EGKvc1x5a1BFNhrAbxknFGLgDV0AoBz+Fb CxPDEkiJoGgd6L3KCBx8bpKMML1s3sxpGe9prE6LsE4LDUHBXuz90Md+p Ml6/zDT6B/gtH2jD0xsO8HzyabvAr/9CxesVJ4c+fmqxji9kjEj+6TjeW Q==; Received: from unknown (HELO opfedv1rlp0e.nor.fr.ftgroup) ([x.x.x.x]) by smtp-out.orange.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2024 02:18:26 +0200 Received: from mailhost.rd.francetelecom.fr (HELO l-mail-int) ([x.x.x.x]) by opfedv1rlp0e.nor.fr.ftgroup with ESMTP; 27 May 2024 02:18:28 +0200 Received: from lat6466.rd.francetelecom.fr ([x.x.x.x]) by l-mail-int with esmtp (Exim 4.94.2) (envelope-from ) id 1sBO49-009Ocm-Gi; Mon, 27 May 2024 02:18:26 +0200 From: alexandre.ferrieux@orange.com X-IronPort-AV: E=Sophos;i="6.08,191,1712613600"; d="scan'208";a="145223146" Message-ID: <5bbaf136-5409-4256-b4a4-1ac8ba501b26@orange.com> Date: Mon, 27 May 2024 02:18:26 +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: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240520070348.26725-1-chengen.du@canonical.com> <664f5938d2bef_1b5d2429467@willemb.c.googlers.com.notmuch> <66520906120ae_215a8029466@willemb.c.googlers.com.notmuch> <3acef339-cdeb-407c-b643-0481bfbe3c80@orange.com> <6653547768757_23ef3529455@willemb.c.googlers.com.notmuch> Content-Language: fr, en-US In-Reply-To: <6653547768757_23ef3529455@willemb.c.googlers.com.notmuch> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 T24gMjYvMDUvMjAyNCAxNzoyNSwgV2lsbGVtIGRlIEJydWlqbiB3cm90ZToKPiBJIGRvbid0IHRo aW5rIGEgbmV3IERMVF9MSU5VWF9TTEwzIGlzIGEgc29sdXRpb24uIFRoZSBhcHBsaWNhdGlvbgo+ IGp1c3Qgd2FudHMgdG8gcmVjZWl2ZSB0aGUgZnVsbCBMMi41IGhlYWRlciwgbm90IHlldCBhbm90 aGVyIHBhcnNlZAo+IHZlcnNpb24KClllcywgSSBkaWQgbm90IGludGVuZCBhbnkgcGFyc2luZyBl aXRoZXI6IHRoZSBTTE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