[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1422934443.21689.140.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Mon, 02 Feb 2015 19:34:03 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] pkt_sched: fq: better control of DDOS traffic
On Mon, 2015-02-02 at 18:18 -0800, David Miller wrote:
> Can you document the mask value a little bit more?
>
> For example, I don't understand why "(1024 - 1) << 1" means 1024
> slots just from looking at this change.
>
Sure , will do.
Thats because we reserve low order bit of the sk/hash value,
to make sure the stochastic hash is only applied on non locally
generated traffic.
Thanks
--
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