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 8DDF0A0598; Tue, 21 Apr 2020 16:54:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AFB261D51B; Tue, 21 Apr 2020 16:54:35 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 1A1331C2ED; Tue, 21 Apr 2020 16:54:33 +0200 (CEST) IronPort-SDR: TDp24Jsgmg/kh/BRrINgCNgljlfg5wzYLI+GemnK+6C21wqvkeiycwePq6G8k5krdn4/Ph/EnS FIw4yeMfw+mw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2020 07:54:32 -0700 IronPort-SDR: YOY19h4YhO65froMlF/NcZS0r4zaXZTAaG4UQ80bkjmkbHhyBPEH6iibkSq2dAqYBD2VRxFRFA ALs0TVAKdC8A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,410,1580803200"; d="scan'208";a="244195611" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga007.jf.intel.com with ESMTP; 21 Apr 2020 07:54:32 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 21 Apr 2020 07:54:22 -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; Tue, 21 Apr 2020 07:54:21 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.55) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 21 Apr 2020 07:54:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GynPptbpQQgmJ7X0p+ChgxNNTcow7BMBAyDQw0MlETWjcvK9sTL9anFl7pTPSrcseTSwT8ZVuowJ9zsadY/Ub0ne5r1ftVe7SQHPfmiKitu8DnzjUMo5ukO/nxMihSb/xQE85KoLWbUXUlC7Bdyh2mP4TGFGjSoMEKC7MvfHAlou7TxuVzgGx9T8YHb9LFA7EROg4ON8RufQ8n1a66u5Yehj1eJdEdonQoNlyrLngyQwXXuB8zq1ApHuCVOjj7oHduuQxWz5nEaqjDHIYLpKJOl329ruj/ARQtanDuqXOstL7Egd2nKSxRoutrM7t3ptiWAhwKotXwlAjk5PPRCksQ== 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=5PlR994ADJX5c/DaswJcWdNWuTK1pScyVaOHJ9bwjsc=; b=XFNBVEE20P+0+apouix/U9lQykYLOnHOfGlVk6ZopgyHm1jECwtG8tDOw33vzj6Uqrq7p4ohBOqthyqE5KT2HJLKU5lptEpDclLhWs5x/5OlZ0/5BTw6iJhOy7+2XMqmRh3UBDx5VIqbGl7zqqujlfynjJ4KKt4lFJrATcYfp5gvyXp68WfDtS15UTVPDz/Cn3nnML49svVM7az44UZYHeliNpu4p7Y5mD0iAnJsjACcfYU4LEstp11ow0ExKsnH+6XAiIUz1ivZTlkKPaNJ0TJUTl2ULDqMeEL1sSqpL4dwZErlOQPtoJNFqtYOiB+OyXP4oXsgIsaacX7DnbLb8Q== 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=5PlR994ADJX5c/DaswJcWdNWuTK1pScyVaOHJ9bwjsc=; b=rqZ/dPHSsLSW3YBtilVAU9biEi3HIJm1FesHjCTCPUcQB34tX7X3eFXPMHg6huAttJZW3ZwsQ+npW7tNQ5oh2G+hEi9N3a3EPqxVraq1mGNYnaCfvUFJeNsMpiKCkqxN/cB1czaaIvCu0o+JONcap19m9V1iymB8eNjOodgl17I= Received: from DM6PR11MB2537.namprd11.prod.outlook.com (2603:10b6:5:cd::16) by DM6PR11MB3084.namprd11.prod.outlook.com (2603:10b6:5:6c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Tue, 21 Apr 2020 14:54:19 +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; Tue, 21 Apr 2020 14:54:19 +0000 From: "Iremonger, Bernard" To: Raslan Darawsheh , "Wu, Jingjing" , "Lu, Wenzhuo" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] app/testpmd: add parsing for multiple VLAN headers Thread-Index: AQHWFykQe8rPLqdZaEOQXsQexN6NYaiDqugQ Date: Tue, 21 Apr 2020 14:54:18 +0000 Message-ID: References: <1587396746-409-1-git-send-email-rasland@mellanox.com> In-Reply-To: <1587396746-409-1-git-send-email-rasland@mellanox.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.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1f0d58f5-7103-4f03-d689-08d7e603de9c x-ms-traffictypediagnostic: DM6PR11MB3084: 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:4125; x-forefront-prvs: 038002787A 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)(366004)(39860400002)(396003)(136003)(346002)(376002)(4744005)(66476007)(2906002)(76116006)(186003)(8936002)(7696005)(66556008)(64756008)(66446008)(86362001)(316002)(33656002)(6636002)(110136005)(81156014)(8676002)(478600001)(54906003)(9686003)(6506007)(5660300002)(55016002)(52536014)(53546011)(71200400001)(66946007)(26005)(4326008); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FxJdpLz6IbBFO15JuOXbYlssboTtW23MbnktQ++gPBiED4U2V/C252YxrsoHmq+qf62CT6FsB1gI1FxGhicttYK3WnAWmE0dSQIuJE8Y4NYiCdK+A7Wwp3eC5H8L8RJSJY99RjvEiPw/kbJl+bv9rP6c5JYKVzGP4TbMfCz9DD4sE1K4gJxqi9YrGjU+YKrGbRp10RMLBxKcNbwAWJX56edfGpfshyBn/wUmgziZsAwNtkVo/Foo87CwExpzNcIayiTC3NyIy8aQmrzxkSWD1UGPHAsk3NcZaYNAXFs9VpkNMmZPWEDzwgoc5h6iqGgaIdyk63BQ85qZnHDw3MEMbWgOBmlVt7jtfgb6gEelgso5f+AUYj+LodMmsAmKCYyNmZ6LH29bXzQMH2ZsdmHrLcsZzRXzGfhD4bxwM5ipA9ePFhLD5z/GPtQQhXJd3xGK x-ms-exchange-antispam-messagedata: 8UvQ5wFqEGmRSMULQid7D8ZtEjzoCYNxoaeGSaJJ3akvyRP/zwkdPYjXLZeCRv7fm/XUqpDgtF8aV2Kbcg2gPdrGt2bSoch4nMhW7Tq3vO20ZCMHOlSUUwGPMCtfCz/Bh+GniHfq9e7M9XAar1wA+Q== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 1f0d58f5-7103-4f03-d689-08d7e603de9c X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2020 14:54:18.9256 (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: aqLtFJGat6bFZpD8ZrjNG85MVFePUpWhRiVtqa2/zr0lDiPNfM8udlMXf6huTjWwhlZ0MTM+JU9TAJdje7hgvYtap/hfJewEU5qNbSGlYW8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3084 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" > -----Original Message----- > From: Raslan Darawsheh > Sent: Monday, April 20, 2020 4:32 PM > To: Iremonger, Bernard ; Wu, Jingjing > ; Lu, Wenzhuo > Cc: dev@dpdk.org; stable@dpdk.org > Subject: [PATCH] app/testpmd: add parsing for multiple VLAN headers >=20 > When having multiple VLANs in the packet, parse_ethernet is cabable of > parsing only the first vlan. >=20 > add parsing for mutliple VLAN headers in the packet. >=20 > Fixes: 51f694dd40f5 ("app/testpmd: rework checksum forward engine") > Cc: stable@dpdk.org >=20 > Signed-off-by: Raslan Darawsheh Acked-by: Bernard Iremonger