[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150305.160603.1420680288391678472.davem@davemloft.net>
Date: Thu, 05 Mar 2015 16:06:03 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: therbert@...gle.com, netdev@...r.kernel.org, fw@...len.de
Subject: Re: [PATCH net-next 0/6] net: Call skb_get_hash in qdiscs
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 04 Mar 2015 12:03:03 -0800
> Yes, but then your patch is all about reducing flow compares to a single
> u32 comparison in qdiscs (and elsewhere)
>
> choke for example explicitly wants to make sure we drop a companion
> if incoming packet belongs to the same flow.
>
> Relying on a 'strong hash' whatever it can be was not considered in
> Choke paper. There is no mention of a stochastic match.
>
> If we no longer can store the keys in skb->cb[], fine (although I claim
> skb->cb[] size should be irrelevant, see our discussion on this topic
> with Florian)
> -> Just recompute the keys, using a local variable, from packet
> content. Yes, it will be more expensive, but hey, we get what we want.
>
> Same for sfq : your skb_get_hash_perturb() doesn't address the point I
> made earlier.
>
> It is only giving a false sense of security.
> I would rather not spread it.
> (Note that there is no documentation or changelog to explain the
> pro/cons)
>
> I doubt OVS would condense their flow keys in a single u32...
I'm largely siding with Eric on this. And the Choke argument is
a strong one.
Therefore I'm deferring this series for now, more thought and work
is definitely needed.
--
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