Thu, Jun 20, 2019 at 09:49:15PM CEST, [email protected] wrote:
[...]
>diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h
>index 36127c1858a4..728ded7e4361 100644
>--- a/include/net/flow_offload.h
>+++ b/include/net/flow_offload.h
>@@ -232,4 +232,56 @@ static inline void flow_stats_update(struct flow_stats
>*flow_stats,
> flow_stats->lastused = max_t(u64, flow_stats->lastused, lastused);
> }
>
>+#include <net/sch_generic.h> /* for tc_setup_cb_t. */
>+
>+enum flow_block_command {
>+ TC_BLOCK_BIND,
>+ TC_BLOCK_UNBIND,
It's not TC now. You should name these FLOW_BLOCK_BIND/UNBIND
>+};
>+
>+enum flow_block_binder_type {
>+ TCF_BLOCK_BINDER_TYPE_UNSPEC,
>+ TCF_BLOCK_BINDER_TYPE_CLSACT_INGRESS,
>+ TCF_BLOCK_BINDER_TYPE_CLSACT_EGRESS,
Same here.
>+};
>+
[...]