filter: Add SKF_AD_QUEUE instruction
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 20 Oct 2009 08:06:22 +0000 (01:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Oct 2009 08:06:22 +0000 (01:06 -0700)
It can help being able to filter packets on their queue_mapping.

If filter performance is not good, we could add a "numqueue" field
in struct packet_type, so that netif_nit_deliver() and other functions
can directly ignore packets with not expected queue number.

Lets experiment this simple filter extension first.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found