From patchwork Tue Sep 25 17:30:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Wise X-Patchwork-Id: 10614657 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 EAD64157B for ; Tue, 25 Sep 2018 17:41:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA4092AAE3 for ; Tue, 25 Sep 2018 17:41:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD8F92AAEE; Tue, 25 Sep 2018 17:41: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=-6.4 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,SUBJ_ALL_CAPS 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 BE84B2AAE3 for ; Tue, 25 Sep 2018 17:41:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726321AbeIYXty (ORCPT ); Tue, 25 Sep 2018 19:49:54 -0400 Received: from 72-48-214-68.dyn.grandenetworks.net ([72.48.214.68]:57524 "EHLO smtp.opengridcomputing.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbeIYXty (ORCPT ); Tue, 25 Sep 2018 19:49:54 -0400 Received: by smtp.opengridcomputing.com (Postfix, from userid 503) id 0D13922786; Tue, 25 Sep 2018 12:41:20 -0500 (CDT) Message-Id: From: Steve Wise Date: Tue, 25 Sep 2018 10:30:47 -0700 Subject: [RFC WIP 0/2] *** SUBJECT HERE *** To: linux-rdma@vger.kernel.org Cc: leon@kernel.org, jgg@ziepe.ca, BMT@zurich.ibm.com 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 This series is work in progress to enable creating soft rdma links dynamically using netlink messages. The user 'rdma' command will be enhanced to send these new messages. The user tool changes can be seen here: https://github.com/larrystevenwise/iproute2/commit/d75663559f0ca2b9466ce6913a02fddc033dae76 https://github.com/larrystevenwise/iproute2/commit/e62dc775cd09390b7d6d50d5238ef76ad37b8567 Note there is at least one outstanding issue: the rdma-core requires RXE links to be named "rxe*" or it fails to associate an rxe uverbs driver with the rxe provider. This is TBD... Also, this series should be rebased on top of Jason's device rename series once it is merged. See: https://www.spinics.net/lists/linux-rdma/msg69298.html Please comment! Thanks, Steve. Steve Wise (2): RDMA/Core: add RDMA_NLDEV_CMD_NEWLINK/DELLLINK support rdma_rxe: use netlink messages to add/delete links drivers/infiniband/core/nldev.c | 113 ++++++++++++++++++++++++++++++++++ drivers/infiniband/sw/rxe/rxe.c | 61 ++++++++++++++++++ drivers/infiniband/sw/rxe/rxe_net.c | 3 +- drivers/infiniband/sw/rxe/rxe_net.h | 2 +- drivers/infiniband/sw/rxe/rxe_sysfs.c | 6 +- drivers/infiniband/sw/rxe/rxe_verbs.c | 1 - include/rdma/rdma_netlink.h | 11 ++++ include/uapi/rdma/rdma_netlink.h | 9 +++ 8 files changed, 200 insertions(+), 6 deletions(-)