examples/l3fwd-power: fix interrupt disable
authorXiao Wang <xiao.w.wang@intel.com>
Tue, 21 Jan 2020 03:06:57 +0000 (22:06 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 14 Feb 2020 11:49:21 +0000 (12:49 +0100)
commit49dcf7b98e87a5d2880693da4c09af11e58f3447
tree8015a238c5d969fca887b446f0af9f25f036712a
parentdd22d31721b38dd49b7eb7b6c7a3802c9c3cb02e
examples/l3fwd-power: fix interrupt disable

Since all related queues' interrupts are turned on before epoll, we need
to turn off all the interrupts after wakeup. This patch fixes the issue
of only turning off the interrupted queues.

Fixes: b736d64787fc ("examples/l3fwd-power: disable Rx interrupt when waking up")
Cc: stable@dpdk.org
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Tested-by: Harman Kalra <hkalra@marvell.com>
Reviewed-by: Liang Ma <liang.j.ma@intel.com>
Tested-by: Liang Ma <liang.j.ma@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
examples/l3fwd-power/main.c