diff options
author | Matias Elo <matias.elo@nokia.com> | 2018-12-03 09:45:40 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-12-13 12:30:18 +0300 |
commit | 279db117731440fd20e1cc857081eed277c9aa0c (patch) | |
tree | 8a43c30bb00fbfb962cda9db792e5af1f54fc64b /config | |
parent | ee9d5697dd924e122e34a3596a4fb809c837b3ff (diff) |
Port 95cbee5ac "linux-gen: pool: add max num packets in config file"
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 'config')
-rw-r--r-- | config/odp-linux-dpdk.conf | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config/odp-linux-dpdk.conf b/config/odp-linux-dpdk.conf index 5bbaeb411..6566b4767 100644 --- a/config/odp-linux-dpdk.conf +++ b/config/odp-linux-dpdk.conf @@ -16,7 +16,17 @@ # Mandatory fields odp_implementation = "linux-dpdk" -config_file_version = "0.1.0" +config_file_version = "0.1.1" + +# Pool options +pool: { + # Packet pool options + pkt: { + # Maximum number of packets per pool. Power of two minus one + # results optimal memory usage (e.g. (256 * 1024) - 1). + max_num = 262143 + } +} # DPDK pktio options pktio_dpdk: { |