From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 03CA5A051A; Fri, 17 Jan 2020 11:44:28 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C91261D426; Fri, 17 Jan 2020 11:44:27 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150075.outbound.protection.outlook.com [40.107.15.75]) by dpdk.org (Postfix) with ESMTP id 5043E1D3F0 for ; Fri, 17 Jan 2020 11:44:26 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ee5km5jQgW7CWQW5OBUX/WV/LN45p/RSDudC8t+mlrVobRCWv18h7fz1uVbXrOVsWhkGu586pmgFL3KdGlwh4afHDXZooi0WsZ10Oi7VwnU0lOar+NdG3L4TldgNaQEDyNO6CANzSnevbYYwDUZaQpDDWlMSalMyFO1Zp+i30MptJQAwUrX3iciXhTL5/rTk3RCUBA3/ZvRjJIjD1H4ZplXKzurH570ZI+kHej3H7vVqe/ga/vb7UInkjaFxdMujworZTI8gLjdQY6yOin8tpiEHWnj1t2zzeadwyZ3e7hFK/Klwv1sURxiin2jnR6AYC6P0Pf+moNcVeqjG2BeERQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Qz0k8G1btoXMPKl6Ohk5iqFit95arJa6rVRdC+fj5yA=; b=CvPZYjAqu9I6UinP6afAK1iFHjwxodZv67NUyPUfZ7n6nhAdz57m33B9qXe/0AfhkJp4aj+znlXmxcIQzMhWbh3TannKh9FFBFY+QE1SSm40/7/4RI46AfB0WR5tfi2mSuJXg8tUXNV32GJpHmV5/+U25rdy6FGCJsVF9YdlwMyUSNna7iheNKMotkKz0aTKluvYtT+VoBmhknr3VtNYofUJxrUR98PEqprA76rszkZpt6Gwv+FHc4TB/NRX2qxzRww2nfx3cpc2kZsGTWCabBnyrjM9dw9kOZKXM8FLYXV0H5ZL0WnGJGGSvteH2RJlPQCHU4F86lH+ItT7P6g2MA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none 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:X-MS-Exchange-SenderADCheck; bh=Qz0k8G1btoXMPKl6Ohk5iqFit95arJa6rVRdC+fj5yA=; b=jhuKxTDnRyAQnScVwhC0U8kS02C8+nggIy+P4gf4XGP1m+5Eel8Qe+3MblBsZkxlin6czYp7dAqrdINxxjzKN0POlQn2E7X6RhzqpZ3Yo+uhAJWrKT+9epxGLMQ2Fz/FoOF1oRfSChI1R5zWb5ABOQ2nNNnXq1cGghrNnLmM10s= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (10.171.188.154) by AM4PR05MB3425.eurprd05.prod.outlook.com (10.171.190.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.13; Fri, 17 Jan 2020 10:44:24 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::68eb:ad79:71f4:110f]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::68eb:ad79:71f4:110f%3]) with mapi id 15.20.2623.018; Fri, 17 Jan 2020 10:44:24 +0000 From: Slava Ovsiienko To: Ferruh Yigit , "dev@dpdk.org" CC: Matan Azrad , Raslan Darawsheh , Ori Kam , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v2 4/4] net/mlx5: engage free on completion queue Thread-Index: AQHVxtuEBKQevEEzgk6qMuFtgoO8n6ficmyAgAABqCCAAAVjgIAMPCvQ Date: Fri, 17 Jan 2020 10:44:24 +0000 Message-ID: References: <1578500161-20156-1-git-send-email-viacheslavo@mellanox.com> <1578567380-26994-1-git-send-email-viacheslavo@mellanox.com> <1578567380-26994-5-git-send-email-viacheslavo@mellanox.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=viacheslavo@mellanox.com; x-originating-ip: [77.75.144.194] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: ed9c3992-3f65-4521-c456-08d79b3a37ea x-ms-traffictypediagnostic: AM4PR05MB3425:|AM4PR05MB3425: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0285201563 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(199004)(189003)(26005)(66446008)(8936002)(66946007)(2906002)(33656002)(86362001)(110136005)(54906003)(66556008)(64756008)(76116006)(9686003)(8676002)(6506007)(71200400001)(81166006)(53546011)(498600001)(55016002)(81156014)(4326008)(5660300002)(7696005)(186003)(66476007)(52536014); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3425; H:AM4PR05MB3265.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zT6c4QL/Rl+TO6kvnnHW2trZXe4jtFdYK1CKcRsa2EVCGFV62/wVf1gvES0menezJ82n3fLHg19DCyP+EkhrbraDTygac4j6OqLsgHtLFagyznJ8XBl1LWzmjWMSnvylX8W2+Xp7kkQ4xuSJ2iLY+zOBKp3fFofeWGEeDK4eE5fGLbQwsMoAS/KXCuz71t6MTGf+syDeNYLCmWY0Jxwzl+DU9kA2MKrIc8xTNdUd9SPnTs0s82Y7Sj+JuEX1gEpX7ZVxnF2UcSlOPyYP7lbP5byt4W7sYeQOie6Ark9JNHfzlSzjw+A7I9sJhIVX4Qx+EzESB3dzgNppnPE04EemBf47oiuQHV1bP6MhxIuvnaJM8EzOurtWELuKeBaULKLulnBc7J90ytkrSFkL/1NNdXoSx4L2FzDZrvXa2KkDPdVe16K4nZbg0P9jjuEMHZ5q Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed9c3992-3f65-4521-c456-08d79b3a37ea X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jan 2020 10:44:24.3426 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZxTx4BtNLm6Ha17BoIX9v/Nv/1CMWzJFVgzgpTc0TAth0KxNtAYiZqg92kUEG40T+PfWpQUw/1nEsSnnQRwugfZGmo/MlIHl2zYGrJMXuEo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3425 Subject: Re: [dpdk-dev] [PATCH v2 4/4] net/mlx5: engage free on completion 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBGZXJydWggWWlnaXQgPGZlcnJ1 aC55aWdpdEBpbnRlbC5jb20+DQo+IFNlbnQ6IFRodXJzZGF5LCBKYW51YXJ5IDksIDIwMjAgMTc6 NDQNCj4gVG86IFNsY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