net/ena: support Rx interrupt
authorMichal Krawczyk <mk@semihalf.com>
Fri, 23 Jul 2021 10:24:52 +0000 (12:24 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 23 Jul 2021 15:43:46 +0000 (17:43 +0200)
commit6986cdc4ddd905a1df58cf85c10516093f8a137c
tree1f792b346641463ec838839644b4f06680ab1c8f
parentb57e1053813b369d20bb2a177081a4c8ca63cede
net/ena: support Rx interrupt

In order to support asynchronous Rx in the applications, the driver has
to configure the event file descriptors and configure the HW.

This patch configures appropriate data structures for the rte_ethdev
layer, adds .rx_queue_intr_enable and .rx_queue_intr_disable API
handlers, and configures IO queues to work in the interrupt mode, if it
was requested by the application.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Artur Rojek <ar@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Shai Brandes <shaibran@amazon.com>
Reviewed-by: Shay Agroskin <shayagr@amazon.com>
doc/guides/nics/ena.rst
doc/guides/nics/features/ena.ini
doc/guides/rel_notes/release_21_08.rst
drivers/net/ena/ena_ethdev.c