]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
AF_PACKET: Add documentation for queue mapping fanout mode
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 27 Jan 2014 16:43:04 +0000 (11:43 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2014 20:57:32 +0000 (12:57 -0800)
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 <nhorman@tuxdriver.com>
CC: "David S. Miller" <davem@davemloft.net>
CC: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/packet_mmap.txt

index 91ffe1d9e8cab8bd1c42314fb065b6ace17632bb..1404674c0a0282af7d077cf55a5da076875bd2ed 100644 (file)
@@ -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.):