net: sched: Move to new offload indication in RED
authorYuval Mintz <yuvalm@mellanox.com>
Thu, 14 Dec 2017 13:54:30 +0000 (15:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 18:35:36 +0000 (13:35 -0500)
commit428a68af3a7c3a3380ff1f750a24d213f370f89f
treec9acf73a94a808c8141c9fe2b133033a5fd5b753
parent7a4fa29106d9a38ef005f5ab15d493c259f269c0
net: sched: Move to new offload indication in RED

Let RED utilize the new internal flag, TCQ_F_OFFLOADED,
to mark a given qdisc as offloaded instead of using a dedicated
indication.

Also, change internal logic into looking at said flag when possible.

Fixes: 602f3baf2218 ("net_sch: red: Add offload ability to RED qdisc")
Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_red.c