On Jun 9, 2013, at 5:35 AM, Alex Liptsin wrote:
> Hi.
>
> I work with FreeBSD9.1 and Mellanox devices.
> Every time I unload / load mlx4ib module, NIC names of mellanox devices (ibX)
> are renamed.
> Can I prevent it?
>
> [root@h-qa-032 mlx4]# ifconfig
> ib8: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 65520
> options=80018<VLAN_MTU,VLAN_HWTAGGING,LINKSTATE>
> lladdr 80.28.0.48.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.31
> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> ib9: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 65520
> options=80018<VLAN_MTU,VLAN_HWTAGGING,LINKSTATE>
> lladdr 80.28.0.49.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.32
> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>
> [root@h-qa-032 mlx4]# kldunload mlx4ib
>
> [root@h-qa-032 mlx4]# kldload -v mlx4ib
> Loaded mlx4ib, id=9
>
> [root@h-qa-032 mlx4]# ifconfig
> ib10: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 65520
> options=80018<VLAN_MTU,VLAN_HWTAGGING,LINKSTATE>
> lladdr 80.30.0.48.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.31
> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> ib11: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 65520
> options=80018<VLAN_MTU,VLAN_HWTAGGING,LINKSTATE>
> lladdr 80.30.0.49.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.32
> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
You're probably running into a driver bug because OFED/ipoib was never
meant to be unloaded (assuming you're using my sources). Check the
detach/destroy routines to make sure that it's properly detaching everything
and updating indexes in the network stack before it unloads the driver.
Cheers,
-Garrett
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"