]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: sched: remove handle propagation down to the drivers
authorJiri Pirko <jiri@mellanox.com>
Wed, 9 Aug 2017 12:30:34 +0000 (14:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 20:47:01 +0000 (13:47 -0700)
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>
include/net/pkt_cls.h

index 1f1de20e584f464e46827363561591b05a2ac4d0..bd9dd79357febf8324087fd99f7796f626f80f9a 100644 (file)
@@ -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;