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
..
2017-08-01 00:08:12 +02:00
2017-10-06 02:49:47 +02:00
2017-04-04 19:02:45 +02:00
2018-01-29 10:48:16 +01:00
2017-04-28 14:46:18 +02:00
2018-01-16 18:47:49 +01:00
2018-03-30 14:08:43 +02:00
2018-02-08 18:42:14 +01:00
2018-02-08 18:42:14 +01:00
2018-02-13 18:17:30 +01:00
2018-03-30 14:08:43 +02:00
2017-08-05 11:37:09 +02:00
2018-01-21 15:51:52 +01:00
2018-02-08 19:02:14 +01:00