These actions need to be added to support bcm sf2 features available through the ethtool_rx_flow interface.
Reviewed-by: Florian Fainelli <f.faine...@gmail.com> Signed-off-by: Pablo Neira Ayuso <pa...@netfilter.org> --- v3: no changes. include/net/flow_offload.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h index 8c1235fb6ed2..7205abd6cac6 100644 --- a/include/net/flow_offload.h +++ b/include/net/flow_offload.h @@ -116,6 +116,8 @@ enum flow_action_id { FLOW_ACTION_ADD, FLOW_ACTION_CSUM, FLOW_ACTION_MARK, + FLOW_ACTION_WAKE, + FLOW_ACTION_QUEUE, }; /* This is mirroring enum pedit_header_type definition for easy mapping between @@ -150,6 +152,7 @@ struct flow_action_entry { const struct ip_tunnel_info *tunnel; /* FLOW_ACTION_TUNNEL_ENCAP */ u32 csum_flags; /* FLOW_ACTION_CSUM */ u32 mark; /* FLOW_ACTION_MARK */ + u32 queue_index; /* FLOW_ACTION_QUEUE */ }; }; -- 2.11.0