File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,9 @@ struct fq_sched_data {
104104 unsigned long unthrottle_latency_ns ;
105105
106106 struct fq_flow internal ; /* for non classified or high prio packets */
107+
108+ /* Read mostly cache line */
109+
107110 u32 quantum ;
108111 u32 initial_quantum ;
109112 u32 flow_refill_delay ;
@@ -117,22 +120,27 @@ struct fq_sched_data {
117120 u8 rate_enable ;
118121 u8 fq_trees_log ;
119122 u8 horizon_drop ;
123+ u32 timer_slack ; /* hrtimer slack in ns */
124+
125+ /* Read/Write fields. */
126+
120127 u32 flows ;
121128 u32 inactive_flows ;
122129 u32 throttled_flows ;
123130
131+ u64 stat_throttled ;
132+ struct qdisc_watchdog watchdog ;
124133 u64 stat_gc_flows ;
134+
135+ /* Seldom used fields. */
136+
125137 u64 stat_internal_packets ;
126- u64 stat_throttled ;
127138 u64 stat_ce_mark ;
128139 u64 stat_horizon_drops ;
129140 u64 stat_horizon_caps ;
130141 u64 stat_flows_plimit ;
131142 u64 stat_pkts_too_long ;
132143 u64 stat_allocation_errors ;
133-
134- u32 timer_slack ; /* hrtimer slack in ns */
135- struct qdisc_watchdog watchdog ;
136144};
137145
138146/*
You can’t perform that action at this time.
0 commit comments