From patchwork Thu Jul 29 16:25:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tucker X-Patchwork-Id: 115244 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6TGP089008708 for ; Thu, 29 Jul 2010 16:25:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754642Ab0G2QZF (ORCPT ); Thu, 29 Jul 2010 12:25:05 -0400 Received: from smtp.opengridcomputing.com ([209.198.142.2]:53034 "EHLO smtp.opengridcomputing.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754609Ab0G2QZE (ORCPT ); Thu, 29 Jul 2010 12:25:04 -0400 Received: from build.ogc.int (build.ogc.int [10.10.0.2]) by smtp.opengridcomputing.com (Postfix) with ESMTP id 527BD7C792; Thu, 29 Jul 2010 11:25:04 -0500 (CDT) From: Tom Tucker Subject: [RFC PATCH 1/4] ibverbs: Add new provider verb for I/O memory registration To: rdreier@cisco.com Cc: linux-rdma@vger.kernel.org, brandt@sandia.gov, tom@ogc.us, swise@ogc.us Date: Thu, 29 Jul 2010 11:25:04 -0500 Message-ID: <20100729162503.14674.10435.stgit@build.ogc.int> In-Reply-To: <20100729162339.14674.15788.stgit@build.ogc.int> References: <20100729162339.14674.15788.stgit@build.ogc.int> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 29 Jul 2010 16:25:06 +0000 (UTC) diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index f3e8f3c..5034ac9 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -1096,6 +1096,11 @@ struct ib_device { u64 virt_addr, int mr_access_flags, struct ib_udata *udata); + struct ib_mr * (*reg_io_mr)(struct ib_pd *pd, + u64 start, u64 length, + u64 virt_addr, + int mr_access_flags, + struct ib_udata *udata); int (*query_mr)(struct ib_mr *mr, struct ib_mr_attr *mr_attr); int (*dereg_mr)(struct ib_mr *mr);