On Thu, Feb 02, 2017 at 11:19:51AM +0000, Nipun Gupta wrote: > > > > -----Original Message----- > > From: dev [mailto:[email protected]] On Behalf Of Jerin Jacob > > Sent: Wednesday, December 21, 2016 14:55 > > To: [email protected] > > Cc: [email protected]; [email protected]; Hemant > > Agrawal <[email protected]>; [email protected]; > > [email protected]; Jerin Jacob <[email protected]> > > Subject: [dpdk-dev] [PATCH v4 2/6] eventdev: define southbound driver > > interface > > > > Signed-off-by: Jerin Jacob <[email protected]> > > Acked-by: Bruce Richardson <[email protected]> > > --- > > 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 > > > > <snip> > > > +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 containing eventdev. That is what we have done in our SW eventdev driver.
/Bruce

