On Tue, 2006-06-27 at 13:21 -0700, David Miller wrote: > From: Steve Wise <[EMAIL PROTECTED]> > Date: Tue, 27 Jun 2006 15:19:08 -0500 > > > For an RDMA NIC, all this logic is in HW, which is why we need the event > > notification; to tell the HW to change its next hop information. > > Back to the route change notification, I still think you can > get what you need by just looking for the route delete. > > You can match if any RDMA connection is using the deleted > route, mark it "update pending" or something like that, > and when the you get the "new route" event you can walk the > "pending" list and try to relookup the route for those > connections.
>From my experimentation with netlink, RTM_NEWROUTE and RTM_DELROUTE messages do not get sent up for redirect events. I have, in fact, added this with the new patch I'll send out soon. So either way I need to change the IPv[46] code to generate a notification for redirects. With the single NETEVENT_REDIRECT call, the RDMA driver can, in one sweep, update all the connections. It seems more efficient. At the place where I've hooked redirect, both the old route and the new route are already created. Steve. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html