summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2021-02-09 10:41:53 +0800
committerDavid S. Miller <davem@davemloft.net>2021-02-09 15:34:07 -0800
commit9d2a1cea6997ecd4f05833dfffb9907ffaa41bf5 (patch)
tree0d6f5764ba812c92f0364f938e4a210c8ae6131b /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h
parentae9e492a366433b97be414d2e90a2e24f8446abf (diff)
net: hns3: remove the shaper param magic number
To make the code more readable, this patch adds a definition for the magic number 126 used for the default shaper param ir_b, and rename macro DIVISOR_IR_B_126. No functional change. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h')
0 files changed, 0 insertions, 0 deletions