summaryrefslogtreecommitdiff
path: root/include/net/pkt_cls.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-08-09 15:30:34 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-11 23:47:01 +0300
commit237f79d24ebe1eb9b5651b7342ba5cc9d9b8f222 (patch)
tree7884ffc710f61fc7f67e20f2826149d83af48bd2 /include/net/pkt_cls.h
parenta2e8da9378cc09e2e922a0b3d481bd9d07c3d245 (diff)
downloadlinux-237f79d24ebe1eb9b5651b7342ba5cc9d9b8f222.tar.xz
net: sched: remove handle propagation down to the drivers
There is no longer need to use handle in drivers, so remove it from tc_cls_common_offload struct. 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, 0 insertions, 2 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h
index 1f1de20e584f..bd9dd79357fe 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -406,7 +406,6 @@ tcf_match_indev(struct sk_buff *skb, int ifindex)
#endif /* CONFIG_NET_CLS_IND */
struct tc_cls_common_offload {
- u32 handle;
u32 chain_index;
__be16 protocol;
u32 prio;
@@ -417,7 +416,6 @@ static inline void
tc_cls_common_offload_init(struct tc_cls_common_offload *cls_common,
const struct tcf_proto *tp)
{
- cls_common->handle = tp->q->handle;
cls_common->chain_index = tp->chain->index;
cls_common->protocol = tp->protocol;
cls_common->prio = tp->prio;