diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-08-09 14:30:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-11 22:47:01 +0200 |
commit | 7b06e8aed283081010596c98a67f06c595affe51 (patch) | |
tree | 3235e5848cd8d033f4e4c3abbd8dbb392c4f9e54 /net/sched/cls_matchall.c | |
parent | net: sched: remove handle propagation down to the drivers (diff) | |
download | linux-7b06e8aed283081010596c98a67f06c595affe51.tar.xz linux-7b06e8aed283081010596c98a67f06c595affe51.zip |
net: sched: remove cops->tcf_cl_offload
cops->tcf_cl_offload is no longer needed, as the drivers check what they
can and cannot offload using the classid identify helpers. So remove this.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_matchall.c')
-rw-r--r-- | net/sched/cls_matchall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/cls_matchall.c b/net/sched/cls_matchall.c index d44e26fdae84..d4dc387f7a56 100644 --- a/net/sched/cls_matchall.c +++ b/net/sched/cls_matchall.c @@ -92,7 +92,7 @@ static void mall_destroy(struct tcf_proto *tp) if (!head) return; - if (tc_should_offload(dev, tp, head->flags)) + if (tc_should_offload(dev, head->flags)) mall_destroy_hw_filter(tp, head, (unsigned long) head); call_rcu(&head->rcu, mall_destroy_rcu); @@ -172,7 +172,7 @@ static int mall_change(struct net *net, struct sk_buff *in_skb, if (err) goto err_set_parms; - if (tc_should_offload(dev, tp, flags)) { + if (tc_should_offload(dev, flags)) { err = mall_replace_hw_filter(tp, new, (unsigned long) new); if (err) { if (tc_skip_sw(flags)) |