diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2014-01-27 11:43:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-27 12:57:32 -0800 |
commit | bb9fbe2ddd6d6111c5fe5987fa1e71da7d2ab854 (patch) | |
tree | 52eb4147ca03225697b324d9032d42e47aa6618b /Documentation/networking/packet_mmap.txt | |
parent | 5f6db130b5dab96eb1fe6b2c1d1131a74149f949 (diff) | |
download | op-kernel-dev-bb9fbe2ddd6d6111c5fe5987fa1e71da7d2ab854.zip op-kernel-dev-bb9fbe2ddd6d6111c5fe5987fa1e71da7d2ab854.tar.gz |
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 <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>
Diffstat (limited to 'Documentation/networking/packet_mmap.txt')
-rw-r--r-- | Documentation/networking/packet_mmap.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/networking/packet_mmap.txt b/Documentation/networking/packet_mmap.txt index 91ffe1d..1404674 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.): |