[OpenIndiana-discuss] persistent infiniband MTU setting

Johan Guldmyr johan.guldmyr at csc.fi
Mon Feb 20 11:42:58 UTC 2012


Hello!

This is with oi_151a2 on a HP DL360 G7 with a "592520-B21   HP IB 4X QDR 
CX-2 PCI-e G2 Dual Port HCA".
I'm trying to set the MTU to the same on this host as it is on the 
existing nodes on the IB network.

Setting it with ifconfig goes through, but "dladm show-linkprop -p mtu" 
still says it's 65520.

How to make the MTU setting persistent? If it's only set with ifconfig 
is it actually using the specified MTU?

http://docs.oracle.com/cd/E23824_01/html/821-1475/ibp-7d.html

Refers to a /kernel/drv/ibp.conf

But this file is quite empty.

---
root at oi:~# dladm create-part -l ibp0 -p mtu=2044 -P FFFF pFFFF.ibp0
dladm: partition ffff creation over ibp0 failed: operation not supported

root at oi:~# dladm create-part -l ibp0 -P FFFF pFFFF.ibp0
root at oi:~# ifconfig pFFF.ibp0 plumb

root at oi:~# dladm show-link
LINK        CLASS     MTU    STATE    BRIDGE     OVER
ibp0        phys      65520  up       --         --
ibp1        phys      65520  up       --         --
bnx0        phys      1500   up       --         --
bnx2        phys      1500   down     --         --
bnx3        phys      1500   down     --         --
bnx1        phys      1500   down     --         --
pFFFF.ibp0  part      65520  up       --         ibp0

root at oi:~# ifconfig pFFFF.ibp0 10.0.0.1 netmask 255.255.255.0 mtu 2044 up
root at oi:~# ifconfig pFFFF.ibp0
pFFFF.ibp0: 
flags=1001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,FIXEDMTU> mtu 2044 
index 4
         inet 10.0.0.1 netmask fffffc00 broadcast 10.0.0.255
         ipib 80:0:0:4a:fe:80:0:0:0:0:0:0:0:2:c9:3:0:4c:7f:f1

root at oi:~# dladm set-linkprop -p mtu=2044 pFFFF.ibp0
dladm: warning: cannot set link property 'mtu' on 'pFFFF.ibp0': 
operation not supported

root at oi:~# dladm show-linkprop -p mtu
LINK         PROPERTY        PERM VALUE          DEFAULT        POSSIBLE
ibp0         mtu             r-   65520          65520          1500-65520
ibp1         mtu             r-   65520          65520          1500-65520
bnx0         mtu             rw   1500           1500           1500
bnx2         mtu             rw   1500           1500           1500
bnx3         mtu             rw   1500           1500           1500
bnx1         mtu             rw   1500           1500           1500
pFFFF.ibp0   mtu             r-   65520          65520          65520

Connectivity works fine (can ping another host over IPoIB).

-- 
Johan Guldmyr



More information about the OpenIndiana-discuss mailing list