numam-dpdk/examples/l3fwd-power
Jianfeng Tan e2a6f1246e examples/l3fwd-power: fix stop and close on signal
As it gets killed, in SIGINT signal handler, device is not stopped
and closed. In virtio's case, vector assignment in the KVM is not
deassigned.

This patch will invoke dev_stop() and dev_close() in signal handler.

Fixes: d7937e2e3d ("power: initial import")

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Tested-by: Lei Yao <lei.a.yao@intel.com>
2017-01-17 09:27:16 +01:00
..
main.c examples/l3fwd-power: fix stop and close on signal 2017-01-17 09:27:16 +01:00
Makefile examples: skip unsupported ethtool and l3fwd-power on FreeBSD 2015-12-14 10:36:52 +01:00