diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2015-03-08 19:36:14 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-04-15 16:06:39 -0400 |
commit | b962dc0a480559c4c85911686bbb32a515b3d5c8 (patch) | |
tree | 9a05192fa787bd0be8e2a9c8d991ba17ec8f234b | |
parent | a233c4b54c882817ae9dd73384d5dd75d3e57498 (diff) |
rdma: replace deprecated ifconfig in doc
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 <stephen@networkplumber.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | Documentation/filesystems/nfs/nfs-rdma.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/filesystems/nfs/nfs-rdma.txt b/Documentation/filesystems/nfs/nfs-rdma.txt index 724043858b08..95c13aa575ff 100644 --- a/Documentation/filesystems/nfs/nfs-rdma.txt +++ b/Documentation/filesystems/nfs/nfs-rdma.txt | |||
@@ -187,8 +187,10 @@ Check RDMA and NFS Setup | |||
187 | To further test the InfiniBand software stack, use IPoIB (this | 187 | To further test the InfiniBand software stack, use IPoIB (this |
188 | assumes you have two IB hosts named host1 and host2): | 188 | assumes you have two IB hosts named host1 and host2): |
189 | 189 | ||
190 | host1$ ifconfig ib0 a.b.c.x | 190 | host1$ ip link set dev ib0 up |
191 | host2$ ifconfig ib0 a.b.c.y | 191 | host1$ ip address add dev ib0 a.b.c.x |
192 | host2$ ip link set dev ib0 up | ||
193 | host2$ ip address add dev ib0 a.b.c.y | ||
192 | host1$ ping a.b.c.y | 194 | host1$ ping a.b.c.y |
193 | host2$ ping a.b.c.x | 195 | host2$ ping a.b.c.x |
194 | 196 | ||
@@ -229,7 +231,8 @@ NFS/RDMA Setup | |||
229 | 231 | ||
230 | $ modprobe ib_mthca | 232 | $ modprobe ib_mthca |
231 | $ modprobe ib_ipoib | 233 | $ modprobe ib_ipoib |
232 | $ ifconfig ib0 a.b.c.d | 234 | $ ip li set dev ib0 up |
235 | $ ip addr add dev ib0 a.b.c.d | ||
233 | 236 | ||
234 | NOTE: use unique addresses for the client and server | 237 | NOTE: use unique addresses for the client and server |
235 | 238 | ||