# RE: \[PATCH v4 03/10\] flow\_offload: add index to flow\_action\_entry structure

- From: Baowen Zheng \<hidden\>
- Date: 2021-11-19 07:03:59 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/11/11216512
- Thread: https://ratatoskr.run/netdev/2021/11/11216438/t.md

```text
Thanks Jakub for bring this to us.
On November 19, 2021 2:31 PM, Jakub Kicinski wrote:
>On Thu, 18 Nov 2021 14:07:58 +0100 Simon Horman wrote:
>> From: Baowen Zheng <redacted>
>>
>> Add index to flow_action_entry structure and delete index from police
>> and gate child structure.
>>
>> We make this change to offload tc action for driver to identify a tc
>> action.
>>
>> Signed-off-by: Baowen Zheng <redacted>
>> Signed-off-by: Simon Horman <redacted>
>
>drivers/net/ethernet/mscc/ocelot_flower.c:306:43: error: ‘const struct
><anonymous>’ has no member named ‘index’
>  306 |                         pol_ix = a->police.index + ocelot->vcap_pol.base;
>      |                                           ^
Thanks, this new change was delivered yesterday and our patch broke it.  We will make the change in the V5 patches. 
```
