From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30042.outbound.protection.outlook.com [40.107.3.42]) by dpdk.org (Postfix) with ESMTP id 4D48A1BDFB for ; Fri, 21 Dec 2018 14:57:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pDrXIIpA896q70yuZFXN9jE285tChCYpf0paDVRspZA=; b=pgEXXWQebJsq2KvKWmQQ/lhRfQWQ6m82deTYhJIjifCAYHFBLz62ZdCUO8v1xIAKCj3bWUhF84WlyrnzyQruun+iQPt8XYB6mPiwi/Cb3Sh7G+XFrbBQCzOSPRjl0OPRU+4jbwI+bWIOGflt+I2mIgQXIkI/qgSQnjD5EyZovDo= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB4015.eurprd04.prod.outlook.com (10.171.182.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.19; Fri, 21 Dec 2018 13:57:13 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::7dc4:610b:d0c1:146b]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::7dc4:610b:d0c1:146b%4]) with mapi id 15.20.1446.022; Fri, 21 Dec 2018 13:57:13 +0000 From: Akhil Goyal To: Konstantin Ananyev , "dev@dpdk.org" CC: "radu.nicolau@intel.com" , Remy Horton Thread-Topic: [dpdk-dev] [PATCH v4 1/9] examples/ipsec-secgw: avoid to request unused TX offloads Thread-Index: AQHUk8u9HmdEn7bBqECLiW5oFoUKLqWJQoeA Date: Fri, 21 Dec 2018 13:57:12 +0000 Message-ID: <0a59d890-f510-95e1-f26c-7b0bb9709e58@nxp.com> References: <1544111691-7481-1-git-send-email-konstantin.ananyev@intel.com> <1544805623-18150-2-git-send-email-konstantin.ananyev@intel.com> In-Reply-To: <1544805623-18150-2-git-send-email-konstantin.ananyev@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR01CA0110.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::26) To VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:56::26) authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB4015; 6:56YZ+2sBW9kLZt3VnEMWdpQY0J7gd5UMW2Ytt6Eh4juy8aU9gjOl+0wKbyf/b+T+tMatINBJrdH7EZp7CF5KvPo+u/v1Iom1SRPRXgk9IFUHKCGMHqpqFCtVefRoLo1SLi3Bbl3ejEOGZkOVc//nrHgF2WJJ0fzRFL7OvQI89vWE3xKl5a9OWmmQLopv9YDFvI6oHt7q2t4vflua3WzFUFlnZKggd1cbn2SrJBJI7u9RdjuQTBfGAFXy2MKaq7m+SektpH5cemQDyaNwchQjeGlEqznU6PHZ6rwMaeK6KNukNIv576AM2QeB1b1iIFEGu77u+3BkI4v6HHtMxlXwXy4YSHUxZ3JjuyJmpgJaiWFUHaaEal9WU27kI52tA5QCCMLKSgI4bvG3S3KIYrxb9tNQzzHl4GIOdJFaezvyXUeuahA4zBlqWrs8UJg+/vvNGGDAWsPZjHNsdFL8qY+u+Q==; 5:U0yipv+1uP+wOm+R1jlQpYUb9Lp8py1pS7YJxMcMRe8IX6MVlqLXd1bSeFEnTXFTPIXH6XXIx/gGXBh0xcszbH03QhCNaP+6qV28De6deJhb8azUEJE+u6AzO3PrcycHJAcAn1XUMkx5Iph28rj03NNRoVqyC7PDWW1djYFzAIE=; 7:UuDXnnEVyhWqKPdnJYmrPqUcoD84l3FFf8Na1edNNtI7yTrdUmOmVFueq1q3pm0ba6MxL4Bv3Czb2btLZHJbu3fnzrZPi2MdLECm/iAxiWs7imbvE7ho2AQ6Ui9Z/1iQkEtQWXWVw38sQOvN9ctvFQ== x-ms-office365-filtering-correlation-id: 26a94558-bb49-4c56-a584-08d6674c34d4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4015; x-ms-traffictypediagnostic: VI1PR04MB4015: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(999002)(5005026)(6040522)(2401047)(8121501046)(10201501046)(3231475)(944501520)(52105112)(3002001)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB4015; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4015; x-forefront-prvs: 0893636978 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(136003)(366004)(396003)(346002)(189003)(199004)(55236004)(386003)(6506007)(105586002)(53546011)(476003)(2616005)(446003)(11346002)(486006)(44832011)(99286004)(102836004)(6246003)(68736007)(106356001)(305945005)(52116002)(76176011)(66066001)(53936002)(4326008)(5660300001)(81166006)(81156014)(6512007)(8936002)(8676002)(110136005)(316002)(54906003)(6116002)(3846002)(6486002)(2501003)(2906002)(31696002)(36756003)(229853002)(86362001)(575784001)(478600001)(71190400001)(71200400001)(25786009)(7736002)(97736004)(6436002)(31686004)(186003)(78486014)(256004)(14454004)(14444005)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4015; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: I6oET8Qv1u3vr77egNokr6hQqn8emnV4heGv5ifHocCGHBeCkHr3ULGaFsyx7sro3YNm4FzEof9T7lUW5Nt4avtik+To0WCLWA93mYZDA2mUD2OtIfeH4KyEmu9TqoDWlXhQEmWAzCIEd0zURSJkrVuncODQnD1NwtUx0GIxOgnOz5+AU3t7hFUXQp95f/mYF+08d2QimgDPg/TJWEdLrTwwuGhho6j6mNFwzVSspU8SiaR79LJjCjnh6n7NBBUwbRvx28ynMXSZVs9TfTThWmxDe2TsQzFqQw9Oup5vtwipoOgwK+dhFJP54cm7LDWv spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26a94558-bb49-4c56-a584-08d6674c34d4 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2018 13:57:13.0146 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4015 Subject: Re: [dpdk-dev] [PATCH v4 1/9] examples/ipsec-secgw: avoid to request unused TX 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: Fri, 21 Dec 2018 13:57:20 -0000 SGkgS29uc3RhbnRpbiwNCg0KT24gMTIvMTQvMjAxOCAxMDoxMCBQTSwgS29uc3RhbnRpbiBBbmFu eWV2IHdyb3RlOg0KPiBpcHNlYy1zZWNndyBhbHdheXMgZW5hYmxlcyBUWCBvZmZsb2Fkcw0KPiAo RE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