From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0076.outbound.protection.outlook.com [104.47.0.76]) by dpdk.org (Postfix) with ESMTP id E80AE1B217 for ; Fri, 6 Oct 2017 05:57:12 +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=V4uwwGj6r3yLb5fgO0O5mbNyXOxk+ZOwyYSj60rdC+4=; b=EMgUsJTfOHiCVkPrTIltU9DQCdu+7ADmPqaqU4WxoMVJQFj9MGQKu5y692T433v1ZZluECIbxmK/wcWFvunGG9HcltNGUKeiblHtf4DBsVhdPjUYxfeQNP21Ipn2G4U52c7/dclHzDOGYvhXfnSq/QmdFd1r4gu5enjhCZjR358= Received: from yongseok-MBP.local (73.222.116.174) by DB6PR0501MB2040.eurprd05.prod.outlook.com (2603:10a6:4:6::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:57:08 +0000 Date: Thu, 5 Oct 2017 20:56:55 -0700 From: Yongseok Koh To: Nelio Laranjeiro Cc: dev@dpdk.org, adrien.mazarguil@6wind.com, ferruh.yigit@intel.com Message-ID: <20171006035654.GD19330@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: MWHPR13CA0039.namprd13.prod.outlook.com (2603:10b6:300:95::25) To DB6PR0501MB2040.eurprd05.prod.outlook.com (2603:10a6:4:6::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 638c2101-4175-4f24-e8c2-08d50c6e519a X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DB6PR0501MB2040; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2040; 3:8DIVuMA8q5FJSFR69/2/80+l6EFgbWlWqmhO/Mc2S4t20snQ47d+87btrUhqVQ4OaH+u/lnWDgl8ye0GkHJ+Ek2zzjxdnywblgUMAZ3cFiuHMODwzF9xwZK5bFKTWXfFJoeybKX6aLfHLh+1XBETaCE0LHwPoRmIc1gziH9KTmiQH13zQdH85xVO5Mitzc5JG2M2AVRXo99ODcftnglZm86c0sP8uZHnfH/Uh7kv1jQI7VxpPamlzJOPmPb/ljHN; 25:OISLtxRXCmXrLDJZmB5MZw9zpgxO5+O0IcKQ5GBnsB5+N1e7LhgoXxRtcnpz2StlyCEHe3c/6oiTiWPakjmugOl2zxaXaTKqAAoeFkue/OlvQk3/8XYKc1ny8R3/MDcG/lEuX4PQhijhpNI9u8GkVdSuJaH2a5x48ctWuIKQnvkrNLuRxNbAwj/8MRqCv14JtnM7LNNJOiIcE6jvyqv74hcU4dHSR8w1h5w4FVSjQK3fZPhPiyBfcTdyo7nNHpz8Q28tlUtp95zhBQMot+4BN4dmZAor5a7wKbnEcvLHWv64BVtDHWismexPvHpovuropww2XEy1YN3Kid3kDQ39Bg==; 31:lZifeUxH+FZzm0ly8kSKSI60KsMVgLTeIJQWkt3drKO+EI35qSfho5S0B7H8iYMY+FoKSkh0B2kr45kE5F2Y+jE2mQUwqxi5sAtwooLTPsmQ4dUtrkVQNm2WfMDFdrvJcSMxnj90Tb9m4JRzTZ5dJEsRvxByRsiIYkFugZ5PBUktYV6t7wikJezmamYjLtBsCA3f26yJvH3YDtZ9SdLj2y8SviiopRvQnGG9PKzwoSI= X-MS-TrafficTypeDiagnostic: DB6PR0501MB2040: 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; DB6PR0501MB2040; 20:PVIbY5HTA3j7TE34AlIsHvxxMqZo9/0eNI9eMy3dnkz7WUAo9N3buk/ZHtVVgebS5064dcOxK5UoZS2uCHN6+m8tdr1a91vJENj7+IE1Fa933X8/qFVnZD1UnkTD7zt0xz1W0+ey9GO4vSZMXgpO7njKjdBe+U7+DLnSYXXIno6aoERjUomCRI5208BeU0S/2L06M023ntD5ERg3dUuFb0/XS6S6tUVTwTgbMAU9Hq/6V6ThOe2oU75a5Hl6ZARyjEtL25MVTjPmCvOfde8BLLdpHgZ70VPFTXwNmlP3D3qX47y5vVu9AJRM0Bk9RNcXYr7588Om+Bm/RRwAKnSGxelqVqCFd+2x3NnZyoqu36B9vUWuPCiImA2P/jXZdbU+8RYhD4MxlWLTiM0bStEv+LlUoOCeWv//g/6yyDM/qpf//69rEYxRO7QtQBIRiZyRLkOM5/LuAAhUT0/GQX4RPP+QgiWTM7Y8YZ/UPHh9aU9/e0THZYuQTPVWL2UZimVj; 4:uiBaj8d+OSrtYohlVM2w+TIk/Q7bbeQMNVc/L1zg4HU+hv30iC3xZE8ZOeFOBPpMlNxJX9WgyIe7OR8X9DumEj3TRlpLvOMqf9Tz1Pgv4PJtPXVwQGGVTHeBnRqgBGPg8wTufzFagjZp9bpt4aLVZl87u0BWvYCSyICRh7tKON6GtL5+TQ+GE8bjbfdmCGLAKx59VF7BHhcXKK7D0JFDZ/UW0PzCzTHh5CvDl5xPOa295aJPftBWbnFZri3aWoqF 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)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0501MB2040; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0501MB2040; X-Forefront-PRVS: 0452022BE1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(39860400002)(199003)(24454002)(189002)(97736004)(3846002)(47776003)(66066001)(7736002)(305945005)(1076002)(33656002)(98436002)(25786009)(101416001)(54356999)(50986999)(189998001)(50466002)(5660300001)(478600001)(4326008)(23756003)(76176999)(316002)(8936002)(6246003)(9686003)(53936002)(6666003)(81156014)(81166006)(55016002)(83506001)(6916009)(2906002)(8676002)(2950100002)(2870700001)(16526018)(6116002)(58126008)(106356001)(68736007)(105586002)(6506006)(86362001)(229853002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2040; H:yongseok-MBP.local; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; DB6PR0501MB2040; 23:833vFV2+CYP0qJf1p1edc/X6igD82ywwqfvwn?= =?iso-8859-1?Q?/vCZSFJ2um777Yo1bX21WDmwnQsNvUFLdtVCTij9cysDtubPNCi0Vwn3l0?= =?iso-8859-1?Q?CSRUHCuwFVOHCN0/wnIzlh7wMbHAa4AQqMcjIeWabadOeTC2era0ZYtKie?= =?iso-8859-1?Q?LtjJI2bwfLtKZBBb9KIGalOBJhZ025kecQwE2JCHNJbBjs5tMo8T21zbBH?= =?iso-8859-1?Q?lax1SgIDSpagccWgkYkeROgl1z3BVuSgS4Ga9Dw6Pms8HEOUpWNy/4dThx?= =?iso-8859-1?Q?qT5cRHGjaLkWPwFkCPSZUK2+Z1lEa/+P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?Q?09HDqwsArAXBRuqJAGNo9zxNPxgUnDlw2AvfFOA8aapqYUqMhJscGavhpk?= =?iso-8859-1?Q?xOBtpD4gaiv2AGqrCrE?= X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2040; 6:eeyb6aHlWpAqm6RmP5BMJNnnlPuZ9OY+awy6fJlKU1mV30KStMQBa4QFK77v1uZKuNwMZ+An5bynGs8YEBFeI+YLIg/0TR/S05fTlSll0ycqp6po02bQnHTHaAqW5+yqx5Kl+vwjMKJ5hVD1RIrUAYAL1IcxvdWwzO5EB5Vi5TUFzUajx1v4ipng2q41OwMhfFFR3/i13bgLSDJhSQ1xXsUOkXy4B/oR1fK9z7wtSYM21Q8Esss9VRTSb5xiZyKULyPZ1Hj/k8K/T1ZMhg7kXgEu3T1smBuXh6n+jDuWijOLdd+mMAC1AvP/uRy281BxSEArzupANSWM9P7UxGfpTw==; 5:bjlElj/1Z9cBEthotcNVmC54CleFkc9dCeo8gMhye+YJBZCiL+z5WWDuHTCgQp+sXoPkPVuBHOUOpbQ5091lvhs0cX7ZPbdHl0Nf8SHD0ojwMhVdowSOqBNAucIH1TTvBDP+BS+Q7SxuI3zG/elBqA==; 24:AEAUmMGtBijAzAsbFfZvKlXchc5wF8zRORGavTQ2Gdqk76G4/ABDE58Nt7suQpeQhLUPFqLucKaaPNbkzsUtZNUlDMC++A4vqY0BCTUsv/k=; 7:iSAShIOQ7FhGW5bElRrIqt1YBl8/3SlazwhP0osI0t3/7TiauZVRK9a01VqiHZOlS7nasmHPVDLXbC6KyED6zHH0zBBRakQtCPsWeDaJe5L1hQhZfm5cl88VagnQ8Q2UAGDJyshb84sMrUgVajqvWH+jVt8fBH8FZyXRdTsqKl9fJC04k4/y5NBX7+R9P74muxHQfnRhXOdQ/c98IllFkH/w3AaJFb3oI2xj68oU9e4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2017 03:57:08.5804 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2040 Subject: Re: [dpdk-dev] [PATCH v2 13/30] net/mlx5: add reference counter on DPDK Rx 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: Fri, 06 Oct 2017 03:57:13 -0000 On Thu, Oct 05, 2017 at 02:49:45PM +0200, Nelio Laranjeiro wrote: > Use the same design for DPDK queue as for Verbs queue for symmetry, this > also helps in fixing some issues like the DPDK release queue API which is > not expected to fail. With such design, the queue is released when the > reference counters reaches 0. > > Signed-off-by: Nelio Laranjeiro > --- Acked-by: Yongseok Koh   Thanks