aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_config_internal.h
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2017-07-03 12:27:34 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-07-18 00:20:12 +0300
commit43bfbbf66db3d8fd6a22762d7ac346461857f653 (patch)
treea90bf17634f42c0814ce626a1df7d1e62eba8494 /platform/linux-generic/include/odp_config_internal.h
parenta959a61e3d00965af8b93536e3fbc3bc09cad1e9 (diff)
linux-gen: packet: increase default headroom
The packet default headroom is modified to be the same as in DPDK to enable interoperability between ODP and DPDK packets. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_config_internal.h')
-rw-r--r--platform/linux-generic/include/odp_config_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h
index 292be356c..a798851fb 100644
--- a/platform/linux-generic/include/odp_config_internal.h
+++ b/platform/linux-generic/include/odp_config_internal.h
@@ -56,10 +56,10 @@ extern "C" {
* size e.g. due to HW or a protocol specific alignment requirement.
*
* @internal In odp-linux implementation:
- * The default value (66) allows a 1500-byte packet to be received into a single
- * segment with Ethernet offset alignment and room for some header expansion.
+ * The default value (128) allows a 1500-byte packet to be received into a
+ * single segment with room for some header expansion.
*/
-#define CONFIG_PACKET_HEADROOM 66
+#define CONFIG_PACKET_HEADROOM 128
/*
* Default packet tailroom