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:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:parse_bw_amd

Proto:int parse_bw_amd(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
57  If have_new_ctrl Then
58  rdt_last_cmd_printf("Duplicate domain %d\n", id)
59  Return -EINVAL
62  If Not Check whether MBA bandwidth percentage value is correct. The value is* checked against the minimum and maximum bandwidth values specified by* the hardware. The allocated bandwidth percentage is rounded to the next* control step available on the hardware. Then Return -EINVAL
65  new_ctrl = bw_val
66  have_new_ctrl = true
68  Return 0