]> git.droids-corp.org - dpdk.git/commit
net/ena: make link status change interrupt configurable
authorMichal Krawczyk <mk@semihalf.com>
Wed, 23 Feb 2022 12:19:29 +0000 (13:19 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Feb 2022 18:01:02 +0000 (19:01 +0100)
commitb9b05d6f8607cca36b21afe81ddd101314c98447
treea4d9cd77b935c8c1dc2c1116a6585c34aa1be4bc
parent84daba9962b52ce91c671138be7405dacd619d84
net/ena: make link status change interrupt configurable

ENA uses AENQ for notification about various events, like LSC, keep
alive etc. By default it was enabling all AENQ that were supported by
both the driver and the device. As a result the LSC was always processed
even if the application turned it off explicitly.

As the DPDK provides application with the possibility to configure the
LSC, ENA should respect that. AENQ groups are now being updated upon
configure step, thus LSC can be activated or disabled between ENA PMD
reconfigurations. Moreover, the LSC capability for the device is being
determined dynamically.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Dawid Gorecki <dgr@semihalf.com>
Reviewed-by: Shai Brandes <shaibran@amazon.com>
doc/guides/rel_notes/release_22_03.rst
drivers/net/ena/ena_ethdev.c
drivers/net/ena/ena_ethdev.h