From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0074.outbound.protection.outlook.com [104.47.38.74]) by dpdk.org (Postfix) with ESMTP id 73DD41BEFD; Wed, 27 Jun 2018 16:35:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GGytXYyLFAGnsWMN0ci8NUfbVuVT4sG2Pv6XggiyEHY=; b=dOkJGYcFTIHqdCgWzuTTkcdGfw28cLEglyC/4sTPNLFjIPvJ6R7Cx+Ku4mQh2NE7jfX8QswQIMsBaVCZbMNEtNDC5IFyi0sHRgYsTaOVRQGlJ+p9Fc5jB8Z0mlAfaQ0084f7a5J0k0gxfkBVdsGn3iyK1NsFkimNEmWFgp2BORs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from [192.168.0.106] (103.76.56.134) by SN6PR07MB4334.namprd07.prod.outlook.com (2603:10b6:805:56::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.884.23; Wed, 27 Jun 2018 14:35:13 +0000 To: Pavan Nikhilesh , jerin.jacob@caviumnetworks.com, olivier.matz@6wind.com Cc: dev@dpdk.org, stable@dpdk.org References: <20180627114736.29484-1-pbhagavatula@caviumnetworks.com> From: santosh Message-ID: <3e0a02d1-4c26-db98-6663-0719a6af319e@caviumnetworks.com> Date: Wed, 27 Jun 2018 20:05:01 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180627114736.29484-1-pbhagavatula@caviumnetworks.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [103.76.56.134] X-ClientProxiedBy: BM1PR0101CA0012.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::22) To SN6PR07MB4334.namprd07.prod.outlook.com (2603:10b6:805:56::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 96bc1b29-77b6-4124-7e32-08d5dc3b3279 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:SN6PR07MB4334; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4334; 3:m8BUQ05jMM+qFhM7E9A3NAGTTgwQbBXBUI2tAv6FbeP3HVn2FfUTzYnTO1yaJNoECl+A6gT5u8kEABhjpubwwNO7/EavMQYLeFKiTEUEBlXrKK/A49CLqaqXzR60ZidODDHs3f7QXk01r0Qg7P3wZz6gS0IpSyuhESCBkpxUobTa+v2lWwW0+Tp3pKQWWvff1P5SS6GaKEwWMRjRAmty2mB2nJKOKaVHTvz8vd4r8FyBSWp9kYq8m/jsgo1k4xpM; 25:6NXyoRB883+dFBZ592MUFw/OTBclF3XDibAJwt2KYbGlEbi9scUYro5Wpr2nu7CvdkyFPkXiw2JyqDBAdNyJ/j6vwOhj77nNmYQMvt43xatVb+Z1vrwTXQ5PFZayI/jXGlwDusUvtv1dkH6SdP9O2r8zgA8zptRf6zx4hPAYJhc67i1FM2J4J8nWpFcxr+52fcFA2FQFdSjXg+NtixncKkMnmB/+wO+xcP+vRh64LezcLAZ3fo1omFkP/tDqopYKseE5tratzSVmQPeqlFDjq4ESvzs82UAifcyCmJNodohzDnCm2oRIIS6zv+pdgbFWcxJmXZvHKTNo6G3LbTH3lg==; 31:9xA8VqNCCj1HlEXBXMzYpC/1xG4BXTusm2iS04+JDeNnPLsFTmB7idJt2Phl+XbqAFJ0UnXtdxNm77+cRz5VIUZhbfBwGkUmmbeu1HOg/GBaY3imtl6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Le6c5tou3Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(3231254)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:SN6PR07MB4334; BCL:0; PCL:0; RULEID:; SRVR:SN6PR07MB4334; X-Forefront-PRVS: 0716E70AB6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(979002)(6049001)(346002)(366004)(39860400002)(136003)(376002)(396003)(189003)(199004)(2616005)(86152003)(386003)(186003)(2906002)(316002)(36756003)(64126003)(76176011)(16576012)(77096007)(52116002)(72206003)(2486003)(23676004)(58126008)(16526019)(229853002)(52146003)(31686004)(50466002)(6486002)(478600001)(26005)(66066001)(6666003)(476003)(47776003)(6246003)(446003)(42882007)(956004)(5660300001)(81156014)(117156002)(65956001)(68736007)(6116002)(65826007)(8936002)(81166006)(11346002)(8676002)(31696002)(305945005)(7736002)(53936002)(97736004)(105586002)(65806001)(3846002)(230700001)(486006)(25786009)(106356001)(4326008)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR07MB4334; H:[192.168.0.106]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjZQUjA3TUI0MzM0OzIzOkI0cTZhdzI2ZEtjcEt5R2hCRjlQTFJRL2VB?= =?utf-8?B?T1puSkFxQzZ5aXhvODZweFpXdDg4QitKZmY0dXBZbTNZVUhUdlA3QlkxZi8y?= =?utf-8?B?MnBTa0owS0xMK2tmeGV1N2RJZz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1CSH9jMnhYxnzm7Fk/s7RKRVb9gflbeNLnjvdFjQOTX7XS8EzCk6TAEOVm0Iig16F8gZJkzqcgLcr0qxPVgBojpZmuiOGCv9+N+mxuOz2NBpKJLrsbRxiSl/UvZdLndGYHDr71je3y/hnvYYHTWc+AwiipKY8WYwnwJ6HjwM=; 24:wtNOZEi2/GwawoAOD7Jw5CfbNjR4tIeOOhUFeZqfFPCvCTByb1xGjW+bqS3Qo7K9QJUwAhmNix3Y7I2d7Pb8Wb/hyAcJrcxZnfiYESHArio= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4334; 7:8XJdfkL0A4O4XJn+OR7GaAfiR+Tjf8J/LaOgDu3QiIiZvpByP6hUiLO5VKEO1vpPPKMim2UEQDCQ+/IFB6DM+q/K7w/83TaOhIfvXOwh9yeRcMaYPKA7HMNKu2clwr0+CsUkP/WeiUu05pR5HBXOl1niIDbUoTT2vefhqmhR2907YRHHfQHqZhRH8Ithh74jWts7WhF5aKY0lok+PssnM+J9HcKDUHV9kPn5qKFrh9kiHyYPCvavIOWxesPpv7DK X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2018 14:35:13.2954 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 96bc1b29-77b6-4124-7e32-08d5dc3b3279 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB4334 Subject: Re: [dpdk-dev] [PATCH] mempool/octeontx: fix pool to aura mapping 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: Wed, 27 Jun 2018 14:35:16 -0000 On Wednesday 27 June 2018 05:17 PM, Pavan Nikhilesh wrote: > HW needs each pool to be mapped to an aura set of 16 auras. > Previously, pool to aura mapping was considered to be 1:1. > > Fixes: 02fd6c744350 ("mempool/octeontx: support allocation") > Cc: stable@dpdk.org > > Signed-off-by: Pavan Nikhilesh > --- Acked-by: Santosh Shukla Nits: May be introduce a macro something like #define AURA_IDX(gpool) (gpool << FPA_GAURA_SHIFT) Thanks.