Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Default TCP Small queue budget is ~1 ms of data (1sec >> 10)* Some wifi drivers need to tweak it to get more chunks.* They can use this helper from their ndo_start_xmit()

Proto:static inline void sk_pacing_shift_update(struct sock *sk, int val)

Type:void

Parameter:

TypeParameterName
struct sock *sk
intval
2591  If Not sk || Not This helper checks if a socket is a full socket,* ie _not_ a timewait or request socket. || READ_ONCE(sk_pacing_shift) == val Then Return
2593  WRITE_ONCE(sk_pacing_shift, val)