[ewg] Re: [PATCH] ofed_1_2/ofed_scripts
Vladimir Sokolovsky
vlad at dev.mellanox.co.il
Tue May 15 04:43:27 PDT 2007
On Wed, 2007-05-09 at 14:04 +0300, Moni Shoua wrote:
> This patch fixes bug 538.
>
> Set mode of IPoIB interfaces to "connected" after enslaving them.
> This is required when the slaves don't have a network script.
> Signed-off-by: Moni Shoua <monis at voltaire.com>
> ---
> diff --git a/ofed_scripts/openibd b/ofed_scripts/openibd
> index 8fbaa69..5fdbf6e 100755
> --- a/ofed_scripts/openibd
> +++ b/ofed_scripts/openibd
> @@ -818,6 +818,12 @@ start()
> else
> echo_failure $"Bringing up interface $bond"
> fi
> + if [ "X${SET_IPOIB_CM}" == "Xyes" ]; then
> + for slave in $(echo $bond_slaves|tr , " ") ; do
> + set_ipoib_cm ${i}
> + done
> + /sbin/ifconfig $bond mtu ${IPOIB_MTU}
> + fi
> done
> fi
> fi
>
Applied,
--
Vladimir Sokolovsky <vlad at dev.mellanox.co.il>
Mellanox Technologies Ltd.
More information about the ewg
mailing list