numam-dpdk/doc
Jianfeng Tan 26b683b4f7 net/virtio: setup Rx queue interrupts
This patch mainly allocates structure to store queue/irq mapping,
and configure queue/irq mapping down through PCI ops. It also creates
eventfds for each Rx queue and tell the kernel about the eventfd/intr
binding.

Note: So far, we hard-code 1:1 queue/irq mapping (each rx queue has
one exclusive interrupt), like this:
  vec 0 -> config irq
  vec 1 -> rxq0
  vec 2 -> rxq1
  ...

which means, the "vectors" option of QEMU should be configured with
a value >= N+1 (N is the number of the queue pairs).

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>
2017-01-17 09:26:54 +01:00
..
api eal: define generic vector types 2017-01-04 21:50:19 +01:00
guides net/virtio: setup Rx queue interrupts 2017-01-17 09:26:54 +01:00
logo doc: change theme of guides 2015-12-13 22:30:47 +01:00
build-sdk-quick.txt mk: stop on warning only in developer build 2016-03-03 11:33:14 +01:00