From patchwork Sun Mar 8 23:36:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 5963201 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 611119F380 for ; Sun, 8 Mar 2015 23:36:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7FF0C20266 for ; Sun, 8 Mar 2015 23:36:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 77EF520263 for ; Sun, 8 Mar 2015 23:36:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752444AbbCHXgS (ORCPT ); Sun, 8 Mar 2015 19:36:18 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:37542 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751473AbbCHXgR (ORCPT ); Sun, 8 Mar 2015 19:36:17 -0400 Received: by paceu11 with SMTP id eu11so54015940pac.4 for ; Sun, 08 Mar 2015 16:36:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-transfer-encoding; bh=e0hW+l8im254cDhCzisfiZHtNw4ei8AspT6Lo2HDBm4=; b=WEb1CFv4smhtgDfnjor0kFApndmTEMdAy32koLhLyVzebJQLMut8MI7wPheNzVRe0g mRTnxlSKbncG5vH8e0lEzkFl8daxnFHpk7GwMG9WLvCmaEWDAKBgqKxvozn8T+Af4xvd WvExgpr06lvNvMvetaLuLcyar+FB11U8tUHSSWQoZZZMjrgRR3KY8RbbzEB2XbrNOA1x VRIh5dM0ZSm0xmKimIp3GKmvlyPymyqm5FBRV2Qb9nw8dANSJNjnGFlrPkrNr5fxa15y H3+I3IBM804YUJIOMswJve48O4Q0CbbxCjC/OPIfu1NW6hlMKTtWqbyboexIkyf1ByZY Spgw== X-Gm-Message-State: ALoCoQk3gEL+Z+yUbWNhOSUnK4tf6D6if+1jpjAjMcO7joTMjY2ieYOvxAfWBGf4SqE0X7zO7zID X-Received: by 10.70.46.65 with SMTP id t1mr46101538pdm.128.1425857777210; Sun, 08 Mar 2015 16:36:17 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id n10sm15983845pdp.18.2015.03.08.16.36.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Mar 2015 16:36:16 -0700 (PDT) Date: Sun, 8 Mar 2015 16:36:14 -0700 From: Stephen Hemminger To: linux-rdma@vger.kernel.org Subject: [PATCH] rdma: replace deprecated ifconfig in doc Message-ID: <20150308163614.1cb3da70@urahara> MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The ifconfig command has been deprecated for many years. To encourage new users not to continue using it and learning iproute2; the ifconfig should not be used in examples. Signed-off-by: Stephen Hemminger --- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/Documentation/filesystems/nfs/nfs-rdma.txt 2014-09-28 16:27:20.393505440 -0700 +++ b/Documentation/filesystems/nfs/nfs-rdma.txt 2015-03-08 16:33:21.483985810 -0700 @@ -187,8 +187,10 @@ Check RDMA and NFS Setup To further test the InfiniBand software stack, use IPoIB (this assumes you have two IB hosts named host1 and host2): - host1$ ifconfig ib0 a.b.c.x - host2$ ifconfig ib0 a.b.c.y + host1$ ip link set dev ib0 up + host1$ ip address add dev ib0 a.b.c.x + host2$ ip link set dev ib0 up + host2$ ip address add dev ib0 a.b.c.y host1$ ping a.b.c.y host2$ ping a.b.c.x @@ -229,7 +231,8 @@ NFS/RDMA Setup $ modprobe ib_mthca $ modprobe ib_ipoib - $ ifconfig ib0 a.b.c.d + $ ip li set dev ib0 up + $ ip addr add dev ib0 a.b.c.d NOTE: use unique addresses for the client and server