RDMA/addr: Handle ethernet neighbour updates during route resolution
authorSteve Wise <swise@opengridcomputing.com>
Wed, 24 Jan 2007 01:03:17 +0000 (19:03 -0600)
committerRoland Dreier <rolandd@cisco.com>
Sun, 4 Feb 2007 22:11:57 +0000 (14:11 -0800)
commit1f12667021c542236b1f10eb5d8b2d8f3a79ab48
tree62b2feb950c57011757cf5e5357ac17528bc1147
parentfa7252ed4d92397baf30e4a144af95a33eaa925b
RDMA/addr: Handle ethernet neighbour updates during route resolution

The iWARP connection manager uses the ib_addr services to do route
resolution (neighbour discovery in the IP world).  The ib_addr
netevent callback routine, however, currently only acts on InfiniBand
neighbour updates.  It needs to act on ethernet neighbour updates as
well.

This patch just removes filtering on device type altogether and will
trigger on any neighour updates where the nud_type is valid.  This
simplifies the code some.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/addr.c