Skip to content

Commit 563ae55

Browse files
ummakynesdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 26267bf commit 563ae55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/net/flow_offload.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ enum flow_action_id {
147147
FLOW_ACTION_MPLS_POP,
148148
FLOW_ACTION_MPLS_MANGLE,
149149
FLOW_ACTION_GATE,
150+
FLOW_ACTION_PPPOE_PUSH,
150151
NUM_FLOW_ACTIONS,
151152
};
152153

@@ -274,6 +275,9 @@ struct flow_action_entry {
274275
u32 num_entries;
275276
struct action_gate_entry *entries;
276277
} gate;
278+
struct { /* FLOW_ACTION_PPPOE_PUSH */
279+
u16 sid;
280+
} pppoe;
277281
};
278282
struct flow_action_cookie *cookie; /* user defined action cookie */
279283
};

0 commit comments

Comments
 (0)