Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
struct sock * | sk | |
int | val |
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) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |