diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-01-08 09:31:27 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-03-12 09:29:31 +0200 |
commit | 52caa131df9a5ac89d4407fea0a81fcfa6e8d33a (patch) | |
tree | e36609b9f539343e8f482ad32c3be99a9d1e3fe7 /config | |
parent | 6d4f6a4c9d17c1877770fb67a103408284d35417 (diff) |
linux-gen: pool: add maximum packet length config option
Add configuration file option for the maximum packet data length in bytes.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/odp-linux-generic.conf | 5 |
1 files changed, 4 insertions, 1 deletions
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 |