buffer chain linearization 61/17861/4
authorKlement Sekera <[email protected]>
Wed, 13 Feb 2019 10:01:32 +0000 (11:01 +0100)
committerKlement Sekera <[email protected]>
Wed, 27 Feb 2019 11:48:13 +0000 (12:48 +0100)
commit372a33efe8b8cc941c6313a70d5050ddc6f26259
treecb1bdd47909cddc4627b7e1e91fe6e8e6b19dbb2
parent7f1cc2c2c105f487b02e4d46bff8638b914fd106
buffer chain linearization

Rewrite vlib_buffer_chain_linearize function so that it works as intended.
Linearize buffer chains coming out of reassembly to work around some
dpdk-tx issues. Note that this is not a complete workaround
as a sufficiently large packet will still cause the resulting chain to
be too long.

Drop features from reassembly code which relies on knowing which and how
many buffers were freed during linearization, buffer counts and tracing
capabilities for these cases.

Change-Id: Ic65de53ecb5c78cd96b178033f6a576ab4060ed1
Signed-off-by: Klement Sekera <[email protected]>
src/vlib/buffer_funcs.h
src/vlib/physmem_funcs.h
src/vnet/dhcp/dhcp4_proxy_node.c
src/vnet/ip/ip4_error.h
src/vnet/ip/ip4_reassembly.c
src/vnet/ip/ip6_reassembly.c