RE: [RFC PATCH v2] ethdev: add indirect list flow action

2023-05-03 Thread Gregory Etelson
Hello Ivan, > Overall, the idea of action list indirection sounds good. > But why deprecate the existing indirect action API? Deprecation is not necessary. If the decision is to keep existing indirect action API, it must be updated to differentiate between action mutable and flow mutable update p

Re: [RFC PATCH v2] ethdev: add indirect list flow action

2023-05-02 Thread Ivan Malov
Hi Gregory, Overall, the idea of action list indirection sounds good. But why deprecate the existing indirect action API? Are there any strong reasons for that? This action should probably stay. Well, at least, I wouldn't expect this patch to immediately introduce some transition period. Let's cr

[RFC PATCH v2] ethdev: add indirect list flow action

2023-05-02 Thread Gregory Etelson
Indirect API creates a shared flow action with unique action handle. Flow rules can access the shared flow action and resources related to that action through the indirect action handle. In addition, the API allows to update existing shared flow action configuration. After the update completes, ne