aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-10-19 15:50:30 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-21 03:04:06 +0100
commit6e40cf2d4dee9dc22ff398041ce876bef8172dea (patch)
treeacc1df16328e26197603105771c7d803d133fe3b /include
parentnet: sched: add block bind/unbind notif. and extended block_get/put (diff)
downloadlinux-dev-6e40cf2d4dee9dc22ff398041ce876bef8172dea.tar.xz
linux-dev-6e40cf2d4dee9dc22ff398041ce876bef8172dea.zip
net: sched: use extended variants of block_get/put in ingress and clsact qdiscs
Use previously introduced extended variants of block get and put functions. This allows to specify a binder types specific to clsact ingress/egress which is useful for drivers to distinguish who actually got the block. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h
index 41bc7d774047..5c50af8f7183 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -19,6 +19,8 @@ int unregister_tcf_proto_ops(struct tcf_proto_ops *ops);
enum tcf_block_binder_type {
TCF_BLOCK_BINDER_TYPE_UNSPEC,
+ TCF_BLOCK_BINDER_TYPE_CLSACT_INGRESS,
+ TCF_BLOCK_BINDER_TYPE_CLSACT_EGRESS,
};
struct tcf_block_ext_info {