> -----Original Message----- > From: McDaniel, Timothy <[email protected]> > Sent: Friday, September 11, 2020 2:19 PM > Cc: [email protected]; Carrillo, Erik G <[email protected]>; Eads, Gage > <[email protected]>; Van Haaren, Harry <[email protected]>; > [email protected] > Subject: [PATCH v4 21/22] event/dlb: add timeout ticks entry point > > Adds the timeout ticks conversion function. > > Signed-off-by: Timothy McDaniel <[email protected]> > --- > drivers/event/dlb/dlb.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/drivers/event/dlb/dlb.c b/drivers/event/dlb/dlb.c > index d9613ce..b7fa0ca 100644 > --- a/drivers/event/dlb/dlb.c > +++ b/drivers/event/dlb/dlb.c > @@ -3895,6 +3895,18 @@ dlb_eventdev_queue_release(struct rte_eventdev > *dev, uint8_t id) > */ > } > > +static int > +dlb_eventdev_timeout_ticks(struct rte_eventdev *dev, uint64_t ns, > + uint64_t *timeout_ticks) > +{ > + RTE_SET_USED(dev); > + uint64_t cycles_per_ns = cycles_per_ns = rte_get_timer_hz() / 1E9; I'm a little surprised GCC allowed this :P. With that self-assignment fixed: Reviewed-by: Gage Eads <[email protected]> Thanks, Gage

