From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0059.outbound.protection.outlook.com [104.47.33.59]) by dpdk.org (Postfix) with ESMTP id CD080E5D for ; Sat, 16 Dec 2017 10:16:57 +0100 (CET) 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; bh=W7cTPHLnEEz/BgSgrBKTuDbQhPRoI8OmQ0PnY6owHK4=; b=oRy3BZFRGfq19JC4bEMEfMxGwfMqTCV8apIMP7yYNOAFzq4tRtp66wni06Peay4BhRqRE+oO4lV3hINYqDlDDby1Ro8gGbPq6R3zYK0oOwfF1w7MEQ2/ny157yYTgA6Q/W+YXEFlj0YkfY8uE0GUzxPlu8qJg0OB1MN65R0ZraE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.200.203.28) by BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Sat, 16 Dec 2017 09:16:53 +0000 Date: Sat, 16 Dec 2017 14:46:37 +0530 From: Jerin Jacob To: Pavan Nikhilesh Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, gage.eads@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, nikhil.rao@intel.com, santosh.shukla@caviumnetworks.com, dev@dpdk.org Message-ID: <20171216091636.GD8023@jerin> References: <20171211150528.13236-1-pbhagavatula@caviumnetworks.com> <20171212185809.15482-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171212185809.15482-1-pbhagavatula@caviumnetworks.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [106.200.203.28] X-ClientProxiedBy: BM1PR01CA0105.INDPRD01.PROD.OUTLOOK.COM (10.174.208.21) To BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e9f64045-05d3-478a-0b8d-08d54465c0c5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:/6dFsyw7O/D7/RcH8t3drVBgYi4wzNgLgBh4vX0LBiwoj3iPQC4n8TnupVuuR2lvnPDGqaJJ3sgqy2qQTnOWrFmRULHEW/LXMmASx+YyQq+JFMDoywgCoMz67Dj1TlF3TVIFOZR5RjKMVSfPuGsxuJjhwWA1+D7kMmvZvJpwM6pzZI5PMKVHo9XdTZvsIkNBtasRvKYj2E1bMxzPPLQLCINpagXfeP7BvaqkLtSFovzLCy1kgnyCT41pcDu4LxZD; 25:GR/F2i70/EK5EnQSIjaS6X4JmyuojOvL4bsHnqc8V/E3fNS+2gdAEUHAb5GNkuTtZumVlE9DyW8Zznlw+8RxzYKIWH4KQ43IEHv3Tka3xQkLQhr82DGCj657JuOq13sfquuqIrvPNQiaNlCVn2yfzcU1DCtfGc1Kbl8Hvea18FACtTkAVrg9EYBjl/Kc0NPyR2sc6TpsjjVeXinGHJBWAxRnNeiSnsTQgzR2XR4Ak9VJM9Kt8utkaQWFXPWsxIOLMYmPSIt+/IkdAGCtTumfcNDsN+T8yBbob1Z6hDhTgugEU9luS+ZZwSLAPIbotCiMu0sqBis38a3LlwPUC+XRFw==; 31:WoD0MBz3Vn6TGLkaCgxYMiTz8369BU5JQRuA0TTIZZu/4GkFWAyGCCYBHXeqjhKsKuc8a6W501mPu3+qZJkuVxus8PF8hA+sBrT7hR19wBJZx0suglnmPkmKz/uhd20ZXcVSNhpKAgooIBrYInnaS6joeJFwlQryMsejsxWB5FD6lvNQb1YRJuy7IvW6n5hW0HaAvUN1pfYhg3FdfAHszl+EiTVbxo6pSv8Axf3qtFU= X-MS-TrafficTypeDiagnostic: BN3PR07MB2513: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 20:2IFHhu4RNkLnwAhMkirQuwJxpuBBNyIaPaJ7uVyJR0VaqHjug4MpkRw9a7sfJW1Ca2OyAd9va54spYjAstcplHTZz/aPRU0pufUeCx2w1R8tEDASmJSBsax1vi6D+I3laJwAXwgzjD/fEbKdT+gsDr/aZFgsv93ejmcGy+nfB3yB+8dDNNhx0mmIpSoai3Ob+DXqHqQFZIhpujCifP5yc9zLzGdSALGl1NBlNRj9JZPQmu7zqmtcR/nfoLKCtd9orEiHA6nWsBmgh74bJDs7vxhlUHkEA5TeqD4MENg9zBJxFFvrXTJ8ikvkLDz6b3RHOGSKYkT+DuQ0HQHeyS/lO5rHdzO/wGXQQPKvjUl9lpvmupCsYXC9iMBiY7+hfloR4B0aVhByzxBK645RPHQenFRdFtGbP3NgQNskZXLPBIkbkoIgtIuruMOWTeurDTtowuf0ggveJxuG6gMHEd4ir3qIcuFe2w83hgch3hJuXQtVaGspYkA/p2vRqeNXtZ7dR6oGGeR/AxfYq20l8VkCbaSNFD4jeKO5FZzgx5y4EnRhcmEha5Ui/8rXFWML4T91TPFuL8hQEqohBaMerYAYmoA0na8cdYYf3bj40JtvUnA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(3002001)(3231023)(93006095)(10201501046)(6041248)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123555025)(6072148)(201708071742011); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 4:WK+zauRy8jluqKnoYpFTyZkhF1ekrZgs9N3SodSXJEWOEnZbvUDwc+UpjUOcYdPKRpRnfCmYrCik/sTf4G3TCF+yKxcpoiGCHOiD5S+nHUJufShd5z/Wu6uFa3XJcX0LOEUW3JMM5uTTITErJzSGqnebQ7mFO/8bdoDm08/OcnCm3Pwg8EyU6is6IuVMcmxj7FTh77pE0BXifllmrI8g65nP+JyHG/AKNncg2spRE5MbXWhpPpHuB/CjfwQeSJF9kbod2NCu1r3bBkp8trKbR0iShU/VBtA8GuALFgScIICL4u08+NMY7z6Y8UOlzJHUsQDLBBJwOsksnB6reVgCPG4GBUAi51S9D8IQwDRWQnc= X-Forefront-PRVS: 0523CF0711 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(396003)(366004)(376002)(13464003)(199004)(189003)(8936002)(5009440100003)(6666003)(33716001)(50466002)(42882006)(2950100002)(52116002)(33656002)(66066001)(55016002)(47776003)(9686003)(6496006)(76176011)(33896004)(58126008)(16586007)(2906002)(8676002)(5660300001)(81156014)(7736002)(305945005)(97736004)(81166006)(386003)(6636002)(16526018)(229853002)(3846002)(23726003)(68736007)(316002)(72206003)(1076002)(6246003)(53936002)(83506002)(4326008)(25786009)(8656006)(6862004)(106356001)(105586002)(478600001)(6116002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2513; 23:LHGEI6eVpznAahlzTkWXzWU3iQtTP7OKOcu5Usubo?= =?us-ascii?Q?28thAMm8377qi1FDTXzNso3teZdgv0OjavO3v2JgBOfwR1KIw9s/H8lE++AU?= =?us-ascii?Q?n4BRQLjn9A14T4yob8jqtL0SvxAOfK66XgdZE5kKMBCDstokxvRF1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OA4SGjGj59gsnGgfkHzum/LCq5KjO/+FCZbvBjYmCErZRN64h1dyAGREQcz/J7NZRvY7lnB4t7Pf4K0f3TdAXtxsb4RqCWEGBLzYP8SKHdgKehXq0HlA7YOvhp2nsnT62EykWnXAi92otZkmJBRsr0Zka3mEZAsWkh0+VwbF8iIkZvG/R89Xe41n/CWbGhMlabFs3edwk+opNitxUUkNQ2nC49M0Y/V3pjlMJNZGt SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2017 09:16:53.4942 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e9f64045-05d3-478a-0b8d-08d54465c0c5 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 Subject: Re: [dpdk-dev] [PATCH v3] eventdev: use links map to unlink queues 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: Sat, 16 Dec 2017 09:16:58 -0000 -----Original Message----- > Date: Wed, 13 Dec 2017 00:28:09 +0530 > From: Pavan Nikhilesh > To: jerin.jacob@caviumnetworks.com, bruce.richardson@intel.com, > harry.van.haaren@intel.com, gage.eads@intel.com, hemant.agrawal@nxp.com, > nipun.gupta@nxp.com, nikhil.rao@intel.com, > santosh.shukla@caviumnetworks.com > Cc: dev@dpdk.org, Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v3] eventdev: use links map to unlink queues > X-Mailer: git-send-email 2.14.1 > > The octeontx event device doesn't store the queues to port mapping as a > result it cannot return the exact number of queues unlinked from a port > when application wants to unlink all the queues mapped (supplies queues > param as NULL). > > Using links_map we can determine the exact queues mapped to a specific > port and unlink them. > > Signed-off-by: Pavan Nikhilesh > Acked-by: Gage Eads Cc: stable@dpdk.org Applied to dpdk-next-eventdev/master. Thanks.