diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2016-11-21 16:53:45 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-01-12 17:57:43 +0300 |
commit | afb2ecf5e45e10b0e1258c85fc1b80f8ce447646 (patch) | |
tree | 06ae5fd1eab6732064069217bde3ce7716e49b19 /platform/linux-generic/include/odp_config_internal.h | |
parent | fe9c6cc8e5e88e068ee9f1f4dc29b7f32411f4d7 (diff) |
linux-gen: packet: enable multi-segment packets
Enable segmentation support with CONFIG_PACKET_MAX_SEGS
configuration option.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-and-tested-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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h index ee51c7fa5..9401fa1a3 100644 --- a/platform/linux-generic/include/odp_config_internal.h +++ b/platform/linux-generic/include/odp_config_internal.h @@ -70,12 +70,12 @@ extern "C" { /* * Maximum number of segments per packet */ -#define CONFIG_PACKET_MAX_SEGS 1 +#define CONFIG_PACKET_MAX_SEGS 2 /* * Maximum packet segment size including head- and tailrooms */ -#define CONFIG_PACKET_SEG_SIZE (64 * 1024) +#define CONFIG_PACKET_SEG_SIZE (8 * 1024) /* Maximum data length in a segment * |