[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1322774240.2750.30.camel@edumazet-laptop>
Date: Thu, 01 Dec 2011 22:17:20 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: nuclear neigh patch
Le jeudi 01 décembre 2011 à 15:20 -0500, David Miller a écrit :
> Eric, how lucky are you feeling today? :-)
>
> Here is a patch that gets rid of the neighbour reference for ipv4 routes.
> Neigh entries are computed at packet send time in ip_output.c
>
> Some minor work is needed before we can flat out use something like this,
> the main issue being that there are places that assume that if we have
> a 'dst' entry then there is a non-NULL neighbour unconditionally available.
> Mainly this happens in the infiniband layer.
>
> So we can't create a situation where dst_get_neighbour() might return NULL
> just yet.
>
> This is worth sorting out, because then we can get rid of the neigh
> pointer entirely from dst entries.
>
> But anyways, if this patch works it would be interesting to see what
> it does to the UDP tests on your test machine(s).
Sure, this looks great.
I'll try this tomorrow on my test machines, its 10:15pm here ;)
--
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