From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50087.outbound.protection.outlook.com [40.107.5.87]) by dpdk.org (Postfix) with ESMTP id AF8EDD14C for ; Fri, 20 Apr 2018 16:29:06 +0200 (CEST) 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; bh=2CCrge+X2/XIBosW0DLDh67QYY5M3+P8W5Ge0TdV9fQ=; b=pM4mdokTedmfiMTwFwnINdR4sC9IcBquTXKoC+hZhtAHgVlW2mC8tHxUdG0L3wtFg7Tahe5KTYV6nWZ0ER5S3zEq1GYBM4Nrf7jVxD6lYp6fVuq85cHaqRndiwEadCWKWANfu8bIigSiY64rcKjRQB9W6oedB3/C0wp+bWDd+8A= Received: from VI1PR05MB1678.eurprd05.prod.outlook.com (10.165.235.152) by VI1PR05MB1280.eurprd05.prod.outlook.com (10.162.122.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Fri, 20 Apr 2018 14:29:04 +0000 Received: from VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::6da4:14c3:f5d8:3f4a]) by VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::6da4:14c3:f5d8:3f4a%14]) with mapi id 15.20.0696.013; Fri, 20 Apr 2018 14:29:04 +0000 From: "Xueming(Steven) Li" To: "Xueming(Steven) Li" , Shahaf Shuler , Nelio Laranjeiro , "Wenzhuo Lu" , Jingjing Wu , "Thomas Monjalon" , Adrien Mazarguil CC: "dev@dpdk.org" Thread-Topic: [PATCH v5 2/2] app/testpmd: testpmd support Tx generic tunnel offloads Thread-Index: AQHT2Kh7ggNsSpCVt0+HGZOAHCpWuaQJtkZA Date: Fri, 20 Apr 2018 14:29:04 +0000 Message-ID: References: <20180409121035.148813-1-xuemingl@mellanox.com> <20180420130643.114699-2-xuemingl@mellanox.com> In-Reply-To: <20180420130643.114699-2-xuemingl@mellanox.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [180.174.142.249] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB1280; 7:ulDBR0J6y3eTK3/LjiTc0/ZBaqaXO+6zIHE0a8CIGdMcoMUWczpYB1G94kFPfpYoKNvcvGdBqArerpGZvKyUHQoqiTduETe+RRsrvVwHfepDzkNd0TNBqbNsKaFXIgvMWornljbUb2rKN7e1LEC80acmg/kaSJXo1ygZnsjwRBY5BhJzUX2cMnh07es4Ao9jrELxu7UiH+dAvZQYRQ+V2JUn7tWdf+XrJoTsC3Yy+Qhb/5Ylc0gVPkaaCyb9fD3r x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB1280; x-ms-traffictypediagnostic: VI1PR05MB1280: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(3231232)(944501395)(52105095)(6055026)(6041310)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR05MB1280; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB1280; x-forefront-prvs: 0648FCFFA8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(376002)(39860400002)(346002)(396003)(366004)(13464003)(2906002)(6506007)(59450400001)(53936002)(102836004)(86362001)(110136005)(6116002)(5660300001)(3846002)(7696005)(316002)(6246003)(76176011)(2900100001)(8936002)(9686003)(4326008)(53546011)(6436002)(25786009)(55016002)(26005)(7736002)(66066001)(33656002)(305945005)(478600001)(3660700001)(74316002)(3280700002)(11346002)(229853002)(476003)(446003)(8676002)(5250100002)(81166006)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB1280; H:VI1PR05MB1678.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:sfv; x-microsoft-antispam-message-info: WzOXpb2U2CGSN17iIiU/Pk0t84qYhoB0WEtQTtLMRRx79Ybha+sXJ5sElO5G3KlXnMmxMEziQoIUI9SRzqCU1X9sPnG41Y9ZTHzlpTzsqoT8hVPk4poBpi0LLnFgBpElbkQnK/d8fJVq49f8YVibKX5+UAUOB70yfvA8liPpZJ8NQUj33wTjEaTMgXDed+h/ spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 54c7f90b-290e-4956-8cf1-08d5a6cb11bc X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54c7f90b-290e-4956-8cf1-08d5a6cb11bc X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2018 14:29:04.7528 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB1280 Subject: Re: [dpdk-dev] [PATCH v5 2/2] app/testpmd: testpmd support Tx generic tunnel offloads 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: , X-List-Received-Date: F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