diff options
author | 2015-12-14 05:12:45 +0200 | |
---|---|---|
committer | 2015-12-27 08:51:30 +0200 | |
commit | 7de16b05fa2ef6feeec8370b36037a59aeb1f8e5 (patch) | |
tree | b989ba0dc8668d60e7a24a497bee7e9ed2bddafb /src/pal/linux_dpdk | |
parent | 509648b87434b9032d38b8ca5ad470ba3edcc036 (diff) |
Changes only to DPDK files: dpdk22 40G fixes for TTL and ip_protocol match and IPv6 support + TX hang issue fix
Diffstat (limited to 'src/pal/linux_dpdk')
-rw-r--r-- | src/pal/linux_dpdk/dpdk22/rte_config.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pal/linux_dpdk/dpdk22/rte_config.h b/src/pal/linux_dpdk/dpdk22/rte_config.h index 01d9b7a1..e1f5cb23 100644 --- a/src/pal/linux_dpdk/dpdk22/rte_config.h +++ b/src/pal/linux_dpdk/dpdk22/rte_config.h @@ -219,8 +219,10 @@ #undef RTE_MBUF_REFCNT_ATOMIC #define RTE_MBUF_REFCNT_ATOMIC 1 #undef RTE_PKTMBUF_HEADROOM -//???#define RTE_PKTMBUF_HEADROOM 128 -#define RTE_PKTMBUF_HEADROOM 16 +// TREX_PATCH: DPDK original value is 128 here. This creates big overhead of memory. +// We would like to put 0, but it cuases compilation issues with virtio driver. +// 16 caused big performance degradation because of alignment issues. So 64 is the winner. +#define RTE_PKTMBUF_HEADROOM 64 #undef RTE_LIBRTE_MBUF_OFFLOAD #define RTE_LIBRTE_MBUF_OFFLOAD 1 #undef RTE_LIBRTE_MBUF_OFFLOAD_DEBUG |