From patchwork Sun Jan 13 14:01:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 1024086 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="w4JA48m2"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43cyv91kBdz9s55 for ; Mon, 14 Jan 2019 01:01:25 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726600AbfAMOBX (ORCPT ); Sun, 13 Jan 2019 09:01:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:41740 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726510AbfAMOBX (ORCPT ); Sun, 13 Jan 2019 09:01:23 -0500 Received: from localhost (unknown [193.47.165.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 02417206B7; Sun, 13 Jan 2019 14:01:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547388082; bh=lMY3AaxrBw6MshKbG2bR40UOqoRXdHOHOOnfLk2YOxY=; h=From:To:Cc:Subject:Date:From; b=w4JA48m2XOsdmKd1Bnd4yBpQN5QnTFep5EaXnXmD4TGrRR6Dwy08xbac0EqbL44dM XL/2WZO1thFB8z8g0RptMjgnYc+8INwWiYETXLYQobi742HNXr8EmZPH3XFTild+fq M+/6r2N1Hq5X8j/l6TxdAPUSmKDtV+2Al+Z0NjkQ= From: Leon Romanovsky To: Doug Ledford , Jason Gunthorpe Cc: Leon Romanovsky , RDMA mailing list , Artemy Kovalyov , Yishai Hadas , Saeed Mahameed , linux-netdev Subject: [PATCH rdma-next 0/3] Indirect MKEY over DEVX Date: Sun, 13 Jan 2019 16:01:15 +0200 Message-Id: <20190113140118.10204-1-leon@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Leon Romanovsky Hi, From Yishai, ----------------------------------------------------------------------- This series enables using indirect mkey over DEVX. The first patch recognizes the creation of an indirect mkey as part of DEVX object creation, in that case the umem valid bit shouldn't be set as this mkey doesn't really hold a umem. The next two patches manage indirection mkey upon DEVX flow to support ODP. To support a page fault event on an indirection mkey it needs to be part of the device mkey radix tree. Both the creation and the deletion flows for a DEVX object which is indirection mkey were adapted to handle that. In addition, the page fault flow was adapted to support indirect mkey type, it's handled in a similar flow as of the memory window mkey type. Yishai Yishai Hadas (3): IB/mlx5: DEVX handling for indirection MKEY IB/mlx5: Manage indirection mkey upon DEVX flow for ODP IB/mlx5: Add support for ODP for DEVX indirection mkey drivers/infiniband/hw/mlx5/devx.c | 125 ++++++++++++++++++++++++++- drivers/infiniband/hw/mlx5/main.c | 1 + drivers/infiniband/hw/mlx5/mlx5_ib.h | 6 ++ drivers/infiniband/hw/mlx5/odp.c | 26 ++++-- include/linux/mlx5/driver.h | 1 + 5 files changed, 152 insertions(+), 7 deletions(-) --- 2.19.1