Re: [PATCH net-next v2] netfilter: Fix incorrect tc_setup_type type for flowtable offload

David Miller
2020-03-27T03:04:11Z

From: wenxu@ucloud.cn
Date: Tue, 24 Mar 2020 07:34:25 +0800

> From: wenxu <wenxu@ucloud.cn>
>
> Flowtable offload setup flow_offlod_block in TC_SETP_FT. The indr block
> offload of flowtable also should setup in TC_SETUP_FT.
> But flow_indr_block_call always sets the tc_set_up_type as TC_SETUP_BLOCK.
> So function flow_indr_block_call should expose a parameters to set
> the tc_setup_type for each offload subsystem.
>
> Fixes: b5140a36da78 ("netfilter: flowtable: add indr block setup support")
> Signed-off-by: wenxu <wenxu@ucloud.cn>
> ---
> v2: modify the comments

Do the netfilter folks want to take this or should I apply it directly?

Thanks.