diff options
author | wenxu <wenxu@ucloud.cn> | 2020-06-18 20:49:09 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-19 20:12:58 -0700 |
commit | 66f1939a1b705305df820d65f4d9a8457d05759c (patch) | |
tree | 056c00a6747398a6c196af346e08d744063a8e19 /include/net/flow_offload.h | |
parent | 26f2eb27d081081dbea6d3c11602c9ece36f4d9c (diff) | |
download | linux-66f1939a1b705305df820d65f4d9a8457d05759c.tar.bz2 |
flow_offload: use flow_indr_block_cb_alloc/remove function
Prepare fix the bug in the next patch. use flow_indr_block_cb_alloc/remove
function and remove the __flow_block_indr_binding.
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flow_offload.h')
-rw-r--r-- | include/net/flow_offload.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h index bf4343042956..1961c7982273 100644 --- a/include/net/flow_offload.h +++ b/include/net/flow_offload.h @@ -545,7 +545,9 @@ static inline void flow_block_init(struct flow_block *flow_block) } typedef int flow_indr_block_bind_cb_t(struct net_device *dev, void *cb_priv, - enum tc_setup_type type, void *type_data); + enum tc_setup_type type, void *type_data, + void *data, + void (*cleanup)(struct flow_block_cb *block_cb)); int flow_indr_dev_register(flow_indr_block_bind_cb_t *cb, void *cb_priv); void flow_indr_dev_unregister(flow_indr_block_bind_cb_t *cb, void *cb_priv, |