-----Original Message----- > Date: Thu, 20 Sep 2018 12:22:50 +0100 > From: Harry van Haaren <harry.van.haa...@intel.com> > To: dev@dpdk.org > CC: jerin.ja...@caviumnetworks.com, matias....@nokia.com, Harry van Haaren > <harry.van.haa...@intel.com> > Subject: [PATCH v2 2/3] event/sw: implement unlinks in progress function > X-Mailer: git-send-email 2.17.1 > > > This commit adds a counter to each port, which counts the > number of unlinks that have been performed. When the scheduler > thread starts its scheduling routine, it "acks" all unlinks that > have been requested, and the application is gauranteed that no > more events will be scheduled to the port from the unlinked queue. > > Signed-off-by: Harry van Haaren <harry.van.haa...@intel.com> > > --- > > > +static int > +sw_port_unlinks_in_progress(struct rte_eventdev *dev, void *port) > +{ > + struct sw_port *p = port; > + return p->unlinks_in_progress;
Compilation error: /export/dpdk-next-eventdev/drivers/event/sw/sw_evdev.c: In function ‘sw_port_unlinks_in_progress’: /export/dpdk-next-eventdev/drivers/event/sw/sw_evdev.c:124:50: error: unused parameter ‘dev’ [-Werror=unused-parameter] sw_port_unlinks_in_progress(struct rte_eventdev *dev, void *port) > +} > +