From: Jijiang Liu Date: Thu, 28 May 2015 01:36:18 +0000 (+0800) Subject: config: increase max queues per port X-Git-Tag: spdx-start~9147 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1a1109404e702d3ad1ccc1033df55c59bec1f89a;p=dpdk.git config: increase max queues per port The default value of RTE_MAX_QUEUES_PER_PORT is 256, which is too small for some configurations for i40e. There will return an error when configured queue number is larger than 256 in rte_eth_dev_configure(). For example, in vHost sample, PF queue number: 64, configured vmdq pool number: 63, each vmdq pool has 4 queues, there will be required 316 queues in a port. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang --- diff --git a/config/common_bsdapp b/config/common_bsdapp index c2374c03dc..0b169c8ea4 100644 --- a/config/common_bsdapp +++ b/config/common_bsdapp @@ -137,7 +137,7 @@ CONFIG_RTE_LIBRTE_KVARGS=y CONFIG_RTE_LIBRTE_ETHER=y CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=n CONFIG_RTE_MAX_ETHPORTS=32 -CONFIG_RTE_MAX_QUEUES_PER_PORT=256 +CONFIG_RTE_MAX_QUEUES_PER_PORT=1024 CONFIG_RTE_LIBRTE_IEEE1588=n CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16 CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=y diff --git a/config/common_linuxapp b/config/common_linuxapp index 0078dc9e0e..5deb55ae4a 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -134,7 +134,7 @@ CONFIG_RTE_LIBRTE_KVARGS=y CONFIG_RTE_LIBRTE_ETHER=y CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=n CONFIG_RTE_MAX_ETHPORTS=32 -CONFIG_RTE_MAX_QUEUES_PER_PORT=256 +CONFIG_RTE_MAX_QUEUES_PER_PORT=1024 CONFIG_RTE_LIBRTE_IEEE1588=n CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16 CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=y