aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-11-08 19:50:38 -0800
committerDavid S. Miller <[email protected]>2018-11-08 20:48:01 -0800
commit190852a55edbe138503259ea1bb40c08be221d75 (patch)
tree7d030dc2be5cca817f6562e9b72f984d7a1aa325 /include
parentcae5f48e3234dda5bab6f7f361b5eff6d4cc77b2 (diff)
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 <[email protected]> Reviewed-by: John Hurley <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/net/pkt_cls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h
index 72ffb3120ced..00f71644fbcd 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -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;
};