From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+PkG7u/4nhRu6HCQpmsh4WwZp+mN++78/EgMq7IPmoQ=; b=Cg5zTKA/a3Oe2d8Xh81ccXpaywgj1ep+MK+FacY4Qn6azEc6yYx//U5Sg4I3kf7iz6kuxyhqxXiMSbfMcLKg9rFS+fG6t4YR7GolY5aIA91cjujKFLi05lfZd5jUYWDmD40WQOanemcfvNloOC8Y6H98/lnikPaGnt1ay1MLlao= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.65.19) by VI1PR0401MB1965.eurprd04.prod.outlook.com (10.166.140.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.15; Thu, 4 Apr 2019 11:50:18 +0000 Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::18e3:39b6:c61d:3f18]) by VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::18e3:39b6:c61d:3f18%12]) with mapi id 15.20.1750.017; Thu, 4 Apr 2019 11:50:18 +0000 From: Hemant Agrawal To: "dev@dpdk.org" CC: "thomas@monjalon.net" , Shreyansh Jain Thread-Topic: [PATCH v3 1/7] config: increase the num of rawdev to be 64 Thread-Index: AQHU6tyTk8dMvxAXREmFUwcQHsezyg== 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> In-Reply-To: <20190404110215.14410-1-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [92.120.1.72] x-mailer: git-send-email 2.17.1 x-clientproxiedby: LO2P265CA0082.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::22) To VI1PR0401MB2541.eurprd04.prod.outlook.com (2603:10a6:800:56::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bde180b5-75a3-479a-618a-08d6b8f3b55a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR0401MB1965; x-ms-traffictypediagnostic: VI1PR0401MB1965: x-microsoft-antispam-prvs: x-forefront-prvs: 0997523C40 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(136003)(39860400002)(396003)(366004)(199004)(189003)(44832011)(8936002)(71190400001)(25786009)(305945005)(6512007)(52116002)(478600001)(68736007)(105586002)(4326008)(7736002)(486006)(53936002)(2906002)(1076003)(5660300002)(102836004)(5640700003)(76176011)(446003)(186003)(476003)(386003)(66066001)(11346002)(26005)(316002)(106356001)(2616005)(6916009)(2501003)(14454004)(3846002)(81166006)(6486002)(71200400001)(6436002)(99286004)(6116002)(6506007)(81156014)(8676002)(97736004)(50226002)(54906003)(1730700003)(86362001)(256004)(14444005)(36756003)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB1965; H:VI1PR0401MB2541.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: q7Zw6SRQ6ncxUBvxHR/CYKHdKYeZYKX2PdUOrPzH0JhmxGAoRFIBY/O0N6qg49CY4KRKUM4qexa/DSkydtQETGZHWnAP01c0wE97ZU8tgoS/qukwVwItAro7sTybxh4kISWgubL83AhZ1aiakJQKQC0Ik9O+qGMwGmg7gGALeOWRB4T+3pdNCcBP4IYAQkP/Gq38uvoOfiQzeCeN1c0LPXu+LH/J2kpS/64sk9O60XhYQw0aaxqPvJd9gzKAILnbrt43PBUqjmIFpQb0XetbhLfwr34RTFbABfcY9saICVZ/BCJzS21y9JVjYy7GSbhxJBgdiwxLXh00MVm/4/U+73f01nlF7en1SnfVeT2QTxIcXgoYI5YipIxMxehRtPOOvZ+1js5CWB3NmvS/Z1LEWNvDK2Rj+zGL8FeqGjXWjqA= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bde180b5-75a3-479a-618a-08d6b8f3b55a X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2019 11:50:18.3591 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB1965 Subject: [dpdk-dev] [PATCH v3 1/7] config: increase the num of rawdev to be 64 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2019 11:50:19 -0000 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id B994AA0679 for ; Thu, 4 Apr 2019 13:50:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 13CE91B2AE; Thu, 4 Apr 2019 13:50:21 +0200 (CEST) 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+PkG7u/4nhRu6HCQpmsh4WwZp+mN++78/EgMq7IPmoQ=; b=Cg5zTKA/a3Oe2d8Xh81ccXpaywgj1ep+MK+FacY4Qn6azEc6yYx//U5Sg4I3kf7iz6kuxyhqxXiMSbfMcLKg9rFS+fG6t4YR7GolY5aIA91cjujKFLi05lfZd5jUYWDmD40WQOanemcfvNloOC8Y6H98/lnikPaGnt1ay1MLlao= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.65.19) by VI1PR0401MB1965.eurprd04.prod.outlook.com (10.166.140.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.15; Thu, 4 Apr 2019 11:50:18 +0000 Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::18e3:39b6:c61d:3f18]) by VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::18e3:39b6:c61d:3f18%12]) with mapi id 15.20.1750.017; Thu, 4 Apr 2019 11:50:18 +0000 From: Hemant Agrawal To: "dev@dpdk.org" CC: "thomas@monjalon.net" , Shreyansh Jain Thread-Topic: [PATCH v3 1/7] config: increase the num of rawdev to be 64 Thread-Index: AQHU6tyTk8dMvxAXREmFUwcQHsezyg== 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> In-Reply-To: <20190404110215.14410-1-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [92.120.1.72] x-mailer: git-send-email 2.17.1 x-clientproxiedby: LO2P265CA0082.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::22) To VI1PR0401MB2541.eurprd04.prod.outlook.com (2603:10a6:800:56::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bde180b5-75a3-479a-618a-08d6b8f3b55a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR0401MB1965; x-ms-traffictypediagnostic: VI1PR0401MB1965: x-microsoft-antispam-prvs: x-forefront-prvs: 0997523C40 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(136003)(39860400002)(396003)(366004)(199004)(189003)(44832011)(8936002)(71190400001)(25786009)(305945005)(6512007)(52116002)(478600001)(68736007)(105586002)(4326008)(7736002)(486006)(53936002)(2906002)(1076003)(5660300002)(102836004)(5640700003)(76176011)(446003)(186003)(476003)(386003)(66066001)(11346002)(26005)(316002)(106356001)(2616005)(6916009)(2501003)(14454004)(3846002)(81166006)(6486002)(71200400001)(6436002)(99286004)(6116002)(6506007)(81156014)(8676002)(97736004)(50226002)(54906003)(1730700003)(86362001)(256004)(14444005)(36756003)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB1965; H:VI1PR0401MB2541.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: q7Zw6SRQ6ncxUBvxHR/CYKHdKYeZYKX2PdUOrPzH0JhmxGAoRFIBY/O0N6qg49CY4KRKUM4qexa/DSkydtQETGZHWnAP01c0wE97ZU8tgoS/qukwVwItAro7sTybxh4kISWgubL83AhZ1aiakJQKQC0Ik9O+qGMwGmg7gGALeOWRB4T+3pdNCcBP4IYAQkP/Gq38uvoOfiQzeCeN1c0LPXu+LH/J2kpS/64sk9O60XhYQw0aaxqPvJd9gzKAILnbrt43PBUqjmIFpQb0XetbhLfwr34RTFbABfcY9saICVZ/BCJzS21y9JVjYy7GSbhxJBgdiwxLXh00MVm/4/U+73f01nlF7en1SnfVeT2QTxIcXgoYI5YipIxMxehRtPOOvZ+1js5CWB3NmvS/Z1LEWNvDK2Rj+zGL8FeqGjXWjqA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bde180b5-75a3-479a-618a-08d6b8f3b55a X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2019 11:50:18.3591 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB1965 Subject: [dpdk-dev] [PATCH v3 1/7] config: increase the num of rawdev to be 64 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190404115018.uEWjnQ1DWI3PVlunST1zhFgb8IlHQRtHpica2JI9SdM@z> 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