[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 12 Dec 2008 08:37:45 -0800
From: Jay Vosburgh <fubar@...ibm.com>
To: Poornima Kamath <poornimak@...ab.com>
cc: netdev@...r.kernel.org
Subject: Re: Detecting backup slaves of bonding interface in network driver
Poornima Kamath <poornimak@...ab.com> wrote:
>The driver creates virtual interfaces that talk to ethernet interfaces over
>infiniband, using an infiniband to ethernet gateway device.
>The gateway device sends data to all interfaces having same mac address. For
>this the driver needs to explicitly tell the gateway device not to send data to
>the backup slaves.
>Therefore the driver needs to know which slaves are backup slaves.
>The failover mac option works well, but it is present for kernels greater
>than 2.6.24. So this option is not available for distros like RHEL5, SLES10
>etc
I believe that RHEL5 and SLES10 contain an "ib-bonding" package
which includes a backport of the current (or at least a more current)
bonding driver specifically for use over Infiniband. I think it's also
got a couple of other patches to bonding that aren't in the mainline.
In any event, it has the fail_over_mac functionality.
Have you looked at ib-bonding?
>So in order to support these distros I need some way of identifying the backup
>slaves.
>Is it ok to check the IFF_SLAVE_INACTIVE flags for these distros?
It will do what you want (identify backup slaves), and is not
guaranteed to be available in the future. I doubt that the flag would
ever go away on RHEL5 or SLES10, but, again, no guarantee.
-J
---
-Jay Vosburgh, IBM Linux Technology Center, fubar@...ibm.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists