From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5ACBBA00C5; Mon, 6 Jul 2020 08:07:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 87AE81D688; Mon, 6 Jul 2020 08:07:12 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60047.outbound.protection.outlook.com [40.107.6.47]) by dpdk.org (Postfix) with ESMTP id 4E5AE1D5CC for ; Mon, 6 Jul 2020 08:07:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hdMP4y55RLtIDhf8coiqC5Hq8TSBjqXlpaByjWP+nQF+ACn1fDGisgA0FbcjzE/ewmC+MV1CRt1x0ihhnXz06IhlAAF4hRE3EE+7qOCsrvIqbiZRpEfRKAUCP6Pz6V7uw/VHiigRH/mFsqoJ+Yz6hkJNdrEGYkcV2NVofumLej57NaqStlhM1qNzKQ7grzrvg4U8N0EptU2lkpr6iz/s7uod/JFqJlikSCQCIrxn4Cx+dJROQBx2JLB94x3uGj+nVabedAnAttbVX4++e+x2or5iC7kFntqRHDddb/SRjTRIURc5PdhQX6T+1o4isvPVg2hPO+Q95iYK6s3cQpiVrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Kk2n7659Oy9IY8Ch9GnKapJyD9QBQ3dv54aq1HW8rc8=; b=Qxlq6Yg87jZf40rlv3uhZB5596ykISIqbmYXVGcMDB1ZHA0ppVDyNU0rnr0jjGPhi1afKU0TN2SLCut6cGjyLX3O33BSNZnetb2/R7tkusabAnigmp44Ky4I43JQ3wskh80FUxy7wAU/x0QzeD/3xObrLBryDbBelLLwOnOQ+6GtEGven7p3X9lNP4PVftdJukQYUNqlySmNCgXtKbLC3GlLLkvBD4i+2C4J1IkmVNaAWqvgNrTD863JXWsbpM+Kmy6MDcm/gF9e/s9ytfZZC6vq5fFammgFhng5CxtwZ07zSjuVx0Qxg4ikJAOHePgBB284ePiMD5yjlAxwkf9MMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Kk2n7659Oy9IY8Ch9GnKapJyD9QBQ3dv54aq1HW8rc8=; b=t+RLsSsmq+YORup4meux4LaMualIRDSM7a4pD5F5+v3Lb4EvDVZ9cak6yyHt0V1FCZn33DMsAItaZ299+4Ms9wrDFbjWRJJz3EcvI58O5FpaFiHq6Fpoauu7s83ykQZ7ojMQdnwp6erJXkEcSVmJ6XzIF4xY9l1jpM2ebThlerc= Received: from AM6PR05MB5176.eurprd05.prod.outlook.com (2603:10a6:20b:63::30) by AM7PR05MB6929.eurprd05.prod.outlook.com (2603:10a6:20b:1af::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.28; Mon, 6 Jul 2020 06:07:09 +0000 Received: from AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::9024:accb:4d6b:805f]) by AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::9024:accb:4d6b:805f%3]) with mapi id 15.20.3153.029; Mon, 6 Jul 2020 06:07:09 +0000 From: Ori Kam To: Thomas Monjalon , "bruce.richardson@intel.com" CC: "jerinj@marvell.com" , "xiang.w.wang@intel.com" , "guyk@marvell.com" , "dev@dpdk.org" , "pbhagavatula@marvell.com" , Shahaf Shuler , "hemant.agrawal@nxp.com" , Opher Reviv , Alex Rosenbaum , "dovrat@marvell.com" , "pkapoor@marvell.com" , "nipun.gupta@nxp.com" , "yang.a.hong@intel.com" , "harry.chang@intel.com" , "gu.jian1@zte.com.cn" , "shanjiangh@chinatelecom.cn" , "zhangy.yun@chinatelecom.cn" , "lixingfu@huachentel.com" , "wushuai@inspur.com" , "yuyingxia@yxlink.com" , "fanchenggang@sunyainfo.com" , "davidfgao@tencent.com" , "liuzhong1@chinaunicom.cn" , "zhaoyong11@huawei.com" , "oc@yunify.com" , "jim@netgate.com" , "hongjun.ni@intel.com" , "deri@ntop.org" , "fc@napatech.com" , "arthur.su@lionic.com" , Parav Pandit Thread-Topic: [dpdk-dev] [PATCH v4 3/4] regexdev: add regexdev core functions Thread-Index: AQHWUET1gpFxwXLWJEuiyIQ3MFgjXqj5gDQAgACWIEA= Date: Mon, 6 Jul 2020 06:07:08 +0000 Message-ID: References: <1585464438-111285-1-git-send-email-orika@mellanox.com> <1593675963-13317-1-git-send-email-orika@mellanox.com> <1593675963-13317-4-git-send-email-orika@mellanox.com> <6699717.7Ub6e2Nl0Q@thomas> In-Reply-To: <6699717.7Ub6e2Nl0Q@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [147.236.152.129] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0b9fc728-f325-4ff7-cf62-08d82172d10b x-ms-traffictypediagnostic: AM7PR05MB6929: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 04569283F9 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: msgqMtrNWnlsVOLzksypIB/vPlA3ceHha2n2QGo0Y5Beo+lfome7j5VVeA52WJCD8bKn5SA25xuwVgXH4YjmHpjHvEhw9q6Kqw62ptKVhkkY83GqbbxxB/oHslru2Htg2IVmEJ068eKtga7jdvw0FBMBfdSW8eRmWFSJb0+xgCDW7vtrbQytw16eVdbH3ZsEE6Oa7QpqkAYVWCDrrbkdAjaaATadqrw5AskQ3efeVGsCGI4lWRowTw3zjexLfgQBHI71gO7qJmlH+ya5r9YKgu9YnBcEYyCzAhJMr7hYqQjSpI4ePaljoxtyZUAK1zer9sWC1jMgraM5MSgPxdOESA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR05MB5176.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(396003)(376002)(346002)(366004)(136003)(55016002)(8676002)(52536014)(9686003)(86362001)(76116006)(33656002)(110136005)(478600001)(54906003)(71200400001)(316002)(186003)(2906002)(107886003)(26005)(53546011)(66946007)(66476007)(66556008)(64756008)(66446008)(7416002)(6506007)(5660300002)(8936002)(7696005)(4326008)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: hUToj/AbldA4miXHkBB3GwlDqHtQwlqGHB2FjyW6HD9gCntgUv/ic2/pFEzqwF1UtrTJh9lLt6xEVSaFq8UCeddTDYGmgKpQ/3bDFCFW7LDbZjEhO0K/QoHUrA15+pkJar86SH9eib/p5/wHKwqWAZ/AY142tD+PqwJW1I+rYNnkAj3qnFB1wSKN60s05CW5RojOV69R8CDiD1/u7BHIGexLQH8sarqK+45VIQh9H9w9viuF+kdQ2eD/Qokq4/BhB79igQHq0rPnVLoW8jVsQRpbIjiVrChP519zKkRShLii/aSiGEcd1SzkT5Vc7k5GNByi8yOfIgZYFeUZZY1fOQdKHNPVrjljfx6azXAKOZONr86ZhLHTZ68PCcyj8qp7+vI28xXnmqm3ohK1z7n1N6eeAQn8NVPcFwkfNAVGgspf4xuOZbnU7zJ/vE+YYfrtcvVL+GWt2NMlqjyOdE4Vskvk1eokznCCAdkTZ6i0kSI7M95KxDxCozGX8e12KeMH Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM6PR05MB5176.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b9fc728-f325-4ff7-cf62-08d82172d10b X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2020 06:07:08.8496 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pKainEx3yLQhN1i6zKdcDPLxyN0Om1NJwXW+iErSKr4VM1PR3pJGPHyvZUyQnK3DRMfv3kHuOXb/hzWXV5g+Kg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR05MB6929 Subject: Re: [dpdk-dev] [PATCH v4 3/4] regexdev: add regexdev core functions 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" > -----Original Message----- > From: Thomas Monjalon > Sent: Monday, July 6, 2020 12:08 AM > Subject: Re: [dpdk-dev] [PATCH v4 3/4] regexdev: add regexdev core functi= ons >=20 > 02/07/2020 09:46, Ori Kam: > > --- a/meson_options.txt > > +++ b/meson_options.txt > > @@ -30,6 +30,8 @@ option('max_lcores', type: 'integer', value: 128, > > description: 'maximum number of cores/threads supported by EAL') > > option('max_numa_nodes', type: 'integer', value: 4, > > description: 'maximum number of NUMA nodes supported by EAL') > > +option('max_regexdev_devs', type: 'integer', value: 32, > > + description: 'maximum number of RegEx devices') >=20 > Do we really want to add such option in meson? > Some other classes do not expose any option here. > I tend to think it should be hidden. > If the max is really varying, it should be dynamic. > By the way, the maximum number of ethdev ports should be made infinite > with a dynamic array. >=20 > Bruce, any opinion please? >=20 Why this is just like ethdev: option('max_ethports', type: 'integer', value: 32, description: 'maximum number of Ethernet devices') Best, Ori