summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHemant Agrawal <hemant.agrawal@nxp.com>2019-04-04 11:50:18 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-04-05 00:26:02 +0200
commitbca4350ed72283e386645c85431aa628e181e166 (patch)
treec720940be573dca7e2e4144d3655408ac36c8596
parenta2831648b3cc17982deb48832c3b08b8396dc103 (diff)
downloaddpdk-bca4350ed72283e386645c85431aa628e181e166.zip
dpdk-bca4350ed72283e386645c85431aa628e181e166.tar.gz
dpdk-bca4350ed72283e386645c85431aa628e181e166.tar.xz
config: increase maximum number of raw devices to 64
The current value is 10, which is not sufficient for many use-cases. e.g. NXP LX2 with raw qdma devices can use 32-48 raw devices in some use-cases. So, making it to 64 to cover various cases. Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
-rw-r--r--config/common_base2
-rw-r--r--config/rte_config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/common_base b/config/common_base
index 9b4d4d5..6b8db9d 100644
--- a/config/common_base
+++ b/config/common_base
@@ -709,7 +709,7 @@ CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n
# EXPERIMENTAL: API may change without prior notice
#
CONFIG_RTE_LIBRTE_RAWDEV=y
-CONFIG_RTE_RAWDEV_MAX_DEVS=10
+CONFIG_RTE_RAWDEV_MAX_DEVS=64
CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV=y
#
diff --git a/config/rte_config.h b/config/rte_config.h
index cda51af..0bbbe27 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -82,7 +82,7 @@
#define RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE 32
/* rawdev defines */
-#define RTE_RAWDEV_MAX_DEVS 10
+#define RTE_RAWDEV_MAX_DEVS 64
/* ip_fragmentation defines */
#define RTE_LIBRTE_IP_FRAG_MAX_FRAG 4