numam-dpdk/drivers/net/virtio
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
..
virtio_user net/virtio-user: enable multiqueue with kernel vhost 2017-01-17 09:24:56 +01:00
Makefile net/virtio-user: support kernel vhost 2017-01-17 09:24:56 +01:00
rte_pmd_virtio_version.map virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_ethdev.c net/virtio: setup Rx queue interrupts 2017-01-17 09:26:54 +01:00
virtio_ethdev.h net/virtio: add Rx descriptor check 2017-01-17 09:26:47 +01:00
virtio_logs.h virtio: fix newline under debug mode 2016-05-10 10:52:01 -07:00
virtio_pci.c net/virtio: add PCI operation for queue/irq binding 2017-01-17 09:26:49 +01:00
virtio_pci.h net/virtio: add PCI operation for queue/irq binding 2017-01-17 09:26:49 +01:00
virtio_ring.h net/virtio: fix used index retrieved only once 2016-06-22 09:47:12 +02:00
virtio_rxtx_simple_neon.c net/virtio: add NEON based Rx handler 2016-09-28 02:18:39 +02:00
virtio_rxtx_simple_sse.c net/virtio: move SSE based Rx code to separate file 2016-09-28 02:18:39 +02:00
virtio_rxtx_simple.c net/virtio: move SSE based Rx code to separate file 2016-09-28 02:18:39 +02:00
virtio_rxtx_simple.h net/virtio: move SSE based Rx code to separate file 2016-09-28 02:18:39 +02:00
virtio_rxtx.c net/virtio: add Rx descriptor check 2017-01-17 09:26:47 +01:00
virtio_rxtx.h net/virtio: cleanup conditional compilation 2016-09-28 02:18:39 +02:00
virtio_user_ethdev.c net/virtio-user: fix not properly reset device 2017-01-17 09:23:27 +01:00
virtqueue.c net/virtio: add Rx interrupt enable/disable functions 2017-01-17 09:26:52 +01:00
virtqueue.h net/virtio: add Rx interrupt enable/disable functions 2017-01-17 09:26:52 +01:00