summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorchetan loke2011-08-19 12:18:16 +0200
committerDavid S. Miller2011-08-25 04:40:40 +0200
commitf6fb8f100b807378fda19e83e5ac6828b638603a (patch)
tree66d30265f08fbf9745e3feb9af6f5a06fe38d71b /net/ipv4/tcp_output.c
parentaf-packet: Added TPACKET_V3 headers. (diff)
downloadkernel-qcow2-linux-f6fb8f100b807378fda19e83e5ac6828b638603a.tar.gz
kernel-qcow2-linux-f6fb8f100b807378fda19e83e5ac6828b638603a.tar.xz
kernel-qcow2-linux-f6fb8f100b807378fda19e83e5ac6828b638603a.zip
af-packet: TPACKET_V3 flexible buffer implementation.
1) Blocks can be configured with non-static frame-size. 2) Read/poll is at a block-level(as opposed to packet-level). 3) Added poll timeout to avoid indefinite user-space wait on idle links. 4) Added user-configurable knobs: 4.1) block::timeout. 4.2) tpkt_hdr::sk_rxhash. Changes: C1) tpacket_rcv() C1.1) packet_current_frame() is replaced by packet_current_rx_frame() The bulk of the processing is then moved in the following chain: packet_current_rx_frame() __packet_lookup_frame_in_block fill_curr_block() or retire_current_block dispatch_next_block or return NULL(queue is plugged/paused) Signed-off-by: Chetan Loke <loke.chetan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions