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 64F0FA0562; Sat, 4 Apr 2020 17:01:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B3F012BEA; Sat, 4 Apr 2020 17:01:49 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 4E964F04 for ; Sat, 4 Apr 2020 17:01:48 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 034EtVOO000520; Sat, 4 Apr 2020 08:01:22 -0700 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-0016f401.pphosted.com with ESMTP id 306srm0e7v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 04 Apr 2020 08:01:22 -0700 Received: from m0045851.ppops.net (m0045851.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 034F1LK0004800; Sat, 4 Apr 2020 08:01:21 -0700 Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 306srm0e7s-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 04 Apr 2020 08:01:21 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 4 Apr 2020 08:01:20 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.171) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Sat, 4 Apr 2020 08:01:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YTt47k68LsEQzlQYlX+Vq3PriEzdckweqS4K/NHH9uykvSrNHQRyNBIfayFLquLfREIRowSVl1pIJhulKlbSazMKABLwm4gSjCnxmcWl9waX12UvL3vJT8TWHB8vCrWW8kyC8GHllGN3OmvZcVoZ4j9hkCnKW4ssn6o3F4YMMID28pxQRmuKULu3AQ6vQmf6U26Rn3EZ30dnOu2A0o+YE20AJEkxyExLU+keHSkdphjzeTp0DepY1Ee2KqFmEwB9D3Prm/3o+O3Vh/FdRCJQ/heW8KOvpA9iWplaL7K5tMArPtK5AJ34kIvs1LXC5q5eKHVd8IQIvvncDDzO5lyhEw== 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=ZnSTdH6Zjn65eQLU3IGlVEJCXhQ/DWqCL5ARD9Wm9xA=; b=eE3T+gOA9EfcbIpf2bRdAE6dl7Q1a9tHP5dYDqF40SATM/SVTq4KIw4knYMgsDxVL5pxGbnrud+kBCc3SBYeK0FnCJb3SghF9Htc2BxB7wumA4gnQhgUlo3761GfP0Ixjn5Mv+5zL/oYt1HIL9WWsPursGj2hWKaoMOflZskd2GksyXEGTadrbTklKnoNpx9L8BZrrOmbyiT130KP+I0t0FI1GwfbffEj6iwyYsFsgpT1HqHKDFTFaKlhyES0ljqrmh1GmIguY5Yy+aL7fCv/PKDd+tGzQCyhyJvZrO+AhF4BJ0u7GjK0hxd2BVNh/hPW7bvEBYdEIcmZTxYchKoMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZnSTdH6Zjn65eQLU3IGlVEJCXhQ/DWqCL5ARD9Wm9xA=; b=jTu46bZU0ESoBANRTMtP/YTaYXvwNCxsdhtCgwFME4QLZ+2VwHks2tLFNctY+yheH4ENfwTReaZvJw1HX/h7x+qHHjdjc6KBHpobFd4QPGgvcPmefQeodL8xkGTnc7HnNQoWYFZ6x6iboCUmCLpOm90kkNzDn6Jnhh4SSe3W5EM= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (2603:10b6:910:7b::32) by CY4PR1801MB1864.namprd18.prod.outlook.com (2603:10b6:910:7a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Sat, 4 Apr 2020 15:01:18 +0000 Received: from CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::7424:c6cd:94f2:b27b]) by CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::7424:c6cd:94f2:b27b%4]) with mapi id 15.20.2878.017; Sat, 4 Apr 2020 15:01:18 +0000 From: Pavan Nikhilesh Bhagavatula To: Ori Kam , Jerin Jacob Kollanukkaran , "xiang.w.wang@intel.com" CC: "dev@dpdk.org" , "shahafs@mellanox.com" , "hemant.agrawal@nxp.com" , "opher@mellanox.com" , "alexr@mellanox.com" , Dovrat Zifroni , Prasun Kapoor , "nipun.gupta@nxp.com" , "bruce.richardson@intel.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" , "j.bromhead@titan-ic.com" , "deri@ntop.org" , "fc@napatech.com" , "arthur.su@lionic.com" , "thomas@monjalon.net" , Parav Pandit Thread-Topic: [EXT] [PATCH v1 3/4] regexdev: add regexdev core functions Thread-Index: AQHWBZX4vEOdr+YC/0iJG5q8qjcMR6hpFZKQ Date: Sat, 4 Apr 2020 15:01:18 +0000 Message-ID: References: <1585464438-111285-1-git-send-email-orika@mellanox.com> <1585464438-111285-4-git-send-email-orika@mellanox.com> In-Reply-To: <1585464438-111285-4-git-send-email-orika@mellanox.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.181.63.42] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 82d4a88c-57ff-41bf-43b2-08d7d8a90788 x-ms-traffictypediagnostic: CY4PR1801MB1864: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:935; x-forefront-prvs: 03630A6A4A x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR1801MB1863.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(376002)(346002)(136003)(396003)(39840400004)(366004)(110136005)(66446008)(7696005)(4326008)(478600001)(6506007)(81166006)(2906002)(81156014)(186003)(52536014)(5660300002)(8936002)(7416002)(33656002)(7406005)(71200400001)(55016002)(66476007)(316002)(26005)(76116006)(9686003)(66946007)(54906003)(66556008)(64756008)(8676002)(86362001); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1Gwd2bRkYaX87OUwVgniFG/oTvr4mgJmiiQt8SPWrozPlYtEjM+UJ6F50DIqfhP9C2RCzGzcN8dYjbQ/qsuErwfoO9+2ccribzdW7CJqZx6dR9Y8j7rNwzu4dIqqwDNeoUfE/2Zf6IAxmSbxrb6Wq3cy/T0cQ1pc4hv1xQx4PdL5kcIgHxUjFQn8O399T0ZKHkOKdwB4AmVIwvggAGV+VqU0PehtTN1C2K1ZCfv8R6/YjY3R+TVLOmtqnzfnSrVZrqMffd3DjZBuvvM4lR1IfT9CiG1MBIkTBmRpinlv9H751ffZHiasOEfAl7xZRagOtslivky9ZP32qqTjvAqtn6eAVEo6+sdWileFxfTJ3bKdStWyAF9XmIAc195+pZM2bQCfgum4QmaCUxy+vr9O7M4/RHry+7wVZV6kuy3aAIdjRuJPvS9mx++bZYM187Qc x-ms-exchange-antispam-messagedata: lxk5/oWT0zNi1gA038j5YBZ3KQBIGNFg+RZSDFoOZQDzoczC+NA0a1ev6qXBYWF1VYC5GE6VdbI7Vy4C8EQsb+zqFdwEJeI6MiKRFC/OnC0Tzk/iZ7fGQiBX6bZyUyMpcbO0oy8Sh9BB+KjtRkQUXA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 82d4a88c-57ff-41bf-43b2-08d7d8a90788 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2020 15:01:18.0999 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VsSgsxW87w90H/4IKyxkAt40J/KPLmg3QeA9HM5nE/TIaaG4refTNWHDSGm9vFTb605lsn8RQGLL1uSKkeyhq4laXmDvEkzACA//if5CGjA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB1864 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-04_11:2020-04-03, 2020-04-04 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH v1 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" Looks like this implementation is incomplete? I don't see any pmd specific helper functions for @see rte_cryptodev_pmd.c,= rte_eventdev_pmd* >This commit introduce the API that is needed by the RegEx devices in >order to work with the RegEX lib. > >During the probe of a RegEx device, the device should configure itself, >and allocate the resources it requires. >On completion of the device init, it should call the >rte_regex_dev_register in order to register itself as a RegEx device. > >Signed-off-by: Ori Kam >Signed-off-by: Parav Pandit >--- > config/common_base | 3 +- > config/meson.build | 1 + > lib/librte_regexdev/Makefile | 1 + > lib/librte_regexdev/meson.build | 5 ++- > lib/librte_regexdev/rte_regexdev.c | 74 >++++++++++++++++++++++++++++++- > lib/librte_regexdev/rte_regexdev.h | 7 +++ > lib/librte_regexdev/rte_regexdev_core.h | 2 + > lib/librte_regexdev/rte_regexdev_driver.h | 50 >+++++++++++++++++++++ > meson_options.txt | 2 + > 9 files changed, 142 insertions(+), 3 deletions(-) > create mode 100644 lib/librte_regexdev/rte_regexdev_driver.h >