From patchwork Tue Feb 26 09:18:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 10829741 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 642B1180E for ; Tue, 26 Feb 2019 09:19:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5055D2AD82 for ; Tue, 26 Feb 2019 09:19:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 410522AD91; Tue, 26 Feb 2019 09:19:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C56B92AD82 for ; Tue, 26 Feb 2019 09:19:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726223AbfBZJTV (ORCPT ); Tue, 26 Feb 2019 04:19:21 -0500 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:49445 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725941AbfBZJTU (ORCPT ); Tue, 26 Feb 2019 04:19:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1551172759; x=1582708759; h=from:to:cc:subject:date:message-id:mime-version; bh=09ieDS70qYIjk/T9tKqSvR8cPQ/2IdgP79TvS8MzKVI=; b=EeC+1AGPoijeIJZ82EzbiyWmE1yU6nFJZkvRPb1V3EjV5M7DFQ85+9gP ULj8UDHIPEzGJxe7OybPxcIdlm0NBb64teeP1SGFT2iJcK3pPZvgiwZVM juv0b4agoNItnt4wQOdRnMgzpq8N4QmymZPpZ3N5ACR9w10wUbkM7rR6W Y=; X-IronPort-AV: E=Sophos;i="5.58,415,1544486400"; d="scan'208";a="661791947" Received: from sea3-co-svc-lb6-vlan3.sea.amazon.com (HELO email-inbound-relay-1e-27fb8269.us-east-1.amazon.com) ([10.47.22.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 26 Feb 2019 09:19:16 +0000 Received: from EX13MTAUWC001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1e-27fb8269.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id x1Q9J8he084322 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 26 Feb 2019 09:19:12 GMT Received: from EX13D19UWC004.ant.amazon.com (10.43.162.56) by EX13MTAUWC001.ant.amazon.com (10.43.162.135) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 26 Feb 2019 09:19:12 +0000 Received: from EX13MTAUEA001.ant.amazon.com (10.43.61.82) by EX13D19UWC004.ant.amazon.com (10.43.162.56) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 26 Feb 2019 09:19:11 +0000 Received: from galpress-VirtualBox.hfa16.amazon.com (10.218.62.29) by mail-relay.amazon.com (10.43.61.243) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 26 Feb 2019 09:19:08 +0000 From: Gal Pressman To: Jason Gunthorpe , Doug Ledford CC: Yossi Leybovich , Alexander Matushevsky , Leah Shalev , Dave Goodell , Brian Barrett , , Sean Hefty , "Dennis Dalessandro" , Leon Romanovsky , Christoph Hellwig , Parav Pandit , Sagi Grimberg , Gal Pressman Subject: [PATCH rdma-core 0/3] efa: Elastic Fabric Adapter (EFA) userspace RDMA provider Date: Tue, 26 Feb 2019 11:18:56 +0200 Message-ID: <1551172739-399-1-git-send-email-galpress@amazon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hello all, This patchset introduces the userspace RDMA provider for Elastic Fabric Adapter (EFA) devices. More information regarding EFA can be found in our kernel driver submission which is currently under review on list: https://patchwork.kernel.org/cover/10824195/ PR was sent: https://github.com/linux-rdma/rdma-core/pull/475 Thanks, Gal Gal Pressman (3): efa: Elastic Fabric Adapter (EFA) userspace RDMA provider efa: Elastic Fabric Adapter (EFA) direct verbs efa: Elastic Fabric Adapter (EFA) direct verbs man pages CMakeLists.txt | 2 + MAINTAINERS | 5 + README.md | 1 + debian/control | 9 +- debian/copyright | 4 + debian/ibverbs-providers.install | 1 + debian/ibverbs-providers.lintian-overrides | 4 +- debian/ibverbs-providers.symbols | 4 + debian/libibverbs-dev.install | 6 + kernel-headers/CMakeLists.txt | 2 + kernel-headers/rdma/efa-abi.h | 129 ++++ kernel-headers/rdma/rdma_user_ioctl_cmds.h | 1 + libibverbs/verbs.h | 1 + providers/efa/CMakeLists.txt | 11 + providers/efa/efa-abi.h | 56 ++ providers/efa/efa.c | 155 ++++ providers/efa/efa.h | 200 +++++ providers/efa/efa_io_defs.h | 679 ++++++++++++++++ providers/efa/efadv.h | 59 ++ providers/efa/libefa.map | 7 + providers/efa/man/CMakeLists.txt | 4 + providers/efa/man/efadv.7 | 29 + providers/efa/man/efadv_create_driver_qp.3 | 38 + providers/efa/verbs.c | 1153 ++++++++++++++++++++++++++++ providers/efa/verbs.h | 72 ++ redhat/rdma-core.spec | 6 + suse/rdma-core.spec | 22 + 27 files changed, 2655 insertions(+), 5 deletions(-) create mode 100644 kernel-headers/rdma/efa-abi.h create mode 100644 providers/efa/CMakeLists.txt create mode 100644 providers/efa/efa-abi.h create mode 100644 providers/efa/efa.c create mode 100644 providers/efa/efa.h create mode 100644 providers/efa/efa_io_defs.h create mode 100644 providers/efa/efadv.h create mode 100644 providers/efa/libefa.map create mode 100644 providers/efa/man/CMakeLists.txt create mode 100644 providers/efa/man/efadv.7 create mode 100644 providers/efa/man/efadv_create_driver_qp.3 create mode 100644 providers/efa/verbs.c create mode 100644 providers/efa/verbs.h