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 2C642A0577; Tue, 7 Apr 2020 10:54:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C1B481BE80; Tue, 7 Apr 2020 10:54:10 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 1BDD32BD8 for ; Tue, 7 Apr 2020 10:54:08 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0378ost7020825; Tue, 7 Apr 2020 01:54:01 -0700 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-0016f401.pphosted.com with ESMTP id 306qkr1w03-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Apr 2020 01:54:01 -0700 Received: from m0045849.ppops.net (m0045849.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 0378pWmD021183; Tue, 7 Apr 2020 01:54:00 -0700 Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 306qkr1w01-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 07 Apr 2020 01:54:00 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Apr 2020 01:53:59 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.107) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 7 Apr 2020 01:53:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WG1j7ZCIOuoU5B4hWzPCCgmLfiTG8LXlWFhg4hvPT2zYR32FuTf5SW0kwiFHGnfa1qBWrdcYce3ObWBzlaIxZTr2VedIZnO6OMtUgKft+yRlEhfRk2rrGI3YHyE32ROw3sPXJBxhtW9/OTnLtxlAKYx7c18zjL/1Xzsh0qbv0pMe+XNqWTItjvBJ+uCrKq09wvkIY5+tGJ4PDbnr1Jt+8axjZbqAZMZuzyjorvIsKjEXOwxmDX5ivsT7D2JIUnZKVYh5AZu3jFgou7cw+kmhXIY8X7ulu56q30XNa+BMSOXS4W3GCFOAaNFVf/ShLYi0CdhINTTmlHtoUyplD7TBNg== 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=pYiqRe58R0bKSPT1QSrtawed0/l9psOMZgmrkvyVpls=; b=cZ00rRY/4Yhem4HClL7hzT63w9UbzkEGFgWcCrGXMd9DpeVvAvZIgNYHAWsIps2zYO/dzUP31ejmlqnMOFQEhjMHyT4GuVEHxj2/GHyzDK/J5aGiw4ZhqksF16rv4ulQpWgMPodA6+FMcqs+3sw5PhJBBdpLFjE2BACE0c7DhIO3IAjQ6XOv+l5mC3juz7bYDw9MznZgTeJ1DbzVIu75yg/eY9pEUUJ7scQoyl7w16KZTqRC6MsbvRdC+R0aim2imBNL9WKE4netxb/Ps4h3Q6vygoIdLb1O56AZvG4oRDlDDi7KEP/lTzoF3GOFUASHlaVCLEmKvWWq99dMusmdnA== 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=pYiqRe58R0bKSPT1QSrtawed0/l9psOMZgmrkvyVpls=; b=GkSIGyYrUcMen7azkyvknrKF9W0Hu2JSBiX2PRSh13kC73cOn3t4RqnmsiUhk5wLx3DeKThOWKLD75OHfObsihSiQ2OJFPOIfuOx6bNMtzyKo63bL79mvNW+yOavdmkKz8Vn8bceuLqhylqnt7V/OpR6a7oVtXhIxFGtyJV34iU= Received: from DM6PR18MB2410.namprd18.prod.outlook.com (2603:10b6:5:187::16) by DM6PR18MB3308.namprd18.prod.outlook.com (2603:10b6:5:1c6::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.20; Tue, 7 Apr 2020 08:53:58 +0000 Received: from DM6PR18MB2410.namprd18.prod.outlook.com ([fe80::b1dc:986b:57ec:6725]) by DM6PR18MB2410.namprd18.prod.outlook.com ([fe80::b1dc:986b:57ec:6725%3]) with mapi id 15.20.2878.018; Tue, 7 Apr 2020 08:53:58 +0000 From: Guy Kaneti To: Ori Kam , Jerin Jacob Kollanukkaran , "xiang.w.wang@intel.com" CC: "dev@dpdk.org" , Pavan Nikhilesh Bhagavatula , Shahaf Shuler , "hemant.agrawal@nxp.com" , Opher Reviv , Alex Rosenbaum , 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" , Parav Pandit Thread-Topic: [dpdk-dev] [PATCH v1 2/4] regexdev: add regex core h file Thread-Index: AQHWBZYEWJY7nshvvk21o4XCGrWfEqhr2P0AgAGIduA= Date: Tue, 7 Apr 2020 08:53:58 +0000 Message-ID: References: <1585464438-111285-1-git-send-email-orika@mellanox.com> <1585464438-111285-3-git-send-email-orika@mellanox.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [176.231.68.43] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 35edb9fe-e3cc-4028-c8c5-08d7dad135d1 x-ms-traffictypediagnostic: DM6PR18MB3308: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 036614DD9C x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR18MB2410.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(136003)(396003)(366004)(39850400004)(376002)(346002)(5660300002)(81156014)(66476007)(7406005)(66446008)(66556008)(4744005)(76116006)(66946007)(2906002)(64756008)(33656002)(316002)(478600001)(7416002)(54906003)(8676002)(26005)(52536014)(9686003)(81166006)(6506007)(110136005)(4326008)(8936002)(55016002)(71200400001)(86362001)(186003)(7696005); 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: Pa1WWjzzZpFDU1HQGhgUaJekHCOMnJmkLJ8uSuX4MtSrCxjCXqPUs/5eXwJljNmbO+o+JZvFIGcn2RZJhoMaJpWXqUPgo8bCymYf+bUqefpgGokE3OiMTCs240Vz/oLQz7uvYE5SrZz6NeIWgp/hE+x0q02kCR3+kB+ybESFHqVhQ1JHvvzfxVQWPnUbVvTzgZ10/78uGJmRj5BviLw1Ni2knq1ZjHf26woWvYKE8ScfHjnEP6Donk5m86bK4HdrIXb1N03wqA6s1Ln9gYumUQjCbnvjefTQT4Q6k3L4tC0KtHLNj+lWEHISaJPdJNsCQciG26l/F/jLiwh/NM4v8I9dt7Pb+16EB+DyIjDmmjv2F2RJaig6yKMlBh1zlKRo4++HI5cSoAJJKx3B8Pj1J+U/xQchg20r58TRjvPvb/rgtlSVPqc5TZ5RtSYw7vkP x-ms-exchange-antispam-messagedata: Ruh1N1ntKEWUOPctdCKZEhXnAkJoIBro5UBcrDIi4C2usKOOU7+4ptIq6xxKJ1g7o6/dQIUaRf2K/P5Jr/hLvvuU/9SbXTaZCcNZCf4vrFsBMozlEIhQYmMs5vQwMpqcznFftJoHYPRBw92G3wR02A== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 35edb9fe-e3cc-4028-c8c5-08d7dad135d1 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2020 08:53:58.0836 (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: vI/UBVlXP09CAEJkUAyb0yiGSdc7WbfgJ+b7B6pGQ55PZM5cuc8BUOA3XisCYoCzao7x0ModlA1MSAHX+MfICQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR18MB3308 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-07_01:2020-04-07, 2020-04-07 signatures=0 Subject: Re: [dpdk-dev] [PATCH v1 2/4] regexdev: add regex core h file 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" > + > +/** > + * @internal > + * The generic data structure associated with each RegEx device. > + * > + * Pointers to burst-oriented packet receive and transmit functions are > + * located at the beginning of the structure, along with the pointer to > + * where all the data elements for the particular device are stored in > +shared > + * memory. This split allows the function pointer and driver data to be > +per- > + * process, while the actual configuration data for the device is shared= . > + */ > +struct rte_regexdev { > + regexdev_enqueue_t enqueue; > + regexdev_dequeue_t dequeue; > + const struct rte_regexdev_ops *dev_ops; > + /**< Functions exported by PMD */ > + struct rte_device *device; /**< Backing device */ } > +__rte_cache_aligned; > + What about a handle for the PMD private data such as struct rte_eventdev_data *data; /**< Pointer to device data */ struct rte_cryptodev_data *data; /**< Pointer to device data */