From owner-freebsd-infiniband@FreeBSD.ORG Tue May 28 12:13:46 2013 Return-Path: Delivered-To: freebsd-infiniband@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 31D121B9 for ; Tue, 28 May 2013 12:13:46 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from eu1sys200aog102.obsmtp.com (eu1sys200aog102.obsmtp.com [207.126.144.113]) by mx1.freebsd.org (Postfix) with ESMTP id A6D103A4 for ; Tue, 28 May 2013 12:13:44 +0000 (UTC) Received: from MTLCAS01.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob102.postini.com ([207.126.147.11]) with SMTP ID DSNKUaSfaihau6xP4cPioWjZBmKtT2kRdhKC@postini.com; Tue, 28 May 2013 12:13:44 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS01.mtl.com ([10.0.8.71]) with mapi id 14.03.0123.003; Tue, 28 May 2013 15:10:59 +0300 From: Alex Liptsin To: "freebsd-infiniband@freebsd.org" Subject: How can I create 'pkey' on mellanox IB port? Thread-Topic: How can I create 'pkey' on mellanox IB port? Thread-Index: Ac5bnGmt1FujSxuQTFy5OFl7a4bgoQ== Date: Tue, 28 May 2013 12:10:59 +0000 Message-ID: <64DAB3164E410447932305F50F896D8D6AF65A9A@MTLDAG01.mtl.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-infiniband@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Infiniband on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 12:13:46 -0000 Hello. I have FreeBSD 9.1 installed. There is mellanox adapter inside. [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 OFED support is already compiled. I try to add pkeys on ib0 port. Usually in Linux I did: echo 0x800c > /sys/class/net/ib0/create_child ifconfig -a To Make sure you see a new interface: ib0.800c How can I do it on FreeBSD? There is no "/sys/class/net/ib0/create_child" d= irectory. Regards, Alex Liptsin