From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00055.outbound.protection.outlook.com [40.107.0.55]) by dpdk.org (Postfix) with ESMTP id C195D201 for ; Sun, 17 Mar 2019 19:00:15 +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=RZr0hnSqtaUxqyYwW0Dko45G53Koix7L6KG1XU4laRQ=; b=XcRKHvkhPHf88vjkpkT49aOq4e78qrEYbW7jlADEKK7RlwgplD21mP3Cm+seof7ADj6shOZ4TEqJAOfQSwlgTb8LRrnrRSIbIk8UjoMM4EqddQlrGN5foY5687RzIvmaJMzhGvRZb7j5soBLJCK2drTvOTMdfHlYcF1mLy1XERU= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB5102.eurprd04.prod.outlook.com (20.177.50.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.15; Sun, 17 Mar 2019 18:00:14 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb%4]) with mapi id 15.20.1709.015; Sun, 17 Mar 2019 18:00:14 +0000 From: Akhil Goyal To: Tomasz Jozwiak , "dev@dpdk.org" , "fiona.trahe@intel.com" Thread-Topic: [dpdk-dev] [PATCH v4 1/1] compress/qat: add dynamic sgl allocation Thread-Index: AQHU1N2mr3JWQ+zdeEKUJoN8qLPxF6YQLMeA Date: Sun, 17 Mar 2019 18:00:13 +0000 Message-ID: <7fff607f-1a5a-9dec-07e4-dc12e23b4bdf@nxp.com> References: <1551439054-17658-1-git-send-email-tomaszx.jozwiak@intel.com> <1551960136-30358-1-git-send-email-tomaszx.jozwiak@intel.com> <1551960136-30358-2-git-send-email-tomaszx.jozwiak@intel.com> In-Reply-To: <1551960136-30358-2-git-send-email-tomaszx.jozwiak@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0057.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::19) 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: [92.120.0.8] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d00882e4-d899-41b6-da0d-08d6ab0267a6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5102; x-ms-traffictypediagnostic: VI1PR04MB5102: x-microsoft-antispam-prvs: x-forefront-prvs: 09796A1B83 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(39860400002)(376002)(136003)(366004)(199004)(189003)(11346002)(446003)(6116002)(71200400001)(26005)(256004)(68736007)(105586002)(5024004)(71190400001)(14444005)(52116002)(6512007)(3846002)(99286004)(229853002)(76176011)(2906002)(5660300002)(53936002)(2616005)(305945005)(7736002)(8936002)(478600001)(186003)(6246003)(2201001)(8676002)(486006)(44832011)(66066001)(86362001)(476003)(14454004)(31696002)(36756003)(53546011)(97736004)(110136005)(81156014)(81166006)(2501003)(102836004)(106356001)(316002)(25786009)(6486002)(6436002)(31686004)(6506007)(386003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5102; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: WLCDu1N4iX0Dr+/j3F/XEkhBQmkaZLDvPPZ96htipBCUbecQ/Ee0lFCGL6YCv1zsyKoh1B3w0a8572dZxzJemknS9wG2xckdlysYS3X24aOxaFmWniIoSFwU5lYUekLu7gUV+nXCECWytUQnTfS+BhaBB7QfEtqxVTkH6tg+nzomDOA4k5EWR4Z12rpCN8GDm/7CQrToufVdcvVvpbyedZnQuPT2AXME/L5oslsNAr+0MFC1J/1L7ckl8c9etWzzAH7QseyUgr900a/vLV0drVCAYjpt4a/5cWQCnrER0O1lHlAVRtm+CMk04ZhxgtYdQejVCrIpwDZkjSHCG975Kbuf2ZMdcNPPPi3muacd7y5ZaGHnpPgc41ejtCzq4rnRtwtwsyyW9eoKcoLeRL4t/hPx4kuXOzhraORMGCbu68c= 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: d00882e4-d899-41b6-da0d-08d6ab0267a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2019 18:00:14.0288 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5102 Subject: Re: [dpdk-dev] [PATCH v4 1/1] compress/qat: add dynamic sgl allocation 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: Sun, 17 Mar 2019 18:00:16 -0000 SGkgVG9tYXN6LA0KDQpJIGNhbiBzZWUgY29tcGlsYXRpb24gZmFpbHVyZSBpbiB0aGUgcGF0Y2h3 b3Jr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tPnFhdF9zZ2xf ZHN0X3BoeXNfYWRkciA9DQo+IC0JCQkJcnRlX21lbXBvb2xfdmlydDJpb3ZhKGNvb2tpZSkgKw0K PiAtCQkJCW9mZnNldG9mKHN0cnVjdCBxYXRfY29tcF9vcF9jb29raWUsDQo+IC0JCQkJcWF0X3Nn bF9kc3QpOw0KPiArCQkJCXJ0ZV9tYWxsb2NfdmlydDJpb3ZhKGNvb2tpZS0+cWF0X3NnbF9kc3Rf ZCk7DQo+ICsNCj4gKwkJY29va2llLT5kc3RfbmJfZWxlbXMgPSBjb29raWUtPnNyY19uYl9lbGVt cyA9DQo+ICsJCQkJUUFUX1BNRF9DT01QX1NHTF9ERUZfU0VHTUVOVFM7DQo+ICAgCX0NCj4gICAN Cj4gICAJcmV0dXJuIHJldDsNCg0K 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 BB0E9A00E6 for ; Sun, 17 Mar 2019 19:00:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C5C692B86; Sun, 17 Mar 2019 19:00:16 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00055.outbound.protection.outlook.com [40.107.0.55]) by dpdk.org (Postfix) with ESMTP id C195D201 for ; Sun, 17 Mar 2019 19:00:15 +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=RZr0hnSqtaUxqyYwW0Dko45G53Koix7L6KG1XU4laRQ=; b=XcRKHvkhPHf88vjkpkT49aOq4e78qrEYbW7jlADEKK7RlwgplD21mP3Cm+seof7ADj6shOZ4TEqJAOfQSwlgTb8LRrnrRSIbIk8UjoMM4EqddQlrGN5foY5687RzIvmaJMzhGvRZb7j5soBLJCK2drTvOTMdfHlYcF1mLy1XERU= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB5102.eurprd04.prod.outlook.com (20.177.50.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.15; Sun, 17 Mar 2019 18:00:14 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb%4]) with mapi id 15.20.1709.015; Sun, 17 Mar 2019 18:00:14 +0000 From: Akhil Goyal To: Tomasz Jozwiak , "dev@dpdk.org" , "fiona.trahe@intel.com" Thread-Topic: [dpdk-dev] [PATCH v4 1/1] compress/qat: add dynamic sgl allocation Thread-Index: AQHU1N2mr3JWQ+zdeEKUJoN8qLPxF6YQLMeA Date: Sun, 17 Mar 2019 18:00:13 +0000 Message-ID: <7fff607f-1a5a-9dec-07e4-dc12e23b4bdf@nxp.com> References: <1551439054-17658-1-git-send-email-tomaszx.jozwiak@intel.com> <1551960136-30358-1-git-send-email-tomaszx.jozwiak@intel.com> <1551960136-30358-2-git-send-email-tomaszx.jozwiak@intel.com> In-Reply-To: <1551960136-30358-2-git-send-email-tomaszx.jozwiak@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0057.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::19) 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: [92.120.0.8] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d00882e4-d899-41b6-da0d-08d6ab0267a6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5102; x-ms-traffictypediagnostic: VI1PR04MB5102: x-microsoft-antispam-prvs: x-forefront-prvs: 09796A1B83 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(39860400002)(376002)(136003)(366004)(199004)(189003)(11346002)(446003)(6116002)(71200400001)(26005)(256004)(68736007)(105586002)(5024004)(71190400001)(14444005)(52116002)(6512007)(3846002)(99286004)(229853002)(76176011)(2906002)(5660300002)(53936002)(2616005)(305945005)(7736002)(8936002)(478600001)(186003)(6246003)(2201001)(8676002)(486006)(44832011)(66066001)(86362001)(476003)(14454004)(31696002)(36756003)(53546011)(97736004)(110136005)(81156014)(81166006)(2501003)(102836004)(106356001)(316002)(25786009)(6486002)(6436002)(31686004)(6506007)(386003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5102; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: WLCDu1N4iX0Dr+/j3F/XEkhBQmkaZLDvPPZ96htipBCUbecQ/Ee0lFCGL6YCv1zsyKoh1B3w0a8572dZxzJemknS9wG2xckdlysYS3X24aOxaFmWniIoSFwU5lYUekLu7gUV+nXCECWytUQnTfS+BhaBB7QfEtqxVTkH6tg+nzomDOA4k5EWR4Z12rpCN8GDm/7CQrToufVdcvVvpbyedZnQuPT2AXME/L5oslsNAr+0MFC1J/1L7ckl8c9etWzzAH7QseyUgr900a/vLV0drVCAYjpt4a/5cWQCnrER0O1lHlAVRtm+CMk04ZhxgtYdQejVCrIpwDZkjSHCG975Kbuf2ZMdcNPPPi3muacd7y5ZaGHnpPgc41ejtCzq4rnRtwtwsyyW9eoKcoLeRL4t/hPx4kuXOzhraORMGCbu68c= 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: d00882e4-d899-41b6-da0d-08d6ab0267a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2019 18:00:14.0288 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5102 Subject: Re: [dpdk-dev] [PATCH v4 1/1] compress/qat: add dynamic sgl allocation 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: <20190317180013.ihxuhlrpIDwXcs6gCGbvQqguN138b2G5LsP_pxhKAPk@z> SGkgVG9tYXN6LA0KDQpJIGNhbiBzZWUgY29tcGlsYXRpb24gZmFpbHVyZSBpbiB0aGUgcGF0Y2h3 b3JrIENJIHRlc3RzLg0KQ291bGQgeW91IHBsZWFzZSBjaGVjay4NCg0KVGhhbmtzLg0KDQpPbiAz LzcvMjAxOSA1OjMyIFBNLCBUb21hc3ogSm96d2lhayB3cm90ZToNCj4gVGhpcyBwYXRjaCBhZGRz IGR5bmFtaWMgU0dMIGFsbG9jYXRpb24gaW5zdGVhZCBvZiBzdGF0aWMgb25lLg0KPiBUaGUgbnVt YmVyIG9mIGVsZW1lbnQgaW4gU0dMIGNhbiBiZSBhZGp1c3RlZCBpbiBlYWNoIG9wZXJhdGlvbg0K PiBkZXBlbmQgb2YgdGhlIHJlcXVlc3QuDQo+DQo+IFNpZ25lZC1vZmYtYnk6IFRvbWFzeiBKb3p3 aWFrIDx0b21hc3p4LmpvendpYWtA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