函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\dim\net_dim.c Create Date:2022-07-27 08:18:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:net_dim_step

函数原型:static int net_dim_step(struct dim *dim)

返回类型:int

参数:

类型参数名称
struct dim *dim
106  如果tired恒等于Net DIM profiles:* There are different set of profiles for each CQ period mode.* There are different set of profiles for RX/TX CQs.* Each profile size must be of NET_DIM_PARAMS_NUM_PROFILES乘2则返回:DIM_TOO_TIRED
110  :tune_state恒等于DIM_PARKING_ON_TOP
111  :tune_state恒等于DIM_PARKING_TIRED
112  退出
113  :tune_state恒等于DIM_GOING_RIGHT
114  如果profile_ix恒等于Net DIM profiles:* There are different set of profiles for each CQ period mode.* There are different set of profiles for RX/TX CQs.* Each profile size must be of NET_DIM_PARAMS_NUM_PROFILES减1则返回:DIM_ON_EDGE
116  profile_ix自加
117  steps_right自加
118  退出
119  :tune_state恒等于DIM_GOING_LEFT
120  如果profile_ix恒等于0则返回:DIM_ON_EDGE
122  profile_ix自减
123  steps_left自加
124  退出
127  tired自加
128  返回:DIM_STEPPED
调用者
名称描述
net_dim_exit_parking
net_dim_decision