]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/core/dev.c
net/core: add NETDEV_BONDING_FAILOVER event
authorOr Gerlitz <ogerlitz@voltaire.com>
Sat, 14 Jun 2008 01:12:00 +0000 (18:12 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 18 Jun 2008 03:59:41 +0000 (23:59 -0400)
commitc1da4ac752b8b0411791d26c678fcf23d2eed242
tree294fdfa9180e3094d0f3537255594feaf345bd8c
parent743d32ad3688a6035374885809e1e982adbf16b1
net/core: add NETDEV_BONDING_FAILOVER event

Add NETDEV_BONDING_FAILOVER event to be used in a successive patch
by bonding to announce fail-over for the active-backup mode through the
netdev events notifier chain mechanism. Such an event can be of use for the
RDMA CM (communication manager) to let native RDMA ULPs (eg NFS-RDMA, iSER)
always be aligned with the IP stack, in the sense that they use the same
ports/links as the stack does. More usages can be done to allow monitoring
tools based on netlink events being aware to bonding fail-over.

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
include/linux/netdevice.h
include/linux/notifier.h
net/core/dev.c