From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 7F347A0679 for ; Fri, 5 Apr 2019 09:36:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D57061B457; Fri, 5 Apr 2019 09:36:26 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 8C72A1B445 for ; Fri, 5 Apr 2019 09:36:25 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x357UjKn012652; Fri, 5 Apr 2019 00:36:24 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=UXdDa6CI/xnxdqIKfvBZTxSGFr3s+3cmvoZp2U119Wk=; b=ahjnQ9ZKG0nHfaSFGlQo/ajjCA6nSX6e3nyy/CzMN+BuK82KdLd3bGb+d9jK3CRc1M8+ koLLADWUvJpGenDbY+ZSeKr80H7RPTo3I/pBoxQSL7ARyLw0mSoPjB/gbjVAl0W7cYYB 37LPo+IduX+qP+Li7LhZXMfWta65h87DNxPW4wZ6Bko+cPitnjdMXCEkFqJTzibuUXre hPchI5QPFx+urj1oZ93ASchP4cxiB10IBF96k7fNX71AyehvnvkF10ctXBHYxjcvJ2vu Z4RHHeu1UDlkz8WjKxyvwLIFSoLFSJFZzmeqXal4BZeK44Kyvmls+13IA47k14poJ9Ea PQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2rnv9619vf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 05 Apr 2019 00:36:24 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 5 Apr 2019 00:36:23 -0700 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (104.47.42.52) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Fri, 5 Apr 2019 00:36:22 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UXdDa6CI/xnxdqIKfvBZTxSGFr3s+3cmvoZp2U119Wk=; b=lBJR4WKNzPxabJSwF1hIXmsxfTqwq4eWWZqg+uIxKCmuZ8yTwQbXHlomVbTg+ArPwxA0tc38F2wuQHBiKKJ11HGIlwCxVPXMG0L2wD0rRf+q9h6zmOlFVVFrUoy6IZxyezQ9jBLX96OvLMOgf4Luumu1Uq+INS605pxM7/rgec0= Received: from DM6PR18MB2427.namprd18.prod.outlook.com (20.179.104.21) by DM6PR18MB2827.namprd18.prod.outlook.com (20.179.51.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.20; Fri, 5 Apr 2019 07:36:21 +0000 Received: from DM6PR18MB2427.namprd18.prod.outlook.com ([fe80::6830:4485:aa22:8862]) by DM6PR18MB2427.namprd18.prod.outlook.com ([fe80::6830:4485:aa22:8862%6]) with mapi id 15.20.1750.017; Fri, 5 Apr 2019 07:36:21 +0000 From: Nithin Kumar Dabilpuram To: Wenzhuo Lu , Jingjing Wu , Bernard Iremonger CC: "dev@dpdk.org" , Ferruh Yigit , Nithin Kumar Dabilpuram , "xiao.w.wang@intel.com" Thread-Topic: [PATCH v3 1/2] app/testpmd: fix Tx VLAN and QinQ dependency Thread-Index: AQHU64JDN/8/5sOor0KMaik5yDPpwg== Date: Fri, 5 Apr 2019 07:36:21 +0000 Message-ID: <20190405073558.9930-1-ndabilpuram@marvell.com> References: <20190219064840.12046-1-ndabilpuram@marvell.com> In-Reply-To: <20190219064840.12046-1-ndabilpuram@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR01CA0165.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:68::35) To DM6PR18MB2427.namprd18.prod.outlook.com (2603:10b6:5:180::21) x-mailer: git-send-email 2.8.4 x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [115.113.156.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f332ee9a-cb3d-4f49-351b-08d6b99965ba x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(2017052603328)(7193020); SRVR:DM6PR18MB2827; x-ms-traffictypediagnostic: DM6PR18MB2827: x-microsoft-antispam-prvs: x-forefront-prvs: 0998671D02 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(376002)(39860400002)(396003)(346002)(199004)(189003)(50226002)(256004)(6116002)(76176011)(71200400001)(81166006)(52116002)(97736004)(2616005)(3846002)(1076003)(106356001)(36756003)(6436002)(478600001)(68736007)(476003)(66066001)(486006)(71190400001)(11346002)(105586002)(2906002)(6512007)(5660300002)(6486002)(8936002)(386003)(102836004)(55236004)(86362001)(8676002)(4326008)(25786009)(6506007)(26005)(99286004)(53936002)(7736002)(54906003)(446003)(305945005)(110136005)(81156014)(316002)(14454004)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR18MB2827; H:DM6PR18MB2427.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Wog4KU4Lw80/p3tjWFCSJdYObn3I2Dy0OcHQAHsNLzaN0mXAcLUUmUhTQASPX78g0iOD1Paep+CRdLXgiYnaAekIOMi0CCLWHUeQTaV89IXejAD1AtibIomgm6PbCzIh/Gle1EPIvLZqHNu1lwJjsJVSCGR7Zy+7cqrs8KNJaJNmDn8cTcAXTNrhooFYTVN+bg6O7043lM4VDvUAczPtLqldoBbGpAiLimhJTNNrfgjewWN+6YDQSEWUJX8+XIVEs6rHDaBh9T0M5cQsro1m0OlVkLrO0uu0CNruJEVKD+6Cf4NRPn9C5QRd8LCJUHUPTmQkVYeH3zp2DoVD6YcFtnnChXp8IDi3EmaV+KG/XfROm6sZYmpAABj82mwQ2oGTg4bEhk3zzcpDTqBL0Q4jSCbwTJ7zHLevDMtFk8dGldw= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: f332ee9a-cb3d-4f49-351b-08d6b99965ba X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2019 07:36:21.0863 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR18MB2827 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-05_05:, , signatures=0 Subject: [dpdk-dev] [PATCH v3 1/2] app/testpmd: fix Tx VLAN and QinQ dependency 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" Message-ID: <20190405073621.pl-TkehoeYTlKd3xdR8uVLRmBUzOtIempnXLlkDAMoM@z> VHggVkxBTiAmIFFpblEg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