Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Stephen Hemminger and committed by
Doug Ledford
b962dc0a a233c4b5

+6 -3
+6 -3
Documentation/filesystems/nfs/nfs-rdma.txt
··· 187 187 To further test the InfiniBand software stack, use IPoIB (this 188 188 assumes you have two IB hosts named host1 and host2): 189 189 190 - host1$ ifconfig ib0 a.b.c.x 191 - host2$ ifconfig ib0 a.b.c.y 190 + host1$ ip link set dev ib0 up 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 194 host1$ ping a.b.c.y 193 195 host2$ ping a.b.c.x 194 196 ··· 231 229 232 230 $ modprobe ib_mthca 233 231 $ modprobe ib_ipoib 234 - $ ifconfig ib0 a.b.c.d 232 + $ ip li set dev ib0 up 233 + $ ip addr add dev ib0 a.b.c.d 235 234 236 235 NOTE: use unique addresses for the client and server 237 236