diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-03-24 02:30:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-24 20:48:39 +0100 |
commit | 563ae557dd4eebb11472a1c264d40bfc08470395 (patch) | |
tree | d4e1915671b7f1acc6932c1453f513a45f134b2c /include/net/flow_offload.h | |
parent | netfilter: flowtable: bridge vlan hardware offload and switchdev (diff) | |
download | linux-563ae557dd4eebb11472a1c264d40bfc08470395.tar.xz linux-563ae557dd4eebb11472a1c264d40bfc08470395.zip |
net: flow_offload: add FLOW_ACTION_PPPOE_PUSH
Add an action to represent the PPPoE hardware offload support that
includes the session ID.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flow_offload.h')
-rw-r--r-- | include/net/flow_offload.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h index fde025c57b4f..dc5c1e69cd9f 100644 --- a/include/net/flow_offload.h +++ b/include/net/flow_offload.h @@ -147,6 +147,7 @@ enum flow_action_id { FLOW_ACTION_MPLS_POP, FLOW_ACTION_MPLS_MANGLE, FLOW_ACTION_GATE, + FLOW_ACTION_PPPOE_PUSH, NUM_FLOW_ACTIONS, }; @@ -274,6 +275,9 @@ struct flow_action_entry { u32 num_entries; struct action_gate_entry *entries; } gate; + struct { /* FLOW_ACTION_PPPOE_PUSH */ + u16 sid; + } pppoe; }; struct flow_action_cookie *cookie; /* user defined action cookie */ }; |