Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\ctrlmondata.c Create Date:2022-07-28 08:12:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:parse_bw_intel

Proto:int parse_bw_intel(struct rdt_parse_data *data, struct rdt_resource *r, struct rdt_domain *d)

Type:int

Parameter:

TypeParameterName
struct rdt_parse_data *data
struct rdt_resource *r
struct rdt_domain *d
112  If have_new_ctrl Then
113  rdt_last_cmd_printf("Duplicate domain %d\n", id)
114  Return -EINVAL
117  If Not Check whether MBA bandwidth percentage value is correct. The value is* checked against the minimum and max bandwidth values specified by the* hardware. The allocated bandwidth percentage is rounded to the next* control step available on the hardware. Then Return -EINVAL
119  new_ctrl = bw_val
120  have_new_ctrl = true
122  Return 0