diff options
author | Eric Dumazet <edumazet@google.com> | 2013-02-07 17:41:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-08 23:55:48 +0100 |
commit | 3807ff5899f892abb4f06747c245fd648a2acdc5 (patch) | |
tree | a4c6bc690e612da44dab7e8beb71c5c0bdb8b6ba /arch/x86/boot/tools/build.c | |
parent | macvlan: broadcast addr should be part of mc_filter (diff) | |
download | linux-3807ff5899f892abb4f06747c245fd648a2acdc5.tar.xz linux-3807ff5899f892abb4f06747c245fd648a2acdc5.zip |
macvlan: add a salt to mc_hash()
Some multicast addresses are common to all macvlans,
so if a multicast message has a hash value collision, we
have to deliver a copy to all macvlans, adding significant
latency and possible packet drops if netdev_max_backlog
limit is hit.
Having a per macvlan hash function permits to reduce the
impact of hash collisions.
Suggested-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/x86/boot/tools/build.c')
0 files changed, 0 insertions, 0 deletions