diff mbox series

[v2,1/7] config: increase the num of rawdev to be 64

Message ID 20190404110215.14410-1-hemant.agrawal@nxp.com
State New
Headers show
Series [v2,1/7] config: increase the num of rawdev to be 64 | expand

Commit Message

Hemant Agrawal April 4, 2019, 11:04 a.m. UTC
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>

---
 config/common_base | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Comments

Bruce Richardson April 4, 2019, 11:07 a.m. UTC | #1
> -----Original Message-----

> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Hemant Agrawal

> Sent: Thursday, April 4, 2019 12:04 PM

> To: dev@dpdk.org

> Cc: thomas@monjalon.net; Shreyansh Jain <shreyansh.jain@nxp.com>

> Subject: [dpdk-dev] [PATCH v2 1/7] config: increase the num of rawdev to

> be 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>

> ---

>  config/common_base | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

Need same change in config/rte_config.h for meson build.
Hemant Agrawal April 4, 2019, 11:52 a.m. UTC | #2
On 04-Apr-19 4:37 PM, Richardson, Bruce wrote:
>

>> -----Original Message-----

>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Hemant Agrawal

>> Sent: Thursday, April 4, 2019 12:04 PM

>> To: dev@dpdk.org

>> Cc: thomas@monjalon.net; Shreyansh Jain <shreyansh.jain@nxp.com>

>> Subject: [dpdk-dev] [PATCH v2 1/7] config: increase the num of rawdev to

>> be 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>

>> ---

>>   config/common_base | 2 +-

>>   1 file changed, 1 insertion(+), 1 deletion(-)

>>

> Need same change in config/rte_config.h for meson build.

Thanks. Just fixed it in v3
diff mbox series

Patch

diff --git a/config/common_base b/config/common_base
index a0a9fe0c7..1e55c8076 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
 
 #