Hyong Youb Kim 0f872d3129 net/enic: support Rx queue interrupts
Enable rx queue interrupts if the app requests them, and vNIC has
enough interrupt resources. Use interrupt vector 0 for link status and
errors. Use vector 1 for rx queue 0, vector 2 for rx queue 1, and so
on. So, with n rx queues, vNIC needs to have at n + 1 interrupts.

For VIC, enabling and disabling rx queue interrupts are simply
mask/unmask operations. VIC's credit based interrupt moderation is not
used, as the app wants to explicitly control when to enable/disable
interrupts.

This version requires MSI-X (vfio-pci). Sharing one interrupt for link
status and rx queues is possible, but is rather complex and has no
user demands.

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
2018-03-30 14:08:43 +02:00
..
2018-01-16 18:47:49 +01:00
2018-01-16 18:47:49 +01:00
2018-02-08 14:13:18 +01:00
2017-11-12 05:02:42 +01:00
2017-10-06 03:24:17 +02:00
2017-10-06 02:49:50 +02:00
2018-03-30 14:08:43 +02:00
2018-01-29 10:04:28 +01:00
2017-07-06 15:00:56 +02:00
2017-11-12 05:02:42 +01:00
2017-11-12 05:02:42 +01:00
2017-11-12 05:02:42 +01:00
2017-04-04 15:52:50 +02:00
2017-10-13 01:18:48 +01:00
2017-10-12 01:36:58 +01:00
2017-10-12 01:36:58 +01:00
2018-02-13 18:17:30 +01:00