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 4F9A4A046B; Thu, 9 Jan 2020 17:22:50 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8E8AD1E488; Thu, 9 Jan 2020 17:22:49 +0100 (CET) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30058.outbound.protection.outlook.com [40.107.3.58]) by dpdk.org (Postfix) with ESMTP id 969211DDDE for ; Thu, 9 Jan 2020 17:22:48 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fHYwyu23Bv7XJP5EVqtnpP6SHLxsE8favgp4C9rlit0GkG9gAieBOX98thDj0DKzHYYXOHyPcG3nUpIr2Ffug+PgEzFbN8LDnDnHNVJ7aezeY8iPRd+lKbW6lNueSTYyULaqF2Zl2nVEsDpGrHsw0cLv57YWDp0A/ReXYevF9xEGUZ5jqWf7vYJZA3nN55oe/EBo1HvxNTCXPIyYzTPJfYD5l6oNmn4+ziRUSOQbTKakYkWPTqvb+jjtBZus8O/kFhM9l8zaE8V9H3gaae7ChMQrmSUpxOnZ0Bh1kwljnn8DYl0ZJWULh7EMvn2p5dd/MZH+LrykgtDnBOM+GzrzRw== 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=xsmwU40UfDp8YmgC22R6z267RwS9qb8UVtVUx5j6b0M=; b=N4qNwVRa94Dxh3yhj1L0lN97Gpow2uAHYiF2+gAhOzfN+3sFplgeIik90cKDNea/p98TanI5tobbX3JH8g1LRstDEEs5HhGzuuFqJn5PVKhBCKssiJdu4+B7jndc+ekEVLX09McL4dPHpdjon6nyUCN1W3L2d6WUiqWTcuEqQG0tC39R7Rc7EfbCnmo7C+Gi8VwvxVPg1+EdREPdOwqCzX3033NJ32yH+AfCiiVxiQSLi6XGPS041cdSb0CE2qsm0rExiyAQ3oYjHGViqWn6jbgYIz9fRdgXUZ2KvK24tfZmHILk3j7GUfsJoN/F23r0D8DTqZ/MoWVK5ZOsGBSq3A== 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=xsmwU40UfDp8YmgC22R6z267RwS9qb8UVtVUx5j6b0M=; b=O5pxnbdK0L0L+MgnVKLkjNLv4g3E1Sn5u5g9Z/qSoFyX0QU8ol6KVOB6iT4aZPA/PEkSaGMMBHPVSAWjMPy8f/8HJrMJeyTv0UmDeY3jOVPb0i6nHxY+AKVUmDpqlzRk/uTrtw38LOJYO8We3BPIYL7tEgawIvGr2ok5xLo2n7M= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (10.171.188.154) by AM4PR05MB3266.eurprd05.prod.outlook.com (10.171.190.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Thu, 9 Jan 2020 16:22:47 +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.010; Thu, 9 Jan 2020 16:22:47 +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: AQHVxtuEBKQevEEzgk6qMuFtgoO8n6ficmyAgAABqCCAAAVjgIAAAF4A Date: Thu, 9 Jan 2020 16:22:47 +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: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 377c17ae-9601-4069-8d12-08d7952029fd x-ms-traffictypediagnostic: AM4PR05MB3266:|AM4PR05MB3266: 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: 02778BF158 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(189003)(199004)(13464003)(33656002)(54906003)(110136005)(8936002)(7696005)(86362001)(26005)(71200400001)(52536014)(186003)(5660300002)(2906002)(6506007)(53546011)(9686003)(66946007)(66446008)(66476007)(76116006)(64756008)(66556008)(81156014)(81166006)(4326008)(8676002)(55016002)(498600001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3266; H:AM4PR05MB3265.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: aAJf0ngpvouRzueudS6HE97V/2dP96w9A/G4Dyh9cGy76lQcf8m5eOhlNeyEYKFW9Nd+V0qc7DCDbIBOoja6lLLkWnx/fB/6Z8lT6qi1fCt+QAECxAoT9YljGwtLD1sAtC6s4XvQjSkj7TYpbSOgl8o5of44UN1sCmj63Ih/5NQF2RHkQ274AZ7iTOHkYwIMtp3ynLEQ7ZamXxPMmnv/fi/DTwg1SfgAKuXKJAeWa+nqGWXPdnILfQUZAl+hv/CxqjEBAAJn/5H1IRBa7u7Ch1mWC0o97ygtHZVpVCdQwabDsJ14a5N0GJGLS60HGHrUfMxiwOBSeIFL9pNWrPhDvXvNRxn/TS3NBP16I78pbEjU8KkSGPe6b4skkkqbgU9j0ZZk5rVj3TO7BVWNoGYuLb1L6ruvtErl//kzR0qxOn0z4DfILqdqSt7gdVrvOWrj/rGQtYNZfpslRutIoXfIIcLPME108yUbgeBavQLCwUCrwgK+zq9Jsz28AJwBRVyi 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: 377c17ae-9601-4069-8d12-08d7952029fd X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2020 16:22:47.1559 (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: XLyqJdRu/wAlWLok1tEJjFzRbbImz3e6MYg5W7FsmFy9eFtRM/lLVngheQr1yiheAYhKQKos3YNqYOh4eCOVUz1rlegE7ktXxLmKupXY7IM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3266 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 aC55aWdpdEBpbnR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