net/virtio: store IO port info locally
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Fri, 6 Jan 2017 10:16:18 +0000 (18:16 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 17 Jan 2017 08:20:18 +0000 (09:20 +0100)
commit1ca893f11d1d47c13535805c3ec7ca11e26cbe03
tree76e8626d9c2b64fa40dc030b3a196bbfa231d5f8
parent553f45932fb797e9fbd6342016e0dd53e1f61fc7
net/virtio: store IO port info locally

Like vtpci_ops, the rte_pci_ioport has to store in local memory. This
is basically for the rte_pci_device field is allocated from process
local memory, but not from shared memory.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/virtio/virtio_pci.c
drivers/net/virtio/virtio_pci.h