From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BC695A0093; Tue, 19 May 2020 13:56:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F108B1D5E5; Tue, 19 May 2020 13:56:21 +0200 (CEST) Received: from CNSHJSMIN03.NOKIA-SBELL.COM (unknown [116.246.26.71]) by dpdk.org (Postfix) with ESMTP id 237571D454 for ; Tue, 19 May 2020 10:32:16 +0200 (CEST) X-AuditID: ac189297-fb9ff70000005564-00-5ec3997d8573 Received: from CNSHPPEXCH1601.nsn-intra.net (Unknown_Domain [135.251.51.101]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by CNSHJSMIN03.NOKIA-SBELL.COM (Symantec Messaging Gateway) with SMTP id DA.EE.21860.D7993CE5; Tue, 19 May 2020 16:31:57 +0800 (HKT) Received: from CNSHPPEXCH1601.nsn-intra.net (135.251.51.101) by CNSHPPEXCH1601.nsn-intra.net (135.251.51.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3; Tue, 19 May 2020 16:31:57 +0800 Received: from CNSHPPEXCH1601.nsn-intra.net ([135.251.51.101]) by CNSHPPEXCH1601.nsn-intra.net ([135.251.51.101]) with mapi id 15.01.1847.007; Tue, 19 May 2020 16:31:57 +0800 From: "Yan, Xiaoping (NSB - CN/Hangzhou)" To: Jeff Guo , "beilei.xing@intel.com" CC: "dev@dpdk.org" , Olivier Matz Thread-Topic: [dpdk-dev] incorrect vlan_tci in rte mbuf Thread-Index: AdYqp2VSjUoJKifNSDyWYgDBzswvoQB+tw6AABL2G2AAHn/cAAASeW0A Date: Tue, 19 May 2020 08:31:57 +0000 Message-ID: <1d619997740e4d849e1a35c7f87f3058@nokia-sbell.com> References: <301f18faf1184d7fb3b3958f1dbb1675@nokia-sbell.com> <20200518072405.GG1739@platinum> <30f00b616c0049b9b3f5f26b70b4088f@nokia-sbell.com> <34885cc0-edd9-9889-9799-a7c6d6485edd@intel.com> In-Reply-To: <34885cc0-edd9-9889-9799-a7c6d6485edd@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [135.251.51.115] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkeLIzCtJLcpLzFFi42Jp/22cqls783Ccwb1F3BbdH1qYLN592s5k 8fzPK2aLrU0bmRxYPC7232H0+LVgKavH4j0vmQKYo7hsUlJzMstSi/TtErgyZn1qZyv4Z1bR PeMfawPjCdMuRk4OCQETiam3J7N3MXJxCAkcYpJ49ruZEcL5yyjRf+AkVGYTo8TXdcuYQFrY BDwkXpzYygxiiwgES2x7/Y21i5GDgxko3tvmCWIKC5hJ/PilB1FhLnFm/Tt2CNtN4s7KLawg NouAqsTak7cZQWxeATuJa4tXQK06yShx8dlxsAZOAVuJS0/mghUxCshKTHt0H+wEZgFxiVtP 5jNBfCAgsWTPeWYIW1Ti5eN/YOdICChJ9G1ggrhMU2L9Ln2ITkWJKd0P2SHWCkqcnPmEZQKj 2CwkQ2chdMxC0jELSccCRpZVjNLOfsEeXsG+nn4Gxnp+/t6ejrrBTq4+PnrO/r6bGIFRtkZi 0vQdjM9nfdA7xMjEwXiIUYKDWUmEd8KLQ3FCvCmJlVWpRfnxRaU5qcWHGKU5WJTEedPeH4wT EkhPLEnNTk0tSC2CyTJxcEo1MEV9Dn2tuSpK//iP8GWLvn6T0T/449T7I6LtBoq7c+4vclzy p3fbuuqZVVbXyz7L34iW6L+95NjGVwZ6B6fe6pCyj4yqezPX75dorZqp6Lkk69cVi39lOJuc /NDj7TzrlpvIAcZZeSz1Cv+VDJiSj8y9N8Vp1oNwoZamdxwFUb3TXCuWql5nYt644VZ+nTGb Y2Bs7FO2lXL2Jp5Lnp3QvV3RYFciqpneYRBU6RaXmqBV56TH+mne89tOe1mmbgh/vzzCVOOm 8tdtiQnvs/Rtf7b8PRu6e+WxWTfn/ZvAPd0jjitWjaH90eLlJ5ezLzZdk2rrUvKf77HT+dVv LylfZ+YscT6W++1rwC7j7LvbNyixFGckGmoxFxUnAgAUQR83IQMAAA== X-Mailman-Approved-At: Tue, 19 May 2020 13:56:21 +0200 Subject: Re: [dpdk-dev] incorrect vlan_tci in rte mbuf X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" SGksDQoNCkkgdHJpZWQgdG8gdXNlIGdkYiB0byBwcmludCB0aGUgcnggZGVzY3JpcHRvciwgYW5k IGl0IHR1cm5lZCBvdXQgdGhhdCBvbmx5IHRoZSByeGQgZm9yIHRoZSBsYXN0IHNlZ21lbnQgaGFz IGNvcnJlY3QgbDJ0YWcxIHZhbHVlLiANClRlc3Qgc3RlcDogcGluZyB4eC54eC54eC54eCAtcyAy NTAwLCAgIGZyb20gYSB2bGFuIGludGVyZmFjZSB3aXRoIHZsYW4gaWQgMTkwMSwgTVRVIDkwMDAu ICh0aGlzIHdpbGwgc2VuZHMgMSBwYWNrZXQsIGFuZCBuZWVkcyB0d28gbWJ1ZiBzZWdtZW50cyB0 byByZWNlaXZlLCBsZW5ndGggb2YgMXN0IG1idWYgc2VnbWVudCBpcyAyMTc2KG1idWYgc2l6ZSBv ZiBteSBkcGRrIGFwcGxpY2F0aW9uKSwgbGVuZ3RoIG9mIDJuZCBtYnVmIHNlZ21lbnQgaXMgMzY2 KQ0KDQpSeCBkZXNjcmlwdG9yIHByaW50ZWQgd2l0aCBnZGI6DQpCcmVha3BvaW50IDIgYXQgMHg3 ZmZmZjVlZmE0YmI6IGZpbGUgL3Vzci9zcmMvZGVidWcv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