26b683b4f7
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>
27 lines
648 B
INI
27 lines
648 B
INI
;
|
|
; Supported features of the 'virtio' network poll mode driver.
|
|
;
|
|
; Refer to default.ini for the full list of available PMD features.
|
|
;
|
|
[Features]
|
|
Link status = Y
|
|
Rx interrupt = Y
|
|
Queue start/stop = Y
|
|
Scattered Rx = Y
|
|
Promiscuous mode = Y
|
|
Allmulticast mode = Y
|
|
Unicast MAC filter = Y
|
|
Multicast MAC filter = Y
|
|
VLAN filter = Y
|
|
Basic stats = Y
|
|
Stats per queue = Y
|
|
Multiprocess aware = Y
|
|
BSD nic_uio = Y
|
|
Linux UIO = Y
|
|
Linux VFIO = Y
|
|
ARMv7 = Y
|
|
ARMv8 = Y
|
|
x86-32 = Y
|
|
x86-64 = Y
|
|
Usage doc = Y
|