diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2020-10-22 09:47:12 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2020-10-22 09:47:12 +0000 |
commit | a92c4bb62ad107d867863f04937f65f23bce0837 (patch) | |
tree | 0a6b9d9a76269b2e60f01f2fbf93bdf7eddaa46c /share | |
parent | 18b8496c23fa9e88c3ac6d6e477896683c4f3847 (diff) | |
download | src-test-a92c4bb62ad107d867863f04937f65f23bce0837.tar.gz src-test-a92c4bb62ad107d867863f04937f65f23bce0837.zip |
Add support for IP over infiniband, IPoIB, to lagg(4). Currently only
the failover protocol is supported due to limitations in the IPoIB
architecture. Refer to the lagg(4) manual page for how to configure
and use this new feature. A new network interface type,
IFT_INFINIBANDLAG, has been added, similar to the existing
IFT_IEEE8023ADLAG .
ifconfig(8) has been updated to accept a new laggtype argument when
creating lagg(4) network interfaces. This new argument is used to
distinguish between ethernet and infiniband type of lagg(4) network
interface. The laggtype argument is optional and defaults to
ethernet. The lagg(4) command line syntax is backwards compatible.
Differential Revision: https://reviews.freebsd.org/D26254
Reviewed by: melifaro@
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
Notes
Notes:
svn path=/head/; revision=366933
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/lagg.4 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man4/lagg.4 b/share/man/man4/lagg.4 index 9345935519052..f7d8e1c5e1f59 100644 --- a/share/man/man4/lagg.4 +++ b/share/man/man4/lagg.4 @@ -16,7 +16,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 18, 2017 +.Dd October 21, 2020 .Dt LAGG 4 .Os .Sh NAME @@ -192,6 +192,15 @@ device will be used: .Pp (Note the mac address of the wireless device is forced to match the wired device as a workaround.) +.Pp +The following example shows how to create an infiniband failover interface. +.Bd -literal -offset indent +# ifconfig ib0 up +# ifconfig ib1 up +# ifconfig lagg0 create laggtype infiniband +# ifconfig lagg0 laggproto failover laggport ib0 laggport ib1 \e + 1.1.1.1 netmask 255.255.255.0 +.Ed .Sh SEE ALSO .Xr ng_one2many 4 , .Xr ifconfig 8 , |