From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 440261B8CF for ; Thu, 18 Apr 2019 05:30:25 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3I3KgIf032214; Wed, 17 Apr 2019 20:30:23 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=eBc0+wm+i/x2txsfI6/kDMABRaxRJXgqTRHu/6d/W3w=; b=gn2YXjwDq/Edxb5iQhr/5LZI9ZVZc3ofAYDSWGJAHkKlVXkmJX325rVhWfAO5Tz7MB/+ Vvd0AtCgXcmmZ6NCDlj6uCMfQ2MhT2N1YSEZKOd3s06Z00/R5mr2kOMvMBOXRSNZp1Lc NymZNKA1bnvM8N69GfvywoX3EJ0bfZIFvddwfk+lw3+aA5F/S0fSHFKZ00+zONOFHGDF SvqCKMZ0dgwju/zjHthJthP0L3tIcITDYShhJX+g5YrZly6clW5mDPOwJuK84PC6vaqN WD6GFdmhwbu/dHiPN2gCASX11wEUSvblKBgR0u2aVezgudpQjxI5ANPl+1oDcy3n44Tf Sw== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2rx3mpkbf4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 17 Apr 2019 20:30:23 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 17 Apr 2019 20:30:23 -0700 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (104.47.41.59) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 17 Apr 2019 20:30: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=eBc0+wm+i/x2txsfI6/kDMABRaxRJXgqTRHu/6d/W3w=; b=UQlrvyoySZLK756tGUMxtETtCh5JArm1F4UNSExWVfe7+WYCluHCdtjOVUx3LrSel2XnEVymL4C//HtQD0k7dAJDDZ9a0atX2MiB5pWJL2F/2Yf6d+O1KcbqBu9lxUG9wQso/uEx+kS4D/cjdxxSzfBiHCiP/E6Mz8DfDkBMlBA= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (20.179.20.218) by MN2PR18MB2415.namprd18.prod.outlook.com (20.179.81.205) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.18; Thu, 18 Apr 2019 03:30:20 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::8c8d:3cce:d106:bf62]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::8c8d:3cce:d106:bf62%6]) with mapi id 15.20.1792.022; Thu, 18 Apr 2019 03:30:20 +0000 From: Anoob Joseph To: Akhil Goyal , Pablo de Lara CC: Anoob Joseph , Jerin Jacob Kollanukkaran , Narayana Prasad Raju Athreya , Shally Verma , "dev@dpdk.org" Thread-Topic: [PATCH] crypto/octeontx: use distinct metabuf pool for each queue Thread-Index: AQHU9ZcMzMZFzQhwj0uM/ETebOLGoQ== Date: Thu, 18 Apr 2019 03:30:19 +0000 Message-ID: <20190418032953.2102-1-anoobj@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0085.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:54::25) To MN2PR18MB2877.namprd18.prod.outlook.com (2603:10b6:208:3b::26) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.9.5 x-originating-ip: [115.113.156.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9af9057a-6368-41c6-0f9b-08d6c3ae2e3c x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600141)(711020)(4605104)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:MN2PR18MB2415; x-ms-traffictypediagnostic: MN2PR18MB2415: x-microsoft-antispam-prvs: x-forefront-prvs: 0011612A55 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(39860400002)(136003)(396003)(346002)(189003)(199004)(81166006)(4326008)(14454004)(55236004)(7736002)(6506007)(99286004)(25786009)(478600001)(53936002)(71200400001)(53946003)(386003)(71190400001)(305945005)(102836004)(1076003)(186003)(30864003)(6116002)(68736007)(6512007)(97736004)(50226002)(6436002)(256004)(5660300002)(2906002)(14444005)(26005)(476003)(2616005)(52116002)(86362001)(8936002)(8676002)(81156014)(316002)(110136005)(36756003)(54906003)(486006)(6486002)(66066001)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2415; H:MN2PR18MB2877.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: Tj7z1+gX9DkzzCoCQNbx/9clbgZLD/0RcUMOjmFLRMvRQpJJuhGpv/WFdSz7xxPbBrkA9WcPt2V8c+/LMU4i5eBEpqSzZk0i9Uv4xzaD9fc5GijMOHzW36VgUrygH7wVBAKH6ELPPWAePHj+nIEv2WZtkGBK+voNVmcwUkD+pdYcrk66ncyVLtaTp/+EHPlUUEpK8hLKsV0vx8KE72delDo9jVapD5HZSIg45g6BHSwp2LSosVu2Bt4hYf75coJfU6Oed7OvTKqGNPBYSEDTcd2dIprhabqRfMUbtuuaVs79lONQ+IuythYaK+a+tFtpZJJOiLCrZQVYnaW40M+Xtfn3DQGzF4iAX73Z6a5R3R2O7UuVUAXQ3Vi4bpCZdYW6cKBV3DPCcmkqFuMPjPf4//3xgaI1t3clDLp3tZwATms= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 9af9057a-6368-41c6-0f9b-08d6c3ae2e3c X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2019 03:30:20.0477 (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: MN2PR18MB2415 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-18_02:, , signatures=0 Subject: [dpdk-dev] [PATCH] crypto/octeontx: use distinct metabuf pool for each queue 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: Thu, 18 Apr 2019 03:30:25 -0000 VGhlIG1ldGFidWYgcG9vbCBpcyBzaGFyZWQgYWNyb3NzIGFsbCBxdWV1ZSBwYWlycyBiZWxvbmdp bmcgdG8gdGhlDQpQTUQuIEluIG9yZGVyIHRvIHByZXZlbnQgb25lIHF1ZXVlIHBhaXIgZnJvbSBz dGFydmluZyBhbm90aGVyLA0KdXNlIGEgZGlzdGluY3QgbWVtcG9vbCBmb3IgZWFjaCBxdWV1ZSBw YWlyLg0KDQpGaXhlczogMjczNDg3ZjdiMzgxICgiY3J5cHRvL29jdGVvbnR4OiBhZGQgZ2xvYmFs IHJlc291cmNlIGluaXQiKQ0KDQpTa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Rf ZGVpbml0X2RldmljZShjcHR2Zik7DQotDQogZmFpbDoNCiAJaWYgKGNwdHZmKSB7DQogCQkvKiBG cmVlIHByaXZhdGUgZGF0YSBhbGxvY2F0ZWQgKi8NCmRpZmYgLS1naXQgYS9kcml2ZXJzL2NyeXB0 by9vY3Rlb250eC9vdHhfY3J5cHRvZGV2X29wcy5oIGIvZHJpdmVycy9jcnlwdG8vb2N0ZW9udHgv b3R4X2NyeXB0b2Rldl9vcHMuaA0KaW5kZXggYjNlZmVjZi4uNzY4ZWM0ZiAxMDA2NDQNCi0tLSBh L2RyaXZlcnMvY3J5cHRvL29jdGVvbnR4L290eF9jcnlwdG9kZXZfb3BzLmgNCisrKyBiL2RyaXZl cnMvY3J5cHRvL29jdGVvbnR4L290eF9jcnlwdG9kZXZfb3BzLmgNCkBAIC05LDkgKzksNiBAQA0K ICNkZWZpbmUgT1RYX0NQVF9NSU5fVEFJTFJPT01fUkVRCSg4KQ0KICNkZWZpbmUgQ1BUX05VTV9R U19QRVJfVkYJCSgxKQ0KIA0KLXZvaWQNCi1jbGVhbnVwX2dsb2JhbF9yZXNvdXJjZXModm9pZCk7 DQotDQogaW50DQogb3R4X2NwdF9kZXZfY3JlYXRlKHN0cnVjdCBydGVfY3J5cHRvZGV2ICpjX2Rl dik7DQogDQotLSANCjIuNy40DQoNCg== 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 A0D42A00E6 for ; Thu, 18 Apr 2019 05:30:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F41661B8F7; Thu, 18 Apr 2019 05:30:26 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 440261B8CF for ; Thu, 18 Apr 2019 05:30:25 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3I3KgIf032214; Wed, 17 Apr 2019 20:30:23 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=eBc0+wm+i/x2txsfI6/kDMABRaxRJXgqTRHu/6d/W3w=; b=gn2YXjwDq/Edxb5iQhr/5LZI9ZVZc3ofAYDSWGJAHkKlVXkmJX325rVhWfAO5Tz7MB/+ Vvd0AtCgXcmmZ6NCDlj6uCMfQ2MhT2N1YSEZKOd3s06Z00/R5mr2kOMvMBOXRSNZp1Lc NymZNKA1bnvM8N69GfvywoX3EJ0bfZIFvddwfk+lw3+aA5F/S0fSHFKZ00+zONOFHGDF SvqCKMZ0dgwju/zjHthJthP0L3tIcITDYShhJX+g5YrZly6clW5mDPOwJuK84PC6vaqN WD6GFdmhwbu/dHiPN2gCASX11wEUSvblKBgR0u2aVezgudpQjxI5ANPl+1oDcy3n44Tf Sw== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2rx3mpkbf4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 17 Apr 2019 20:30:23 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 17 Apr 2019 20:30:23 -0700 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (104.47.41.59) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 17 Apr 2019 20:30: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=eBc0+wm+i/x2txsfI6/kDMABRaxRJXgqTRHu/6d/W3w=; b=UQlrvyoySZLK756tGUMxtETtCh5JArm1F4UNSExWVfe7+WYCluHCdtjOVUx3LrSel2XnEVymL4C//HtQD0k7dAJDDZ9a0atX2MiB5pWJL2F/2Yf6d+O1KcbqBu9lxUG9wQso/uEx+kS4D/cjdxxSzfBiHCiP/E6Mz8DfDkBMlBA= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (20.179.20.218) by MN2PR18MB2415.namprd18.prod.outlook.com (20.179.81.205) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.18; Thu, 18 Apr 2019 03:30:20 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::8c8d:3cce:d106:bf62]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::8c8d:3cce:d106:bf62%6]) with mapi id 15.20.1792.022; Thu, 18 Apr 2019 03:30:20 +0000 From: Anoob Joseph To: Akhil Goyal , Pablo de Lara CC: Anoob Joseph , Jerin Jacob Kollanukkaran , Narayana Prasad Raju Athreya , Shally Verma , "dev@dpdk.org" Thread-Topic: [PATCH] crypto/octeontx: use distinct metabuf pool for each queue Thread-Index: AQHU9ZcMzMZFzQhwj0uM/ETebOLGoQ== Date: Thu, 18 Apr 2019 03:30:19 +0000 Message-ID: <20190418032953.2102-1-anoobj@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0085.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:54::25) To MN2PR18MB2877.namprd18.prod.outlook.com (2603:10b6:208:3b::26) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.9.5 x-originating-ip: [115.113.156.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9af9057a-6368-41c6-0f9b-08d6c3ae2e3c x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600141)(711020)(4605104)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:MN2PR18MB2415; x-ms-traffictypediagnostic: MN2PR18MB2415: x-microsoft-antispam-prvs: x-forefront-prvs: 0011612A55 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(39860400002)(136003)(396003)(346002)(189003)(199004)(81166006)(4326008)(14454004)(55236004)(7736002)(6506007)(99286004)(25786009)(478600001)(53936002)(71200400001)(53946003)(386003)(71190400001)(305945005)(102836004)(1076003)(186003)(30864003)(6116002)(68736007)(6512007)(97736004)(50226002)(6436002)(256004)(5660300002)(2906002)(14444005)(26005)(476003)(2616005)(52116002)(86362001)(8936002)(8676002)(81156014)(316002)(110136005)(36756003)(54906003)(486006)(6486002)(66066001)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2415; H:MN2PR18MB2877.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: Tj7z1+gX9DkzzCoCQNbx/9clbgZLD/0RcUMOjmFLRMvRQpJJuhGpv/WFdSz7xxPbBrkA9WcPt2V8c+/LMU4i5eBEpqSzZk0i9Uv4xzaD9fc5GijMOHzW36VgUrygH7wVBAKH6ELPPWAePHj+nIEv2WZtkGBK+voNVmcwUkD+pdYcrk66ncyVLtaTp/+EHPlUUEpK8hLKsV0vx8KE72delDo9jVapD5HZSIg45g6BHSwp2LSosVu2Bt4hYf75coJfU6Oed7OvTKqGNPBYSEDTcd2dIprhabqRfMUbtuuaVs79lONQ+IuythYaK+a+tFtpZJJOiLCrZQVYnaW40M+Xtfn3DQGzF4iAX73Z6a5R3R2O7UuVUAXQ3Vi4bpCZdYW6cKBV3DPCcmkqFuMPjPf4//3xgaI1t3clDLp3tZwATms= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 9af9057a-6368-41c6-0f9b-08d6c3ae2e3c X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2019 03:30:20.0477 (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: MN2PR18MB2415 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-18_02:, , signatures=0 Subject: [dpdk-dev] [PATCH] crypto/octeontx: use distinct metabuf pool for each queue 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: <20190418033019.JGWHFE-PtktTQ0CKH4w6XuzdSYqed8bxvK2vhvjI_64@z> VGhlIG1ldGFidWYgcG9vbCBpcyBzaGFyZWQgYWNyb3NzIGFsbCBxdWV1ZSBwYWlycyBiZWxvbmdp bmcgdG8gdGhlDQpQTUQuIEluIG9yZGVyIHRvIHByZXZlbnQgb25lIHF1ZXVlIHBhaXIgZnJvbSBz dGFydmluZyBhbm90aGVyLA0KdXNlIGEgZGlzdGluY3QgbWVtcG9vbCBmb3IgZWFjaCBxdWV1ZSBw YWlyLg0KDQpGaXhlczogMjczNDg3ZjdiMzgxICgiY3J5cHRvL29jdGVvbnR4OiBhZGQgZ2xvYmFs IHJlc291cmNlIGluaXQiKQ0KDQpTaWduZWQtb2ZmLWJ5OiBBbm9vYiBKb3NlcGggPGFub29iakBt YXJ2ZWxsLmNvbT4NCi0tLQ0KIGRyaXZlcnMvY29tbW9uL2NwdC9jcHRfY29tbW9uLmggIC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