examples/l3fwd-power: select default mode automatically
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 19 Jun 2020 10:53:55 +0000 (11:53 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 11 Jul 2020 11:32:37 +0000 (13:32 +0200)
commit11159dd669c043412dfa43708f1c4b7f4f47037a
tree0537b7e29d788cf2301a57a7169e7c01c794237d
parent20ab67608a396e152e5f7d0ebaa18f664c0508fb
examples/l3fwd-power: select default mode automatically

Currently, the application does support running without the power
library being initialized, but it has to be specifically requested. On
platforms without support for frequency scaling using the power library,
we can just enable interrupt-only mode by default.

Suggested-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Tested-by: Harman Kalra <hkalra@marvell.com>
examples/l3fwd-power/main.c