diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-01-08 09:31:27 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-01-15 15:15:12 +0200 |
commit | dd9dc51b107bcf9ea6afb2d4fafd7c453f5cc240 (patch) | |
tree | 40ab2cb2b6f1847383380e7939c485a204d6f784 /config | |
parent | 870b49483ce2ea973eff6e554ac0c98f5267dfb2 (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 |