18/04/2020 07:04, Bill Zhou: > From: Ferruh Yigit <ferruh.yi...@intel.com> > > On 4/14/2020 9:32 AM, Dong Zhou wrote: > > > --- 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_FLOW_AGED,/**< New aged-out flows is detected > > */ > > > RTE_ETH_EVENT_MAX /**< max value of this enum */ > > > }; > > > > > > Just recognized that this is failing in ABI check [1], as far as last time > > for a > > similar enum warning a QAT patch has been dropped, should this need to > > wait for > > 20.11 too? > > This patch is commonly used for flow aging, there are 2 other patches have > implement flow aging in mlx5 driver reply to this patch. > In our schedule, this feature is merged in 20.05 for some customers. Can it > be fixed?
These MAX values in enums are a pain. We can try to think what can be done, waiting 20.11. Not sure there is a solution, except hijacking an existing value not used in the PMD, waiting the definitive value in 20.11...