]> git.itanic.dy.fi Git - linux-stable/commit
packet: Add 'cpu' fanout policy.
authorDavid S. Miller <davem@davemloft.net>
Wed, 6 Jul 2011 08:56:38 +0000 (01:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jul 2011 08:56:38 +0000 (01:56 -0700)
commit95ec3eb417115fbb2c73b59e2825f6dd5d2f6cf6
tree009ed6c7ee4d693de36990fa30fdaa79939905f0
parent81b16ba2f1cc93a1ee1dda48be2ea2d91a0cb72e
packet: Add 'cpu' fanout policy.

Unfortunately we have to use a real modulus here as
the multiply trick won't work as effectively with cpu
numbers as it does with rxhash values.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_packet.h
net/packet/af_packet.c