aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2018-03-08 14:55:14 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-03-22 05:57:41 +0300
commitc57da8ddc80e0e314957c6d11db288ef11fc1805 (patch)
treeaa277c95aed34ca4e0faaf9805ff17824f0df93a /config
parent535ad269bfc6581a048d3e844576063be5d19501 (diff)
linux-gen: queue: configurable max size
Use configuration file to enable user to change the maximum queue size. Ring memory for all queues is reserved based on the max size. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoharan@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'config')
-rw-r--r--config/odp-linux-generic.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf
index 306ee1970..916058866 100644
--- a/config/odp-linux-generic.conf
+++ b/config/odp-linux-generic.conf
@@ -32,6 +32,9 @@ pktio_dpdk: {
}
queue_basic: {
+ # Maximum queue size. Value must be a power of two.
+ max_queue_size = 8192
+
# Default queue size. Value must be a power of two.
default_queue_size = 4096
}