From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0066.outbound.protection.outlook.com [104.47.0.66]) by dpdk.org (Postfix) with ESMTP id C8AEB1B23E for ; Fri, 6 Oct 2017 05:33:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yRdvi9pOWXY9FpC6RqOqOKKaZXFQ0MsE25pbJYIVgvQ=; b=h1DeLNmJ+i0CkRgKIrLSPBLMtL5/v/TRHqXIojyIu1w2YAqa2vJJ8rqFIoX9M8sI7dkYw6+KbiBpyGnbEMf0uZCvSExsJO+ehQkWTVg5WZum5R49oca3jPTaaSnuisBOHPbkiyeV2UhNuR9QSn/rF/WlHqnhcnQbtvUlBijxI3I= Received: from yongseok-MBP.local (73.222.116.174) by AM5PR0501MB2036.eurprd05.prod.outlook.com (2603:10a6:203:1a::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Fri, 6 Oct 2017 03:33:05 +0000 Date: Thu, 5 Oct 2017 20:32:53 -0700 From: Yongseok Koh To: Nelio Laranjeiro Cc: dev@dpdk.org, adrien.mazarguil@6wind.com, ferruh.yigit@intel.com Message-ID: <20171006033252.GB19330@yongseok-MBP.local> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) X-Originating-IP: [73.222.116.174] X-ClientProxiedBy: MWHPR20CA0044.namprd20.prod.outlook.com (2603:10b6:300:ed::30) To AM5PR0501MB2036.eurprd05.prod.outlook.com (2603:10a6:203:1a::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 754d688b-ebf1-4d78-b4a6-08d50c6af579 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:AM5PR0501MB2036; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0501MB2036; 3:U5oYkQMp9Iprl3bbPXAK2Iuc5IJRDHLnl6y3/P+1kgDtXFrnvRf/0JRDb71JpR1nrJO9wR/8r2r9ZCFNp0EHq8qI38vU6xT+5vbm0UMB5jOYdcwCvigx75nUcg2UoWejj8Gc7RhWclD82ml0jQOIJFWzfVf91qjKIhume3sE2l+hYfUAGyaxBSxwpck4CL/5UgcPm3qZypIeDYJA0IM3/ujUhfeXL+0ZayK8Y0KDpxbbGQ+71TMv2nqwSj2vJc2g; 25:oc56K8gR3/KBOg/wvTHFlJGDo0qfcJ26+IMLAL9P+pIy73Kgzm8WF+0dDuMJ5CLLvWclE6iPft1NoDSArWcSYpKvdBX7nYqRZNER6hFYDezC9rAuliDbCOqN6wORZBFael75UjyunHzjk2kNnzdSCRYi7Uy7uwOaY60uVlgx2SGJzb4wj2gjDFtmt6AxqjmGDnSaFxX36wWBS9PA1O0pa45+aDg+QlXksmrqhg+k1TsxqgXRG800v/cA+y4OtW/ImyXHitrW/+Cdn//wUxt2fM3PvBiJpDZSTZBzAPFQ/ZwB6wIHfS5X+CCMryl/48BtRRykp87Q3GVSnxVm75xxuA==; 31:paYSpvsla43ZYnzywkB7s1E8nPXY3K3KKPJpArA3FR8RJtRX6d9Ea2PJ0L/ldkAbthSfTZhPTJl2W+hsTgYY3CtztKXppcxLpvyCrk30WSSYi8wqBUv2fZ2PnbkkSfF4d21+9UnP+k12/SyQeoTcIMUaqmdbfW/VQfLCZSAO/D4IIvmuOSCltETnn8DS28NQNj16Vq90w4TooeQY9oPca8UWZkOvY/wSaemGSSp3TkE= X-MS-TrafficTypeDiagnostic: AM5PR0501MB2036: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; AM5PR0501MB2036; 20:x398Ud6x2WGARrUMKY99h5ErlwKJLYxeFrzTNwiYUUpu3Dv40kvCNo8L8aQiWUF+5i2Vp4kKGhzaoLaJSZxxPHMoJurpuf5lW1Au1j+6izUA/LxPbP/zSPCyJDCWCNY1S0PCkQmC69ff4Nqi+iOijVPGR1Kzi8FJEiD70gJHxz/J0qdJT7DeG85hDTREtJNmg2HvNiO6BGLdCaxe4NvUP7J8xph6B+bQmIU5ZWhd6V6zKx6TJFHZERrPirVKj9J/IRavVZOACfC0IP0uoeqeHtyQWacTk1f4xH/NiwFhV/dekUg2V882lSLMsPjMd1Gu1OmzMyqQZUJZ9DH1r1Bg1dvT4OrqHehSzHgCJWjJOPyXT02f+f6574XjM1J20Ua5oQUYdrcwvFfoD1kqojrCDDlBgJOP+8fTuAt2l2pruY5OnXDd32Ua4wv7O/1CY/09LqOzt2AVSGHubdbIrVoUi7UI4WJI9swpr3+/VqKf5jha8Tb+nsGQMu4YdqF1OEvt; 4:4djaejcWrWR9HT7ZMDP5mX4mnoGbzl5FT/OZOJqDM1ZYA1/hrsNF8Nast8XO0WRYFGUyCmpF52IJXL3NT0dQulIpms7vwnbqkKDT6KIW9H5l4YiETuxEgrBaDZZlcYMVGdfqjzlXoYCWtbgAIdyvQT+8fUVmzbr4s5Z4pd3VvkZ0IVulRvCzrjEDCF17VxROT4MWv664DPNkiNOEsjXQ5fliVGyZXNgW+ce3TRwxvKu1w//1ovUbgSABdjyingXw X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123558100)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM5PR0501MB2036; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5PR0501MB2036; X-Forefront-PRVS: 0452022BE1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(346002)(376002)(189002)(24454002)(199003)(83506001)(6916009)(25786009)(305945005)(50466002)(2950100002)(53936002)(33656002)(1076002)(50986999)(58126008)(16526018)(54356999)(101416001)(5660300001)(9686003)(105586002)(76176999)(47776003)(66066001)(7736002)(6506006)(6666003)(97736004)(55016002)(229853002)(81166006)(81156014)(2906002)(8676002)(6116002)(3846002)(68736007)(6246003)(23756003)(8936002)(316002)(2870700001)(189998001)(106356001)(86362001)(478600001)(4326008)(98436002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0501MB2036; H:yongseok-MBP.local; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; AM5PR0501MB2036; 23:CVOGuhFrqBDlybb+Uas6yoEkBmD/DngX17RBO?= =?iso-8859-1?Q?s91xgPpZ9xB8hdckhrSZpAEnEwqcjkSwn1veYBRYHhs1N3IPJHlZOwpI3S?= =?iso-8859-1?Q?y8xysoBRWvqppXMM7yBT0Ocqo7p2PdXXh5KxWMF1yB42w7gyLC2gQoOn41?= =?iso-8859-1?Q?+84iuXABcC9jAjNpz+PEU69S8NQIa11jwx6HKBs1rz/kkbFZsQ80EB/OQe?= =?iso-8859-1?Q?m3/y0vBHk/T8PMDpAlr/rzFA71YTV2FWrc7nxeSxRFcxBAuKZGErkitYhT?= =?iso-8859-1?Q?Vx4lZOVUnisH1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9WY31eg?= =?iso-8859-1?Q?NxXtHmvEiq8U3RPoTwETovaXhPeVSUl/fZwnKrqFYt888s7LYINCubUIqf?= =?iso-8859-1?Q?l0UUDDXuYvDmZ8dB+vP?= X-Microsoft-Exchange-Diagnostics: 1; AM5PR0501MB2036; 6:02xb6TxdqDkkgozhiXLhzrgV0zje9FGyPHC4BUEkmzVHZUceDY7osAymVreC8dFnIx+tG7M0f96So+KPX4a7Y6gzO6E7zfQ3XsVBCoJaW4/joZ1xSKPGnL8U949Nj8tfHRhwkSVmSGcKpDfjVUBH3Kjkygh+dYu9t/nVHT+eokJGWF6q73M3E0gkWYxEgwULTk36y990yyFf4bmFG0UQ1OMRVbtoh+WpC54y5Pzc6eHJIFoHHe7f8CsxKoHhIKYW4MMgRPZ82tuer8lM9RsG9KkMGxGj5wk9YAKIbQ8IyhIGdY92m7O9bLFOMwaC91WgEpSbYuYk1KoUJ2d/t0bhvA==; 5:a10RnXvSX3G+r3eTXybrsehXRcuBYFmKlbIBmhOiMEjZjXoIlPgazXncaa1rJgPNkEzg4I9zwpw+UOTOXc0qmbIMCAPEukgdSL8FQvK69h8Ty+OUfN92Pfv494TFrDjWa/N/LM9W9sVG1KZJkAk2qQ==; 24:msqf3yfF6nja89j+OX8TrwAFQGuPf12WfKszzMiNkNhFX54wrRtK+6bmMThl0fWNp52xaYHghSXFklEgHv7D3zJbpVMhNVwAevj1rsbo+t8=; 7:3mIOzWg+i8LsFvFUpDWacwaS/waHBv1wXP1WdK2wwwXTfT32m1wO6Rfu+2VgoltO3te2Ax9KV7e05n3lQGUhNPBkg9o078+OwF9ukSjiG2WiSljO/k3tSTHlce1HoS3AtYrRO4TpojbGaxIGjbc4r/Fnev7SbB2jgSRSnBI2uLOsaelseXqeRHpxxGlCEjVTMpepwwTtqRSu5yOYvP2AoJxPio6VU2Bd74ofuncA8QY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2017 03:33:05.5847 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0501MB2036 Subject: Re: [dpdk-dev] [PATCH v2 11/30] net/mlx5: separate DPDK from Verbs Tx queue objects 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, 06 Oct 2017 03:33:09 -0000 On Thu, Oct 05, 2017 at 02:49:43PM +0200, Nelio Laranjeiro wrote: > Move verbs object to their own functions to allocate/release them > independently from the DPDK queue. At the same time a reference counter is > added to help in issues detections when the queue is being release but > still in use somewhere else (flows for instance). > > Signed-off-by: Nelio Laranjeiro > --- Acked-by: Yongseok Koh   Thanks