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 04625A00C2; Wed, 22 Apr 2020 13:05:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DBC031D57F; Wed, 22 Apr 2020 13:05:28 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4D2F11D57C; Wed, 22 Apr 2020 13:05:26 +0200 (CEST) IronPort-SDR: O8XW83gwzAHpQlEHI5bwKZVDvXiqHf8p1lSG/q0kk0EDxg5pbNn8TYD053504x81D6JEarMs5l f5rlzACWVeKA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 04:05:25 -0700 IronPort-SDR: miXbM0oseAqS7oyl34cp0SwyPUpjane5NxmF8B1pSAY62oacguI4jWE5+/XRIkQJG8es1hCZp0 b6At7pR42IaQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,414,1580803200"; d="scan'208";a="457107052" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 22 Apr 2020 04:05:24 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 04:05:23 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 04:05:23 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.171) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 04:05:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V7zLnQs/pTc+2PKbkp2Zh4jG4rFvOLzUqeobnR53Hy6q6WZcMl+n/6utMEqNEPe21S9k1Nq5s4QU8ALdvOqvfyVGUBuUug+q8zumPLhXfJbjTvsBRUDySuN6cuHTtJlMD0dK4nYeKe5V1WMoKNUTtAXkfeVbXlb6f/raTaQ5FA5a16ukIrxu5aylQV2LQvfRGdGF4EEEeBVdGwqdGFk3n3YSeaezxewryvynzwslioaI3MEBUG0qy8eGLiuC7ipveiB0jdlmDo7BO0HZ42FntGDfhyoSOeXcyRe2m5lVaxeqwrVLqOCiX8xPs+zTSgFpZGpldvgnwFc9fQ9QVtcj8w== 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=aJA99zRGyDx+eFcVVyEXG5/BFMrAWiqQ0fGsy8ftewo=; b=VcwlV942ukvW+tO7PaOyLZ6Bg3id7JLm1SLcu2cN3u3BWWT/herewVgDK3oKeDMrX4gAjCg6o32DjfIo1912+kEypJwovgWHIfiNoEUVsj1T7VYuY5gxEfnQ3zEOFRRdE1HQqSIqUOGU2JB8EkE/LrBBx1OVQ/jmY3rkxICnfU8yJ5j2tgGw6vTfjF/67vaVw2nCk/n4xQajtRIQtezpfbgDzDq+XAJ7DLxQ8N24r5KCxLKCDGonYn9apdrg6bK1Wd7h0+X8dFlK26FVg5l55CkZZ0x2wHB6oq32Kx6ftN/RG8ZBqfz1ilB28KS43mZvC9w72OFU6zPPJBwv0+V6Nw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aJA99zRGyDx+eFcVVyEXG5/BFMrAWiqQ0fGsy8ftewo=; b=bUslpNtfmhYyMTUk0mbQgYZp8eUI7AqFQ3YjLbr4u0PIDUDuV3FFOtbnHJJEGChleXQQ++PruoQrIDBbyINBqgc0pfVpygBPBCwzFVxVQJjVafeTBKmA05HB7TzNJhrAoAEI2BNEYU7J/HnP9UfxLQPQ8hCcCtKhO9zMzlr8HiY= Received: from DM6PR11MB2537.namprd11.prod.outlook.com (2603:10b6:5:cd::16) by DM6PR11MB4459.namprd11.prod.outlook.com (2603:10b6:5:1de::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Wed, 22 Apr 2020 11:05:20 +0000 Received: from DM6PR11MB2537.namprd11.prod.outlook.com ([fe80::7c08:b4ae:e9c2:a4fa]) by DM6PR11MB2537.namprd11.prod.outlook.com ([fe80::7c08:b4ae:e9c2:a4fa%6]) with mapi id 15.20.2921.030; Wed, 22 Apr 2020 11:05:20 +0000 From: "Iremonger, Bernard" To: "Yigit, Ferruh" , Raslan Darawsheh , "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: AQHWFykQe8rPLqdZaEOQXsQexN6NYaiEDeIAgADupxA= Date: Wed, 22 Apr 2020 11:05:20 +0000 Message-ID: References: <1587396746-409-1-git-send-email-rasland@mellanox.com> <47904639-c8d6-ca2a-9ba4-beec991ed04a@intel.com> In-Reply-To: <47904639-c8d6-ca2a-9ba4-beec991ed04a@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=bernard.iremonger@intel.com; x-originating-ip: [192.198.151.183] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 78fe3ba0-1120-46a1-e528-08d7e6ad0c7a x-ms-traffictypediagnostic: DM6PR11MB4459: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 03818C953D x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2537.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(346002)(39860400002)(376002)(366004)(396003)(136003)(8676002)(81156014)(76116006)(66556008)(66446008)(71200400001)(478600001)(66476007)(64756008)(8936002)(66946007)(186003)(54906003)(9686003)(316002)(55016002)(110136005)(2906002)(5660300002)(6636002)(6506007)(53546011)(33656002)(26005)(86362001)(52536014)(4326008)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BjQ9VURf9HzMuqb21S1HQ+nKK1MNTuTKbbzuY9NGj+pWvjK+3+PvQRcjzddXnmf47RKJbCJ6oRo4cCaK5RL/LDHxXZMbGVXbn+tiisUp6+d8Wo9U+xg98XB7Y0wAmczbLaK6pAcDqkgIK32c3Jk9Yzhj7B7suZBNWuBRvL0RhQpbr5KBCfW+Qaix+8PyAPaxwXG0FZbFLXTTmx213boEAVoi9RW3XLNDf6SlE1148vNGKNfrP7xouxgbEfCtPtAeUlVge6Ukj/Ni3Sc0jT//Ad3rXJDhAEXUuJIKCejdT36/fJMQRw0wHWZQ8WkGVslJuoXNvRpN829a8KwIxTxwKfL/cDULzBqZrWajhfHSD/+MK7WXgpsXvNTkilLkTUMHh0d+OOV9IgTkDlYE+knW02n9mTZ1i+70zQM2cjDSFK9YoLIgF8MaxF7HFyzektkc x-ms-exchange-antispam-messagedata: nIqLgPc0fyObl8R8emos429pQjC6yBGrgnvOE17YO5KDog30j3mrlvFBGK8yaODN7yUm4rAHNSX6ekGNM6vCUFlKnmV9lxw6a+0cJzW8Vn+pVfHtGLTO2H+gdk6EF99LSMxrrRYHkjdSwSq7r6vbGg== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 78fe3ba0-1120-46a1-e528-08d7e6ad0c7a X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2020 11:05:20.7177 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +a4g9fP4jTX/vynNW2d1mUFIJVZCK8a5OmMEixqS/oumArOR3moK8pxzQojrJDrZtlUVUu2sjbtjhFzflBZmb/D0aIhMsp6WrsqyffFT2ew= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4459 X-OriginatorOrg: intel.com 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" SGkgRmVycnVoLCBSYXNsYW4sDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJv bTogWWlnaXQsIEZlcnJ1aCA8ZmVycnVoLnlpZ2l0QGludGVsLmNvbT4NCj4gU2VudDogVHVlc2Rh eSwgQXByaWwgMjEsIDIwMjAgOTo0OCBQTQ0KPiBUbzogUmFzbGFuIERhcmF3c2hlaCA8cmFzbGFu ZEBtZWxsYW5veC5jb20+OyBJcmVtb25nZXIs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