[PATCH] ethdev: remove init_color from METER_MARK action
Ferruh Yigit
ferruh.yigit at amd.com
Fri Oct 13 21:05:24 CEST 2023
On 10/12/2023 10:16 AM, Ori Kam wrote:
> Hi Gregory,
>
>> -----Original Message-----
>> From: Gregory Etelson <getelson at nvidia.com>
>> Sent: Tuesday, August 8, 2023 1:01 PM
>>
>> 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>
>>
>
> Acked-by: Ori Kam <orika at nvidia.com>
>
>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list