]> git.baikalelectronics.ru Git - kernel.git/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)
commit04976a4d02d066a6a38130b2b4ad2ee65ff7f4ea
tree009ed6c7ee4d693de36990fa30fdaa79939905f0
parent556543b309581c6cc99fb828dbc228ab1ae0873d
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