summaryrefslogtreecommitdiffstats
path: root/include/net/pkt_cls.h
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/net/pkt_cls.h
parent8c4083b30e56fc71b0e94c26374b32d95d5ea461 (diff)
downloadop-kernel-dev-6e40cf2d4dee9dc22ff398041ce876bef8172dea.zip
op-kernel-dev-6e40cf2d4dee9dc22ff398041ce876bef8172dea.tar.gz
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/net/pkt_cls.h')
-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 41bc7d7..5c50af8 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 {
OpenPOWER on IntegriCloud