From: Tomasz Grobelny Date: Thu, 4 Sep 2008 05:30:19 +0000 (+0200) Subject: dccp: Policy-based packet dequeueing infrastructure X-Git-Tag: v2.6.28-rc1~717^2~305^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6da3511d6b558d0b017777b61dc08b8fbc06ea4;p=pandora-kernel.git dccp: Policy-based packet dequeueing infrastructure This patch adds a generic infrastructure for policy-based dequeueing of TX packets and provides two policies: * a simple FIFO policy (which is the default) and * a priority based policy (set via socket options). Both policies honour the tx_qlen sysctl for the maximum size of the write queue (can be overridden via socket options). The priority policy uses skb->priority internally to assign an u32 priority identifier, using the same ranking as SO_PRIORITY. The skb->priority field is set to 0 when the packet leaves DCCP. The priority is supplied as ancillary data using cmsg(3), the patch also provides the requisite parsing routines. Signed-off-by: Tomasz Grobelny Signed-off-by: Gerrit Renker --- Reading git-diff-tree failed