[PATCH] ethdev: remove init_color from METER_MARK action
Ferruh Yigit
ferruh.yigit at amd.com
Tue Oct 10 11:55:26 CEST 2023
On 8/8/2023 11:00 AM, Gregory Etelson wrote:
> Indirect list API defines 2 types of action update:
> • Action mutable context is always shared between all flows
> that referenced indirect actions list handle.
> Action mutable context can be changed by explicit invocation
> of indirect handle update function.
> • Flow mutable context is private to a flow.
> Flow mutable context can be updated by indirect list handle
> flow rule configuration.
>
> `METER_MARK::init_color` is flow resource.
> Current flows implementation placed `init_color` in the
> `rte_flow_action_meter_mark` making it action level resource.
>
> The patch removes `init_color` from the `rte_flow_action_meter_mark`
> structure.
>
> API change:
> The patch removed:
> • struct rte_flow_action_meter_mark::init_color
>
> • struct rte_flow_update_meter_mark::init_color_valid
>
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
>
Ori, et al.,
mechanics of the patches looks good, and mlx is the only user,
if there is no objection it will be merged in a few days.
More information about the dev
mailing list