From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A585FC73C64 for ; Wed, 10 Jul 2019 12:20:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 747B420861 for ; Wed, 10 Jul 2019 12:20:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="hspuyUBo" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727179AbfGJMUF (ORCPT ); Wed, 10 Jul 2019 08:20:05 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:18541 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726411AbfGJMUF (ORCPT ); Wed, 10 Jul 2019 08:20:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1562761204; x=1594297204; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=RJd+M170NMyymr0uvu5N2zRMOfJPbBOC+IfsjxL4iwQ=; b=hspuyUBoucFwm+W7WPKF7v1qq2RQE8vE61PlOKuQAAboClB8pCZ63WLY yL/lhQqMc6byxkKyVUiKInSYrYo1BO/jYavatv6FmOzUl2p4R2DWqcEnt qAgIaoHix4By2+CNdP5AuT6X2iKNAOy6cI0B6MY4SFzIpEv7lVd96BrJG 8=; X-IronPort-AV: E=Sophos;i="5.62,474,1554768000"; d="scan'208";a="774007494" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2c-397e131e.us-west-2.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 10 Jul 2019 12:20:02 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2c-397e131e.us-west-2.amazon.com (Postfix) with ESMTPS id E2230A2714; Wed, 10 Jul 2019 12:20:01 +0000 (UTC) Received: from EX13D19EUB003.ant.amazon.com (10.43.166.69) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 10 Jul 2019 12:20:01 +0000 Received: from 8c85908914bf.ant.amazon.com (10.43.161.88) by EX13D19EUB003.ant.amazon.com (10.43.166.69) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 10 Jul 2019 12:19:57 +0000 Subject: Re: [PATCH v6 rdma-next 1/6] RDMA/core: Create mmap database and cookie helper functions To: Michal Kalderon , , , CC: , , References: <20190709141735.19193-1-michal.kalderon@marvell.com> <20190709141735.19193-2-michal.kalderon@marvell.com> From: Gal Pressman Message-ID: <11697fe6-a9e1-2a3d-a239-eebfe2b6a911@amazon.com> Date: Wed, 10 Jul 2019 15:19:52 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190709141735.19193-2-michal.kalderon@marvell.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.43.161.88] X-ClientProxiedBy: EX13D07UWA001.ant.amazon.com (10.43.160.145) To EX13D19EUB003.ant.amazon.com (10.43.166.69) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 09/07/2019 17:17, Michal Kalderon wrote: > Create some common API's for adding entries to a xa_mmap. > Searching for an entry and freeing one. > > The code was copied from the efa driver almost as is, just renamed > function to be generic and not efa specific. > > Signed-off-by: Ariel Elior > Signed-off-by: Michal Kalderon Reviewed-by: Gal Pressman