From owner-freebsd-net@FreeBSD.ORG Thu May 23 08:34:02 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5C3BA3EA for ; Thu, 23 May 2013 08:34:02 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from eu1sys200aog116.obsmtp.com (eu1sys200aog116.obsmtp.com [207.126.144.141]) by mx1.freebsd.org (Postfix) with ESMTP id 55FA4D12 for ; Thu, 23 May 2013 08:33:50 +0000 (UTC) Received: from MTLCAS02.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob116.postini.com ([207.126.147.11]) with SMTP ID DSNKUZ3UbV3Lq8VX3fOrqNeEH0wTKQc4ACpp@postini.com; Thu, 23 May 2013 08:33:50 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS02.mtl.com ([10.0.8.72]) with mapi id 14.03.0123.003; Thu, 23 May 2013 11:32:16 +0300 From: Alex Liptsin To: "freebsd-net@freebsd.org" Subject: Create pkey on FreeBSD 9.1 Thread-Topic: Create pkey on FreeBSD 9.1 Thread-Index: Ac5Xj0ChbAPWD1OURoemsmYlNeqHFQ== Date: Thu, 23 May 2013 08:32:16 +0000 Message-ID: <64DAB3164E410447932305F50F896D8D6AF63DB3@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-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 08:34:02 -0000 Hello. I have FreeBSD 9.1 installed. There is mellanox adapter inside. OFED support is already installed. 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