How can I create 'pkey' on mellanox IB port?

Alex Liptsin alexl at
Tue May 28 12:13:46 UTC 2013


I have FreeBSD 9.1 installed.
There is mellanox adapter inside.

[root at qa-h-vrt-030-006 ~]# pciconf -lv |grep mlx4 -A 3
mlx4_core0 at pci0:0:5:0:  class=0x028000 card=0x005015b3 chip=0x100315b3 rev=0x00 hdr=0x00
    vendor     = 'Mellanox Technologies'
    device     = 'MT27500 Family [ConnectX-3]'
    class      = 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" directory.

Alex Liptsin

More information about the freebsd-infiniband mailing list