aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-10-19 15:50:32 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-21 03:04:07 +0100
commit208c0f4b5237f1d6611b2c679a8022d6901577d6 (patch)
tree7a4e4893cbbdca353d7d4b917044a1a528943c62 /include
parentnet: sched: introduce per-block callbacks (diff)
downloadlinux-dev-208c0f4b5237f1d6611b2c679a8022d6901577d6.tar.xz
linux-dev-208c0f4b5237f1d6611b2c679a8022d6901577d6.zip
net: sched: use tc_setup_cb_call to call per-block callbacks
Extend the tc_setup_cb_call entrypoint function originally used only for action egress devices callbacks to call per-block callbacks as well. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/pkt_cls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h
index 4bc6b1cc245d..fcca5a9d9880 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -543,8 +543,8 @@ tcf_match_indev(struct sk_buff *skb, int ifindex)
}
#endif /* CONFIG_NET_CLS_IND */
-int tc_setup_cb_call(struct tcf_exts *exts, enum tc_setup_type type,
- void *type_data, bool err_stop);
+int tc_setup_cb_call(struct tcf_block *block, struct tcf_exts *exts,
+ enum tc_setup_type type, void *type_data, bool err_stop);
enum tc_block_command {
TC_BLOCK_BIND,