diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-05-29 02:25:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-01 20:41:50 +0200 |
commit | 709ffbe19b777e8fc952e2fdcfd8e6f50c8ef08c (patch) | |
tree | 1ef18393a6cb028d43eb40a0e90c05850dd5ab45 /include | |
parent | bnxt_tc: update indirect block support (diff) | |
download | linux-709ffbe19b777e8fc952e2fdcfd8e6f50c8ef08c.tar.xz linux-709ffbe19b777e8fc952e2fdcfd8e6f50c8ef08c.zip |
net: remove indirect block netdev event registration
Drivers do not register to netdev events to set up indirect blocks
anymore. Remove __flow_indr_block_cb_register() and
__flow_indr_block_cb_unregister().
The frontends set up the callbacks through flow_indr_dev_setup_block()
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/flow_offload.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h index 5493282348fa..69e13c8b6b3a 100644 --- a/include/net/flow_offload.h +++ b/include/net/flow_offload.h @@ -546,15 +546,6 @@ typedef void flow_indr_block_cmd_t(struct net_device *dev, flow_indr_block_bind_cb_t *cb, void *cb_priv, enum flow_block_command command); -struct flow_indr_block_entry { - flow_indr_block_cmd_t *cb; - struct list_head list; -}; - -void flow_indr_add_block_cb(struct flow_indr_block_entry *entry); - -void flow_indr_del_block_cb(struct flow_indr_block_entry *entry); - int __flow_indr_block_cb_register(struct net_device *dev, void *cb_priv, flow_indr_block_bind_cb_t *cb, void *cb_ident); |