From: Neil Horman Date: Mon, 27 Jan 2014 16:43:04 +0000 (-0500) Subject: AF_PACKET: Add documentation for queue mapping fanout mode X-Git-Tag: v3.14-rc1~59^2~18 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=bb9fbe2ddd6d6111c5fe5987fa1e71da7d2ab854;p=~emulex%2Finfiniband.git AF_PACKET: Add documentation for queue mapping fanout mode Recently I added a new AF_PACKET fanout operation mode in commit 2d36097, but I forgot to document it. Add PACKET_FANOUT_QM as an available mode in the af_packet documentation. Applies to net-next. Signed-off-by: Neil Horman CC: "David S. Miller" CC: Daniel Borkmann Acked-by: Daniel Borkmann Signed-off-by: David S. Miller --- diff --git a/Documentation/networking/packet_mmap.txt b/Documentation/networking/packet_mmap.txt index 91ffe1d9e8c..1404674c0a0 100644 --- a/Documentation/networking/packet_mmap.txt +++ b/Documentation/networking/packet_mmap.txt @@ -583,6 +583,7 @@ Currently implemented fanout policies are: - PACKET_FANOUT_CPU: schedule to socket by CPU packet arrives on - PACKET_FANOUT_RND: schedule to socket by random selection - PACKET_FANOUT_ROLLOVER: if one socket is full, rollover to another + - PACKET_FANOUT_QM: schedule to socket by skbs recorded queue_mapping Minimal example code by David S. Miller (try things like "./test eth0 hash", "./test eth0 lb", etc.):