mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
net: sched: red: inform offloads about harddrop setting
To mirror software behaviour on offload more precisely inform the drivers about the state of the harddrop flag. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
cae5f48e32
commit
190852a55e
2 changed files with 2 additions and 0 deletions
|
|
@ -807,6 +807,7 @@ struct tc_red_qopt_offload_params {
|
|||
u32 max;
|
||||
u32 probability;
|
||||
bool is_ecn;
|
||||
bool is_harddrop;
|
||||
struct gnet_stats_queue *qstats;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue