Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sch_generic.h Create Date:2022-07-28 06:07:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:qdisc_update_stats_at_enqueue

Proto:static inline void qdisc_update_stats_at_enqueue(struct Qdisc *sch, unsigned int pkt_len)

Type:void

Parameter:

TypeParameterName
struct Qdisc *sch
unsigned intpkt_len
1115  If qdisc_is_percpu_stats(sch) Then
1116  qdisc_qstats_cpu_qlen_inc(sch)
1117  this_cpu_add(backlog, pkt_len)
1118  Else
1119  backlog += pkt_len
1120  qlen++