On 11 Oct 2026, at 8:32, Eli Britstein via dev wrote:

> On 06/10/2026 17:30, Eelco Chaudron wrote:
>> +/* Immutable structure that holds a set of actions. */
>> +struct offload_actions {
>> +    unsigned int size;       /* Size of 'actions', in bytes. */
> "size" field is never used. removing this makes this whole struct not needed.
>> +    struct nlattr actions[]; /* Sequence of OVS_ACTION_ATTR_* attributes. */

The size field is used, it is written in dummy_build_alt_actions()
and read in packet_batch_per_flow_execute() via an ALIGNED_CAST to
struct dp_netdev_actions *, where it is passed as actions_len to
dp_netdev_execute_actions().

>> +};
>> +
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to