Lines Matching refs:fqcd
15 FairQueueingControlledDelay *fqcd; in fair_queueing_controlled_delay_init() local
19 fqcd = FQ_CODEL(qdisc); in fair_queueing_controlled_delay_init()
21 fqcd->memory_limit = UINT32_MAX; in fair_queueing_controlled_delay_init()
22 fqcd->ce_threshold_usec = USEC_INFINITY; in fair_queueing_controlled_delay_init()
23 fqcd->ecn = -1; in fair_queueing_controlled_delay_init()
29 FairQueueingControlledDelay *fqcd; in fair_queueing_controlled_delay_fill_message() local
36 assert_se(fqcd = FQ_CODEL(qdisc)); in fair_queueing_controlled_delay_fill_message()
42 if (fqcd->packet_limit > 0) { in fair_queueing_controlled_delay_fill_message()
43 r = sd_netlink_message_append_u32(req, TCA_FQ_CODEL_LIMIT, fqcd->packet_limit); in fair_queueing_controlled_delay_fill_message()
48 if (fqcd->flows > 0) { in fair_queueing_controlled_delay_fill_message()
49 r = sd_netlink_message_append_u32(req, TCA_FQ_CODEL_FLOWS, fqcd->flows); in fair_queueing_controlled_delay_fill_message()
54 if (fqcd->quantum > 0) { in fair_queueing_controlled_delay_fill_message()
55 r = sd_netlink_message_append_u32(req, TCA_FQ_CODEL_QUANTUM, fqcd->quantum); in fair_queueing_controlled_delay_fill_message()
60 if (fqcd->interval_usec > 0) { in fair_queueing_controlled_delay_fill_message()
61 r = sd_netlink_message_append_u32(req, TCA_FQ_CODEL_INTERVAL, fqcd->interval_usec); in fair_queueing_controlled_delay_fill_message()
66 if (fqcd->target_usec > 0) { in fair_queueing_controlled_delay_fill_message()
67 r = sd_netlink_message_append_u32(req, TCA_FQ_CODEL_TARGET, fqcd->target_usec); in fair_queueing_controlled_delay_fill_message()
72 if (fqcd->ecn >= 0) { in fair_queueing_controlled_delay_fill_message()
73 r = sd_netlink_message_append_u32(req, TCA_FQ_CODEL_ECN, fqcd->ecn); in fair_queueing_controlled_delay_fill_message()
78 if (fqcd->ce_threshold_usec != USEC_INFINITY) { in fair_queueing_controlled_delay_fill_message()
79 … r = sd_netlink_message_append_u32(req, TCA_FQ_CODEL_CE_THRESHOLD, fqcd->ce_threshold_usec); in fair_queueing_controlled_delay_fill_message()
84 if (fqcd->memory_limit != UINT32_MAX) { in fair_queueing_controlled_delay_fill_message()
85 … r = sd_netlink_message_append_u32(req, TCA_FQ_CODEL_MEMORY_LIMIT, fqcd->memory_limit); in fair_queueing_controlled_delay_fill_message()
110 FairQueueingControlledDelay *fqcd; in config_parse_fair_queueing_controlled_delay_u32() local
129 fqcd = FQ_CODEL(qdisc); in config_parse_fair_queueing_controlled_delay_u32()
132 p = &fqcd->packet_limit; in config_parse_fair_queueing_controlled_delay_u32()
134 p = &fqcd->flows; in config_parse_fair_queueing_controlled_delay_u32()
171 FairQueueingControlledDelay *fqcd; in config_parse_fair_queueing_controlled_delay_usec() local
190 fqcd = FQ_CODEL(qdisc); in config_parse_fair_queueing_controlled_delay_usec()
193 p = &fqcd->target_usec; in config_parse_fair_queueing_controlled_delay_usec()
195 p = &fqcd->interval_usec; in config_parse_fair_queueing_controlled_delay_usec()
197 p = &fqcd->ce_threshold_usec; in config_parse_fair_queueing_controlled_delay_usec()
237 FairQueueingControlledDelay *fqcd; in config_parse_fair_queueing_controlled_delay_bool() local
255 fqcd = FQ_CODEL(qdisc); in config_parse_fair_queueing_controlled_delay_bool()
258 fqcd->ecn = -1; in config_parse_fair_queueing_controlled_delay_bool()
272 fqcd->ecn = r; in config_parse_fair_queueing_controlled_delay_bool()
291 FairQueueingControlledDelay *fqcd; in config_parse_fair_queueing_controlled_delay_size() local
311 fqcd = FQ_CODEL(qdisc); in config_parse_fair_queueing_controlled_delay_size()
314 p = &fqcd->memory_limit; in config_parse_fair_queueing_controlled_delay_size()
316 p = &fqcd->quantum; in config_parse_fair_queueing_controlled_delay_size()