Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 237f79d2 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

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: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a2e8da93
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;