net: sched: make egress_dev flag part of flower offload struct
Since this is specific to flower now, make it part of the flower offload struct. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ade9b65884
commit
3e0e826643
@@ -259,7 +259,7 @@ static int fl_hw_replace_filter(struct tcf_proto *tp,
|
||||
return tc_skip_sw(f->flags) ? -EINVAL : 0;
|
||||
}
|
||||
dev = f->hw_dev;
|
||||
tc->egress_dev = true;
|
||||
offload.egress_dev = true;
|
||||
} else {
|
||||
f->hw_dev = dev;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user