From patchwork Thu Apr 4 11:50:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 161786 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1496144jan; Thu, 4 Apr 2019 04:50:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwudQGDDTtZZOJ39LkQYf0fkoPBRobo4eXucblZZW97Sz1ZcCr6lFajlE9uQZXrDg4TrMPp X-Received: by 2002:a50:94d6:: with SMTP id t22mr3567938eda.32.1554378623257; Thu, 04 Apr 2019 04:50:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554378623; cv=none; d=google.com; s=arc-20160816; b=iDvcYY7oOtNIOAklDFIjXQNXOihe24A39UheH3Pg4r34h4/33N4BOFax9MHgANuFkc eN7WAdkwOUUGMN/YuCDja0pQ2PWdxJnT8vBsxdX/kwq7/OmPYmgAYBW3FisxIRYQVcMG xXrrWQ0npc3wB2ZjuHiZ9LE2/1qgLFWr9cR8/bFov35NjpHWloifGn2+Tq9po7q0GK0i DzTL4qgrpfnQCBYsSi7AsqLIjyDIw61xan2S1IfagaA1r7QxoLKKWgZ76oJe7Wwc2ceM HpWwmYP2/Dq0EktmdjaFNyLn6ROOtr3OY0yuYygo+cEDZ7+n/RmnX3y9MkFEWAK9on6Q gBzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:mime-version :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic:cc :to:from:dkim-signature; bh=+PkG7u/4nhRu6HCQpmsh4WwZp+mN++78/EgMq7IPmoQ=; b=aZM5oR9KUVuqGwJ2fhKz1L7bj+T9V9Al9Zutvh9QOAsbXg1qa5kaLdM6JhXJSbVsNC gDc3rq6yE2VFJ6OUHPgZCGzIdoAcC7fB7D+BCmuC53E6otmnb7KUyH7hjVbROH1H0Osw hkh32WCRjPKs5tXz3AIxPZ3XxwulyC/YXUsvX1vKIaNdiuduey6m4tQPtgRRniGuue2L o7VdBvp6zg+ZMRGdDsHEBHIXzkwdF4EyopESdZ6BxNXwvSAci1D7oC/fHG1qwr6S0gBd XCstB+oPzTrtJuauUjVf0SAo5zDL5MnCBdDc/C3lNnHgGAoRDsO4fH2ih0TV0SFhFH7c ngpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b="Cg5zTKA/"; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id o54si7383754edc.421.2019.04.04.04.50.23; Thu, 04 Apr 2019 04:50:23 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b="Cg5zTKA/"; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com 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= 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" 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(-) -- 2.17.1 Acked-by: Bruce Richardson 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 # 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 /* 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