net/virtio: unmap queue/irq when closing
authorJianfeng Tan <jianfeng.tan@intel.com>
Tue, 17 Jan 2017 07:10:28 +0000 (07:10 +0000)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 17 Jan 2017 08:26:59 +0000 (09:26 +0100)
commit9ebdeefee8f38a77d661e93f6b9f7a7da45af491
treec2e0b6b07c4a064a1202d349dcd8e42e822a0e5d
parent349a447b47a3e1bb83760560938ed707a109e9a8
net/virtio: unmap queue/irq when closing

When closing virtio devices, close eventfds, free the struct to
store queue/irq mapping.

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Tested-by: Lei Yao <lei.a.yao@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/virtio/virtio_ethdev.c