From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hemant Agrawal Subject: [PATCH v3 1/7] config: increase the num of rawdev to be 64 Date: Thu, 4 Apr 2019 11:50:18 +0000 Message-ID: <20190404114818.21286-1-hemant.agrawal@nxp.com> References: <20190404110215.14410-1-hemant.agrawal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "thomas@monjalon.net" , Shreyansh Jain To: "dev@dpdk.org" Return-path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00086.outbound.protection.outlook.com [40.107.0.86]) by dpdk.org (Postfix) with ESMTP id 9246B1B295 for ; Thu, 4 Apr 2019 13:50:19 +0200 (CEST) In-Reply-To: <20190404110215.14410-1-hemant.agrawal@nxp.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- config/common_base | 2 +- config/rte_config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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=3Dn # EXPERIMENTAL: API may change without prior notice # CONFIG_RTE_LIBRTE_RAWDEV=3Dy -CONFIG_RTE_RAWDEV_MAX_DEVS=3D10 +CONFIG_RTE_RAWDEV_MAX_DEVS=3D64 CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV=3Dy =20 # diff --git a/config/rte_config.h b/config/rte_config.h index cda51af47..0bbbe274f 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -82,7 +82,7 @@ #define RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE 32 =20 /* rawdev defines */ -#define RTE_RAWDEV_MAX_DEVS 10 +#define RTE_RAWDEV_MAX_DEVS 64 =20 /* ip_fragmentation defines */ #define RTE_LIBRTE_IP_FRAG_MAX_FRAG 4 --=20 2.17.1