From dd9dc51b107bcf9ea6afb2d4fafd7c453f5cc240 Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Fri, 8 Jan 2021 09:31:27 +0200 Subject: linux-gen: pool: add maximum packet length config option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add configuration file option for the maximum packet data length in bytes. Signed-off-by: Matias Elo Reviewed-by: Jere Leppänen --- config/odp-linux-generic.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf index ced837a29..a03c8568f 100644 --- a/config/odp-linux-generic.conf +++ b/config/odp-linux-generic.conf @@ -16,7 +16,7 @@ # Mandatory fields odp_implementation = "linux-generic" -config_file_version = "0.1.13" +config_file_version = "0.1.14" # System options system: { @@ -72,6 +72,9 @@ pool: { # Packet pool options pkt: { + # Maximum packet data length in bytes + max_len = 65536 + # Maximum number of packets per pool. Power of two minus one # results optimal memory usage (e.g. (256 * 1024) - 1). max_num = 262143 -- cgit v1.2.3