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 7E4D9A00C2; Wed, 22 Apr 2020 13:28:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8D3F71D5B0; Wed, 22 Apr 2020 13:28:58 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130075.outbound.protection.outlook.com [40.107.13.75]) by dpdk.org (Postfix) with ESMTP id 787511D5AE; Wed, 22 Apr 2020 13:28:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cNcZlEY4/1xDTLGtn8d+tRI/sg+PmQVavfygjo25nNlAUhLocMjrWk7ZKy3ZSqQnA5Utcj284/V/yQu1xxMcdJpuoUsi1oOm3ZNzAo0htuKRXl0bt48PDk3bxMTLLy9LIWkUb82yoKvyDkriwMKO2oVGHE8l4WBspl2sdy8NYnEbdg/oiP0L0K5LNyHMLz1YAkgz3aqxa9aX61PeMTCpR8GdTaDZ7lPe8S9/eHQY6Jdi768aWhAZwiiyf67mRgui5UGwbhNxVopk47Xc6wl9886ntfILPyoCwkmuGbknWku2dQ4dzNAzI0kwIgLgZuKSYQoA2jiqHNRYGQXwa/dW8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3FZOkGs0Eke75+4E1+wKyV/pzUONd6XPvHHwH7cgDJo=; b=bY8B2Z6lM6UBZ5RZtUrsLDdb5gx30bwrjDNFi4A1wYdsI9l1KBjghv0wETZTKgyydZyLJhXPxydR1MTD9FJfyRM+QpBH1/4omwZLAmYIZsCATjSoq4pYDzO22nneK16OqShyYbvyrhDcJ0LbVcYr8RZpO/EjaqqUHaep72CLODQ85tH2GWWw3B+7TwfP8/kNRPekmLmFvdCtubytQ/9Liow0sgQ8hW2vcTKrn8GcTn8uVJpI9AACGCw7HplsnTHlbyRF1V+rq8MzO1+te5BeSwkRp5/USOrYMhz5GK/KoA7ENw7yUPO1YPrLa5LNUKxy6CzLttQlC3ZW6alJpZpMGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3FZOkGs0Eke75+4E1+wKyV/pzUONd6XPvHHwH7cgDJo=; b=kedfyKhCDFJtJg/vFOcKKEOXxzo926rj85hi6658qld4mCBUI/b4iEfbJcwBX4st5ipB0BlIjHgwqsI4rc/rCup+A/IQXf92IVRe6Jip7kT/hZIOAGZVZh7g2Bex0bI8nHFBdE7mhizFTF2tgQV+tqZCYb3dFinp39b/MFcDpD4= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) by AM0PR05MB4850.eurprd05.prod.outlook.com (2603:10a6:208:cb::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.13; Wed, 22 Apr 2020 11:28:55 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::508:747b:cc12:5f6e]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::508:747b:cc12:5f6e%6]) with mapi id 15.20.2921.030; Wed, 22 Apr 2020 11:28:54 +0000 From: Raslan Darawsheh To: "Iremonger, Bernard" , "Yigit, Ferruh" , "Wu, Jingjing" , "Lu, Wenzhuo" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app/testpmd: add parsing for multiple VLAN headers Thread-Index: AQHWFyjrR+8SoQGvgkeczU9qndDlk6iEDeIAgADvnwCAAAYlAA== Date: Wed, 22 Apr 2020 11:28:54 +0000 Message-ID: References: <1587396746-409-1-git-send-email-rasland@mellanox.com> <47904639-c8d6-ca2a-9ba4-beec991ed04a@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-Mentions: ferruh.yigit@intel.com X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [188.161.230.216] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 938930c3-172a-4d2b-0dbb-08d7e6b0574b x-ms-traffictypediagnostic: AM0PR05MB4850: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 03818C953D x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB6707.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(376002)(136003)(346002)(396003)(366004)(54906003)(186003)(8676002)(53546011)(26005)(7696005)(6506007)(81156014)(86362001)(55016002)(8936002)(33656002)(9686003)(2906002)(110136005)(316002)(4326008)(66946007)(76116006)(71200400001)(64756008)(66556008)(66476007)(5660300002)(66446008)(478600001)(52536014); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6HPg3DzxsoVX9t5eWH+raWfe/AXWkpDmpLvpO6XNNmUaKQiY9oXXbmmn0nYmoHVlfK1AhzYRAEHHiCo+RKc6PWg35oKuQ0QZLyMCZ8B66T7iFm4irLmRZY8AXiQmgUHd5RRc8aIXEGCIPtS3Kk5IFWZXRb2vSA0V6c7KgEy0gXqmBSbkjy6GboVOcRgp6O/lbq1WVU3qaOnqzWTOCTR0YOQEzWs2sYnrkLJXqgD2lEk5tzJS1EFPQPO+ct3tTsKqKtH0+aF/NzfMk5HuRNTIJsMod3UcIjPRfJmsbXWwRUJldHjUFrKZ0iE1RFKfs21Kr8ilYemAFngeILOix+62vrjVgsP4A/W1iruOouYb5q3yHKTpwfVQ+R4DC3E5tRA4zwfEepaBaLY3bdHt77LFaDuNLwF2rwbOLdbCzj7+rXpZZaPnWgVan4zl7R3mXTV0 x-ms-exchange-antispam-messagedata: zgw3BxYD5GI6y7RjVeABFL3GzANH3t9IFrKSyvvUtMre3FByveF2mm2CLex7etPeKUroO+GlZvn+J7hBWp3bnxBZSxSEFQh2eBR/CVLhgCbmXV4QHdTZmxux6fUDmQCPinagnLXcjHHhTsCcGV7KLQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 938930c3-172a-4d2b-0dbb-08d7e6b0574b X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2020 11:28:54.8109 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: g+0K6ruYK+XNoSejhK08W1foNQVw4OciiWGfXF5yC/R1a2MoLPOuPTfU1CftvbchtGeF3dMEjun8qzEqbcX9iQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4850 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: add parsing for multiple VLAN headers 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" SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJ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