diff mbox

af_packet: Add PACKET_FANOUT_QM documentation

Message ID 1390911375-5784-1-git-send-email-nhorman@tuxdriver.com
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Neil Horman Jan. 28, 2014, 12:16 p.m. UTC
Recently added a new fanout mode of operation to packet sockets.  Document it
here

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: mtk.manpages@gmail.com
CC: andi@firstfloor.org
CC: netdev@vger.kernel.org
---
 man7/packet.7 | 2 ++
 1 file changed, 2 insertions(+)

Comments

Michael Kerrisk \(man-pages\) Feb. 22, 2014, 9:44 a.m. UTC | #1
On 01/28/2014 01:16 PM, Neil Horman wrote:
> Recently added a new fanout mode of operation to packet sockets.  Document it
> here

Thanks, Neil. Applied.

This new mode is ne win 3.14, right?

Cheers,

Michael


> Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
> CC: mtk.manpages@gmail.com
> CC: andi@firstfloor.org
> CC: netdev@vger.kernel.org
> ---
>  man7/packet.7 | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/man7/packet.7 b/man7/packet.7
> index 93f91e9..6e145dc 100644
> --- a/man7/packet.7
> +++ b/man7/packet.7
> @@ -296,6 +296,8 @@ processes all data on a single socket, moves to the next when one
>  becomes backlogged.
>  .BR PACKET_FANOUT_RND
>  selects the socket using a pseudo-random number generator.
> +.BR PACKET_FANOUT_QM
> +selects the socket using the recorded queue_mapping of the received skb.
>  
>  Fanout modes can take additional options.
>  IP fragmentation causes packets from the same flow to have different
>
Daniel Borkmann Feb. 22, 2014, 12:35 p.m. UTC | #2
On 02/22/2014 10:44 AM, Michael Kerrisk (man-pages) wrote:
> On 01/28/2014 01:16 PM, Neil Horman wrote:
>> Recently added a new fanout mode of operation to packet sockets.  Document it
>> here
>
> Thanks, Neil. Applied.
>
> This new mode is ne win 3.14, right?

Yes.

> Cheers,
>
> Michael
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Michael Kerrisk \(man-pages\) Feb. 23, 2014, 7:27 a.m. UTC | #3
On 02/22/2014 01:35 PM, Daniel Borkmann wrote:
> On 02/22/2014 10:44 AM, Michael Kerrisk (man-pages) wrote:
>> On 01/28/2014 01:16 PM, Neil Horman wrote:
>>> Recently added a new fanout mode of operation to packet sockets.  Document it
>>> here
>>
>> Thanks, Neil. Applied.
>>
>> This new mode is ne win 3.14, right?
> 
> Yes.

Thanks, Daniel.
Neil Horman Feb. 23, 2014, 10:23 p.m. UTC | #4
On Sat, Feb 22, 2014 at 10:44:40AM +0100, Michael Kerrisk (man-pages) wrote:
> On 01/28/2014 01:16 PM, Neil Horman wrote:
> > Recently added a new fanout mode of operation to packet sockets.  Document it
> > here
> 
> Thanks, Neil. Applied.
> 
> This new mode is ne win 3.14, right?
> 
IIRC, yes, thats correct.
Neil

> Cheers,
> 
> Michael
> 
> 
> > Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
> > CC: mtk.manpages@gmail.com
> > CC: andi@firstfloor.org
> > CC: netdev@vger.kernel.org
> > ---
> >  man7/packet.7 | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/man7/packet.7 b/man7/packet.7
> > index 93f91e9..6e145dc 100644
> > --- a/man7/packet.7
> > +++ b/man7/packet.7
> > @@ -296,6 +296,8 @@ processes all data on a single socket, moves to the next when one
> >  becomes backlogged.
> >  .BR PACKET_FANOUT_RND
> >  selects the socket using a pseudo-random number generator.
> > +.BR PACKET_FANOUT_QM
> > +selects the socket using the recorded queue_mapping of the received skb.
> >  
> >  Fanout modes can take additional options.
> >  IP fragmentation causes packets from the same flow to have different
> > 
> 
> 
> -- 
> Michael Kerrisk
> Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
> Linux/UNIX System Programming Training: http://man7.org/training/
> 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/man7/packet.7 b/man7/packet.7
index 93f91e9..6e145dc 100644
--- a/man7/packet.7
+++ b/man7/packet.7
@@ -296,6 +296,8 @@  processes all data on a single socket, moves to the next when one
 becomes backlogged.
 .BR PACKET_FANOUT_RND
 selects the socket using a pseudo-random number generator.
+.BR PACKET_FANOUT_QM
+selects the socket using the recorded queue_mapping of the received skb.
 
 Fanout modes can take additional options.
 IP fragmentation causes packets from the same flow to have different