From patchwork Wed Nov 28 15:16:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Wise X-Patchwork-Id: 1004623 X-Patchwork-Delegate: dsahern@gmail.com 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=none (p=none dis=none) header.from=opengridcomputing.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 434mJs6KCfz9s2P for ; Thu, 29 Nov 2018 03:27:25 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729067AbeK2D3g (ORCPT ); Wed, 28 Nov 2018 22:29:36 -0500 Received: from opengridcomputing.com ([72.48.214.68]:32824 "EHLO smtp.opengridcomputing.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728914AbeK2D3g (ORCPT ); Wed, 28 Nov 2018 22:29:36 -0500 Received: by smtp.opengridcomputing.com (Postfix, from userid 503) id 535AD227A0; Wed, 28 Nov 2018 10:27:23 -0600 (CST) Message-Id: In-Reply-To: References: From: Steve Wise Date: Wed, 28 Nov 2018 07:16:38 -0800 Subject: [PATCH RFC iproute2-next 2/2] rdma: man page update for link add/delete To: dsahern@gmail.com, leon@kernel.org Cc: stephen@networkplumber.org, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, leon@kernel.org, BMT@zurich.ibm.com Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Update the 'rdma link' man page with 'link add/delete' info. Signed-off-by: Steve Wise --- man/man8/rdma-link.8 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/man/man8/rdma-link.8 b/man/man8/rdma-link.8 index 97dd8bb994d2..b994c326dc34 100644 --- a/man/man8/rdma-link.8 +++ b/man/man8/rdma-link.8 @@ -23,6 +23,20 @@ rdma-link \- rdma link configuration .RI "[ " DEV/PORT_INDEX " ]" .ti -8 +.B rdma link add +.BR NAME +.BR type +.BR TYPE +.BR dev +.BR NETDEV + +.ti -8 +.B rdma link delete +.RI NAME +.BR type +.BR TYPE + +.ti -8 .B rdma link help .SH "DESCRIPTION" @@ -33,6 +47,33 @@ rdma-link \- rdma link configuration - specifies the RDMA link to show. If this argument is omitted all links are listed. +.SS rdma link add NAME type TYPE dev NETDEV - add an rdma link for the specified type to the network device +.sp +.BR NAME +- specifies the new name of the rdma link to add + +.BR TYPE +- specifies which rdma type to use. Link types: +.sp +.in +8 +.B rxe +- Soft RoCE driver +.sp +.B siw +- Soft iWARP driver +.in -8 + +.BR NETDEV +- specifies the network device to which the link is bound + +.SS rdma link delete NAME type TYPE - delete an rdma link for the specified type +.PP +.BR NAME +- specifies the name of the rdma link to delete +.PP +.BR TYPE +- specifies which rdma type to use + .SH "EXAMPLES" .PP rdma link show @@ -45,6 +86,16 @@ rdma link show mlx5_2/1 Shows the state of specified rdma link. .RE .PP +rdma link add siw_eth0 type rxe dev eth0 +.RS 4 +Adds a RXE link named siw_eth0 to network device eth0 +.RE +.PP +rdma link del siw_eth0 type rxe +.RS 4 +Removes RXE link siw_eth0 +.RE +.PP .SH SEE ALSO .BR rdma (8),