--- zzzz-none-000/linux-5.15.111/net/openvswitch/flow.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/net/openvswitch/flow.h 2024-02-07 10:23:30.000000000 +0000 @@ -3,6 +3,16 @@ * Copyright (c) 2007-2017 Nicira, Inc. */ +/* + * Includes Inango Systems Ltd’s changes/modifications dated: 2021. + * Changed/modified portions - Copyright (c) 2021 , Inango Systems Ltd. + */ + +/* + Includes MaxLinear's changes dated: 2021, 2022. + Changed portions - Copyright 2021, 2022 MaxLinear, Inc. +*/ + #ifndef FLOW_H #define FLOW_H 1 @@ -213,11 +223,24 @@ int stats_last_writer; /* CPU id of the last writer on * 'stats[0]'. */ + int acl_state; /*hold value that say about session is accelerated, not accelerated or undefined.*/ + u32 pp_am_id; /* acceleration module id */ + struct { + u64 bytes; + u64 packets; + unsigned long last_used; + } am_stats; /* For saving statistics from acceleration module + * and retrieving them in the moment of flow deletion + */ + u32 session_timeout; /* session timeout in ms */ struct sw_flow_key key; struct sw_flow_id id; struct cpumask cpu_used_mask; struct sw_flow_mask *mask; struct sw_flow_actions __rcu *sf_acts; + u32 flow_type; + u8 local; + int is_proactive; struct sw_flow_stats __rcu *stats[]; /* One for each CPU. First one * is allocated at flow creation time, * the rest are allocated on demand