Re: [PATCH net-next,v3 01/11] net: flow_offload: add flow_block_cb_setup_simple()

Jakub Kicinski
2019-07-09T01:30:18Z

On Mon, 8 Jul 2019 18:06:03 +0200, Pablo Neira Ayuso wrote:
> Most drivers do the same thing to set up the flow block callbacks, this
> patch adds a helper function to do this.
>
> This preparation patch reduces the number of changes to adapt the
> existing drivers to use the flow block callback API.
>
> This new helper function takes a flow block list per-driver, which is
> set to NULL until this driver list is used.
>
> This patch also introduces the flow_block_command and
> flow_block_binder_type enumerations, which are renamed to use
> FLOW_BLOCK_* in follow up patches.
>
> There are three definitions (aliases) in order to reduce the number of
> updates in this patch, which go away once drivers are fully adapted to
> use this flow block API.
>
> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>

Thanks!