Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2013 11:35:45 +0000
From:      Alex Liptsin <alexl@mellanox.com>
To:        "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Cc:        Regev Lev <regevl@mellanox.com>
Subject:   Create bond on Infiniband ports
Message-ID:  <64DAB3164E410447932305F50F896D8D6AF65A33@MTLDAG01.mtl.com>

next in thread | raw e-mail | index | archive | help
Hi.

I use FreeBSD 9.1 with OFED compiled on it.

There is a Mellanox adapter:

[root@qa-h-vrt-030-006 ~]# pciconf -lv |grep mlx4 -A 3
mlx4_core0@pci0:0:5:0:  class=3D0x028000 card=3D0x005015b3 chip=3D0x100315b=
3 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'Mellanox Technologies'
    device     =3D 'MT27500 Family [ConnectX-3]'
    class      =3D network

I want to create Bond on the two ports (ib0 and ib1) of this device:

[root@qa-h-vrt-030-006 ~]# ifconfig
em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WO=
L_MAGIC>
        ether 00:50:56:23:1e:06
        inet6 fe80::250:56ff:fe23:1e06%em0 prefixlen 64 scopeid 0x2
        inet 10.195.30.6 netmask 0xffff0000 broadcast 10.195.255.255
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3D600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
ib0: flags=3D8043<UP,BROADCAST,RUNNING,MULTICAST> metric 0 mtu 65520
        options=3D80018<VLAN_MTU,VLAN_HWTAGGING,LINKSTATE>
        lladdr 80.0.0.48.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.51
        inet 11.195.30.1 netmask 0xffff0000 broadcast 11.195.255.255
        inet6 fe80::250:56ff:fe23:1e06%ib0 prefixlen 64 scopeid 0x4
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
ib1: flags=3D8043<UP,BROADCAST,RUNNING,MULTICAST> metric 0 mtu 65520
        options=3D80018<VLAN_MTU,VLAN_HWTAGGING,LINKSTATE>
        lladdr 80.0.0.49.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.52
        inet 12.195.30.1 netmask 0xffff0000 broadcast 12.195.255.255
        inet6 fe80::250:56ff:fe23:1e06%ib1 prefixlen 64 scopeid 0x5
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>


1.      Is there "bond" in FreeBSD or its "Lagg"?

2.     I tried to create this way, but failed:



[root@qa-h-vrt-030-006 ~]# ifconfig lagg0 create

root@qa-h-vrt-031-005 conf]# ifconfig lagg0 laggproto failover laggport ib0=
 laggport ib1

ifconfig: SIOCSLAGGPORT: Protocol not supported

            Any ideas?
Is it supported on Infiniband ports?


Regards,
Alex Liptsin





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64DAB3164E410447932305F50F896D8D6AF65A33>