examples/l3fwd-power: fix Rx without interrupt
authorNikhil Agarwal <nikhil.agarwal@linaro.org>
Tue, 12 Dec 2017 10:08:23 +0000 (15:38 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 15 Jan 2018 17:40:10 +0000 (18:40 +0100)
commit4ffc0a883b233969ba6ce38b8c21c62153751a45
treef7a374d733d6be54eac99f5bcc7c9b5d7d745cf2
parentc53a5faf7e337ab562157b238c004e00516a09f4
examples/l3fwd-power: fix Rx without interrupt

This existing code cause the platform to start receiving packet
immediately irrespective of interrupts available or not.
If the platform does not support Rx interrupt, it shall not start
receiving packets immediately. It shall let the timer management work.

Fixes: aee3bc79cc34 ("examples/l3fwd-power: enable one-shot Rx interrupt and polling switch")
Cc: stable@dpdk.org
Signed-off-by: Nikhil Agarwal <nikhil.agarwal@linaro.org>
Acked-by: David Hunt <david.hunt@intel.com>
examples/l3fwd-power/main.c