Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\dim\rdma_dim.c Create Date:2022-07-28 07:19:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rdma_dim_decision

Proto:static bool rdma_dim_decision(struct dim_stats *curr_stats, struct dim *dim)

Type:bool

Parameter:

TypeParameterName
struct dim_stats *curr_stats
struct dim *dim
46  prev_ix = profile_ix
47  state = tune_state
51  If state != DIM_PARKING_ON_TOP && state != DIM_PARKING_TIRED Then
52  stats_res = rdma_dim_stats_compare(curr_stats, & prev_stats)
56  Case stats_res == DIM_STATS_SAME
59  Break
60  Case stats_res == DIM_STATS_WORSE
61  dim_turn(dim)
65  If step_res == DIM_ON_EDGE Then dim_turn(dim)
67  Break
71  prev_stats = curr_stats
73  Return profile_ix != prev_ix
Caller
NameDescribe
rdma_dim