Thread (3 messages) 3 messages, 3 authors, 2015-07-27

Re: [PATCH] eal: fix set_tsc_freq

flat view

From: Thomas Monjalon <hidden>
Date: 2015-07-27 12:42:38

2015-07-27 13:17, Sergio Gonzalez Monroy:
Fix error where TSC freq is 0.

The logical OR operator evaluates to 1 if any of its operands is
different than 0.

Error showed later while initializing PMD:
EAL: TSC frequency is ~0 KHz
<snip>
PMD: eth_ixgbe_dev_init(): Hardware Initialization Failure: -30
EAL: Error - exiting with code: 1
  Cause: Requested device 0000:84:00.0 cannot be used

Fixes: 040cf8a41187 ("eal: deduplicate timer functions")

Signed-off-by: Sergio Gonzalez Monroy <redacted>
Applied, thanks for the quick test and fix, and sorry for the trivial error.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help