[PATCH] event/dlb2: remove unnecessary timer call

Aaron Conole aconole at redhat.com
Wed Dec 13 22:31:47 CET 2023


Bruce Richardson <bruce.richardson at intel.com> writes:

> On Wed, Dec 13, 2023 at 11:50:46AM -0500, Aaron Conole wrote:
>> Bruce Richardson <bruce.richardson at intel.com> writes:
>> 
>> > We only need to consult the timer value when the driver waits for a
>> > timeout, so skip making the call to get the current timer/TSC value if
>> > the timeout is zero, as no wait will ever be done.
>> >
>> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
>> > ---
>> 
>> Had a bad config value - retrying again.
>> 
>> (Apologies to Bruce for the noise on this patch)
>> 
> No problem!
> We are going for the record for best-checked patch in DPDK history, right? :-)

Absolutely!  If we're removing a call, best be safe.



More information about the dev mailing list