diff options
author | Matias Elo <matias.elo@nokia.com> | 2017-07-03 12:27:34 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-07-18 00:20:12 +0300 |
commit | 43bfbbf66db3d8fd6a22762d7ac346461857f653 (patch) | |
tree | a90bf17634f42c0814ce626a1df7d1e62eba8494 /platform/linux-generic/include/odp_config_internal.h | |
parent | a959a61e3d00965af8b93536e3fbc3bc09cad1e9 (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.h | 6 |
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 |