From: Kalesh AP <kalesh-anakkur.pura...@broadcom.com> Adding support for recovery event in rte_eth_event framework. FW error and FW reset conditions would be managed by PMD. In such cases, PMD would need recovery events to notify application about PMD has recovered from FW reset or FW error.
Signed-off-by: Kalesh AP <kalesh-anakkur.pura...@broadcom.com> Signed-off-by: Ajit Khaparde <ajit.khapa...@broadcom.com> Reviewed-by: Somnath Kotur <somnath.ko...@broadcom.com> --- lib/librte_ethdev/rte_ethdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index d1a593a..0989f41 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -3015,6 +3015,7 @@ enum rte_eth_event_type { RTE_ETH_EVENT_NEW, /**< port is probed */ RTE_ETH_EVENT_DESTROY, /**< port is released */ RTE_ETH_EVENT_IPSEC, /**< IPsec offload related event */ + RTE_ETH_EVENT_RECOVERED, /**< port recovered from an error */ RTE_ETH_EVENT_MAX /**< max value of this enum */ }; -- 2.10.1