[PATCH v2] ethdev: Align enable logic handling with disable functions

Thomas Monjalon thomas at monjalon.net
Mon Jul 21 15:09:40 CEST 2025


21/07/2025 15:05, Sunyang Wu:
> This patch modifies the handling logic of the "enable" related
> operations. The key intention is to align it with the processing
> approach of the "disable" functions.
> Previously, there was an inconsistency in how failure scenarios were
> dealt with between the "enable" and "disable" logic. Now, after
> adjustment, their behaviors in exceptional cases are made more uniform.
> Importantly, this change does not introduce any alteration to the actual
> runtime behavior of the functions; it only serves to enhance code
> consistency and maintainability, making the overall logic easier to
> understand and maintain in the long run.
> In this way, we ensure the codebase follows a more cohesive pattern,
> reducing potential confusion during future development and maintenance
> efforts that could stem from logical disparities.
> 
> Cc: stable at dpdk.org

No need this Cc, as it is an improvement, no need to backport.





More information about the dev mailing list