numam-dpdk/drivers/net/ena
Michal Krawczyk f93e20e516 net/ena: check missing Tx completions
In some cases Tx descriptors may be uncompleted by the HW and as a
result they will never be released.

This patch adds checking for the missing Tx completions to the ENA timer
service, so in order to use this feature, the application must call the
function rte_timer_manage().

Missing Tx completion reset threshold is determined dynamically, by
taking into consideration ring size and the default value.

Tx cleanup is associated with the Tx burst function. As DPDK
applications can call Tx burst function dynamically, time when last
cleanup was called must be traced to avoid false detection of the
missing Tx completion.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Shai Brandes <shaibran@amazon.com>
2021-10-19 15:04:17 +02:00
..
base net/ena: use common debug options 2021-07-23 17:42:33 +02:00
ena_ethdev.c net/ena: check missing Tx completions 2021-10-19 15:04:17 +02:00
ena_ethdev.h net/ena: check missing Tx completions 2021-10-19 15:04:17 +02:00
ena_logs.h net/ena: use common debug options 2021-07-23 17:42:33 +02:00
ena_platform.h net/ena: remove endian swap functions 2021-05-11 15:00:44 +02:00
ena_rss.c net/ena: remove useless address check 2021-10-11 17:47:31 +02:00
meson.build net/ena: rework RSS configuration 2021-07-23 17:44:09 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00