From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 04245A0C4D; Tue, 31 Aug 2021 06:12:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7AA10410D8; Tue, 31 Aug 2021 06:12:25 +0200 (CEST) Received: from m1230.mail.163.com (m12-30.163.com [220.181.12.30]) by mails.dpdk.org (Postfix) with ESMTP id DB783406A2 for ; Tue, 31 Aug 2021 06:12:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=2uLc/ 3DsuMGbu5yvGz2BZQF4OQK5Kxc6U/u3e21OoHw=; b=iabk1UoJ+kET3qhX5kTPM eqYe9a0Wyg+437FeBJfZF41Ex5LgFzu/LbXo+e53Wg6asfTuqTn6q9LvVT9EHyDa 372US93nwW6KPkzk4gjUFAlAAnTHr5rVxIXFDN+Jm/YFls8rOE57ts9UvAp+qCwm ieTFXhpa9i3zuxf+2vo2j0= Received: from chenqiming_huawei$163.com ( [2408:8440:d08:3d6e:e480:8f24:240:1022] ) by ajax-webmail-wmsvr214 (Coremail) ; Tue, 31 Aug 2021 12:12:18 +0800 (GMT+08:00) X-Originating-IP: [2408:8440:d08:3d6e:e480:8f24:240:1022] Date: Tue, 31 Aug 2021 12:12:18 +0800 (GMT+08:00) From: "Qiming Chen" To: "beilei.xing" Cc: "dev@dpdk.org" X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.13 build 20210622(1d4788a8) MailMasterPC/4.15.1.1001_(Windows_10_20H1) Copyright (c) 2002-2021 www.mailtech.cn 163com In-Reply-To: References: <20210830020219.2605-1-chenqiming_huawei@163.com> <20210830020945.2715-1-chenqiming_huawei@163.com> MIME-Version: 1.0 Message-ID: <79bc24a.2067.17b9a6867d4.Coremail.chenqiming_huawei@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: lceowADnnTYjrC1hLGUJAQ--.26850W X-CM-SenderInfo: xfkh01xlpl0w5bkxt4lhl6il2tof0z/xtbBZBwAoFQHOTa42AABsl X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: solve vf vlan strip X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" b2vvvIxIYXMgYmVlbiByZXN1Ym1pdHRlZCB0byBMVFMKCgpodHRwczovL2luYm94LmRwZGsub3Jn L3N0YWJsZS8yMDIxMDgzMTAzNTIwNy41NTkwLTEtY2hlbnFpbWluZ19odWF3ZWlAMTYzLmNvbS9U LyN1CgoKfCB8ClFpbWluZyBDaGVuCnwKfApjaGVucWltaW5nX2h1YXdlaUAxNjMuY29tCnwK562+ 5ZCN55Sx572R5piT6YKu566x5aSn5biI5a6a5Yi2Ck9uIDgvMzAvMjAyMSAxMzoyM++8jFhpbmcs IEJlaWxlaTxiZWlsZWkueGluZ0BpbnRlbC5jb20+IHdyb3Rl77yaCgoKLS0tLS1PcmlnaW5hbCBN ZXNzYWdlLS0tLS0KRnJvbTogZGV2IDxkZXYtYm91bmNlc0BkcGRrLm9yZz4gT24gQmVoYWxmIE9m IFFpbWluZyBDaGVuClNlbnQ6IE1vbmRheSwgQXVndXN0IDMwLCAyMDIxIDEwOjEwIEFNClRvOiBk ZXZAZHBkay5vcmcKQ2M6IFhpbmcsIEJlaWxlaSA8YmVpbGVpLnhpbmdAaW50ZWwuY29tPjsgUWlt aW5nIENoZW4KPGNoZW5xaW1pbmdfaHVhd2VpQDE2My5jb20+ClN1Ym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