From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0084.outbound.protection.outlook.com [104.47.2.84]) by dpdk.org (Postfix) with ESMTP id C6DA8FFA for ; Thu, 2 Feb 2017 13:53:20 +0100 (CET) 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; bh=iI5vnADitmNbwy0ExH1ysUPQ+pJBVGpff+G1FG3SzL0=; b=lnc11BuSgqDYiKqXY+VjbxIomi5/yDAM/gL2JhsYvV8PcMwhCNvdMp5Q0XGAo+k/R8PLEm83wgR7RsdUqxqpPUoW0mA8wEytR/pJdRu/8plPsS0ai4qJOzV2YmbCWYs4Dv2UpKx6J/72jsL3q5XdFOhaq26drmh0aBqIi+gqkWA= Received: from AM5PR0401MB2514.eurprd04.prod.outlook.com (10.169.244.146) by HE1PR04MB1609.eurprd04.prod.outlook.com (10.164.48.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Thu, 2 Feb 2017 12:53:18 +0000 Received: from AM5PR0401MB2514.eurprd04.prod.outlook.com ([10.169.244.146]) by AM5PR0401MB2514.eurprd04.prod.outlook.com ([10.169.244.146]) with mapi id 15.01.0874.021; Thu, 2 Feb 2017 12:53:17 +0000 From: Nipun Gupta To: Bruce Richardson CC: Jerin Jacob , "dev@dpdk.org" , "thomas.monjalon@6wind.com" , Hemant Agrawal , "gage.eads@intel.com" , "harry.van.haaren@intel.com" Thread-Topic: [dpdk-dev] [PATCH v4 2/6] eventdev: define southbound driver interface Thread-Index: AQHSfUhQdHbCDQSIsUm9k2zRUQmLhqFVqvFA Date: Thu, 2 Feb 2017 12:53:17 +0000 Message-ID: References: <1480996340-29871-1-git-send-email-jerin.jacob@caviumnetworks.com> <1482312326-2589-1-git-send-email-jerin.jacob@caviumnetworks.com> <1482312326-2589-3-git-send-email-jerin.jacob@caviumnetworks.com> <20170202113419.GA186604@bricha3-MOBL3.ger.corp.intel.com> In-Reply-To: <20170202113419.GA186604@bricha3-MOBL3.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=nipun.gupta@nxp.com; x-originating-ip: [171.79.9.34] x-microsoft-exchange-diagnostics: 1; HE1PR04MB1609; 7:sid1/Uu8gLrW+9oK4TCZh2rK+1UM0MDVRmS334BTv/XqzT4i7xio1mxlaHT/q4QKA2jQVWBUoRFLVHbR/KIgeqQ0jFZTn+YM6L/Wxo2bM1cNmMGgSzQGztG1rpo66FAYP45+OlF0/JI2ivDuCC8Timzwq3g4cZJew1NBK1pFniUaxXhVIkmwhMPTQhcYikXVF8pe29Cb7Q9Szms1ScGEjj/qA7D7d+e1LkXP/yMCUASx+f+XfQlNou39M1nUbyfbLX66IEzJEHCV+QWtGJ2bGEJd1FYgMCEWOi3YFbcc39ab7N/XLBc6y1r5sqbd246nG8yL9grKZgp3QxELOolyL3PjsJDtJLrepPh8dgYf1V6bJTXGtpz9xoR+WdrtfJLvswo2OaKbYsOUi4Lq5XvAeECtWigtL2pcCebqLJCKgcyqHtBZKHnX53WuOOvERiANW7Lx2c7FSd8QKTXvYjeABtwn3pYPykx23qJQuy/+C92RIXYC/nGXS1U/qveXvZOpTNzS+057xslqYWb3L3fKlltZAt9/XerNNaQ6xLggUXfNjqVKRd/sLqEaBEOn30nc x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(7916002)(199003)(189002)(13464003)(24454002)(2906002)(81166006)(122556002)(33656002)(77096006)(66066001)(92566002)(6506006)(38730400001)(68736007)(2900100001)(8936002)(97736004)(189998001)(229853002)(86362001)(8676002)(81156014)(3660700001)(3846002)(76176999)(54356999)(6116002)(102836003)(53936002)(105586002)(50986999)(3280700002)(9686003)(25786008)(106356001)(106116001)(6436002)(4326007)(74316002)(54906002)(55016002)(99286003)(2950100002)(6916009)(101416001)(5660300001)(7696004)(93886004)(305945005)(110136003)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1609; H:AM5PR0401MB2514.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; x-ms-office365-filtering-correlation-id: 5f1ae1cb-b0c6-4e25-095a-08d44b6a759f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:HE1PR04MB1609; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123558025)(20161123555025)(6042181)(6072148); SRVR:HE1PR04MB1609; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1609; x-forefront-prvs: 02065A9E77 received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2017 12:53:17.5583 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1609 Subject: Re: [dpdk-dev] [PATCH v4 2/6] eventdev: define southbound driver interface 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, 02 Feb 2017 12:53:21 -0000 > -----Original Message----- > From: Bruce Richardson [mailto:bruce.richardson@intel.com] > Sent: Thursday, February 02, 2017 17:04 > To: Nipun Gupta > Cc: Jerin Jacob ; dev@dpdk.org; > thomas.monjalon@6wind.com; Hemant Agrawal ; > gage.eads@intel.com; harry.van.haaren@intel.com > Subject: Re: [dpdk-dev] [PATCH v4 2/6] eventdev: define southbound driver > interface >=20 > On Thu, Feb 02, 2017 at 11:19:51AM +0000, Nipun Gupta wrote: > > > > > > > -----Original Message----- > > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jerin Jacob > > > Sent: Wednesday, December 21, 2016 14:55 > > > To: dev@dpdk.org > > > Cc: thomas.monjalon@6wind.com; bruce.richardson@intel.com; Hemant > > > Agrawal ; gage.eads@intel.com; > > > harry.van.haaren@intel.com; Jerin Jacob > > > > > > Subject: [dpdk-dev] [PATCH v4 2/6] eventdev: define southbound > > > driver interface > > > > > > Signed-off-by: Jerin Jacob > > > Acked-by: Bruce Richardson > > > --- > > > lib/librte_eventdev/rte_eventdev.h | 38 +++++ > > > lib/librte_eventdev/rte_eventdev_pmd.h | 294 > > > +++++++++++++++++++++++++++++++++ > > > 2 files changed, 332 insertions(+) > > > create mode 100644 lib/librte_eventdev/rte_eventdev_pmd.h > > > > > > > > > > > > +typedef int (*eventdev_port_link_t)(void *port, > > > + const uint8_t queues[], const uint8_t priorities[], > > > + uint16_t nb_links); > > > > I think having event device as input parameter to the port_link & > > port_unlink will be required so that queue configuration can be fetched= from > the event device. > > > Or each port structure in each driver can have a pointer back to its cont= aining > eventdev. That is what we have done in our SW eventdev driver. That's one solution, but I think having device in the API will be more clea= ner here, just like it is provided in other configuration API's? Thanks, Nipun >=20 > /Bruce