diff options
author | Nogah Frankel <nogahf@mellanox.com> | 2017-12-25 10:51:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-02 13:17:45 -0500 |
commit | 8234af2db3614d78b49e77ef46ea8cfab6586568 (patch) | |
tree | c0aff4a155d19ce10b30b9afc61227fc3fb8bb9c /Kconfig | |
parent | 75ce7191eac5972405d1752a991bc002c2957b65 (diff) | |
download | linux-8234af2db3614d78b49e77ef46ea8cfab6586568.tar.bz2 |
net_sch: red: Fix the new offload indication
Update the offload flag, TCQ_F_OFFLOADED, in each dump call (and ignore
the offloading function return value in relation to this flag).
This is done because a qdisc is being initialized, and therefore offloaded
before being grafted. Since the ability of the driver to offload the qdisc
depends on its location, a qdisc can be offloaded and un-offloaded by graft
calls, that doesn't effect the qdisc itself.
Fixes: 428a68af3a7c ("net: sched: Move to new offload indication in RED"
Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Reviewed-by: Yuval Mintz <yuvalm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions