net: packet: add randomized fanout scheduler
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 28 Aug 2013 20:13:09 +0000 (22:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Aug 2013 20:43:29 +0000 (16:43 -0400)
commit5df0ddfbc9209ffafc82236509ba0e975120e3c3
treeab8278af886022f052045a6c5c941df51006c305
parent488594883e25cc6e40df067a9a7b39737ebb18d8
net: packet: add randomized fanout scheduler

We currently allow for different fanout scheduling policies in pf_packet
such as scheduling by skb's rxhash, round-robin, by cpu, and rollover.
Also allow for a random, equidistributed selection of the socket from the
fanout process group.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_packet.h
net/packet/af_packet.c