diff options
author | Peng Li <lipeng321@huawei.com> | 2021-02-09 10:41:53 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-09 15:34:07 -0800 |
commit | 9d2a1cea6997ecd4f05833dfffb9907ffaa41bf5 (patch) | |
tree | 0d6f5764ba812c92f0364f938e4a210c8ae6131b /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | |
parent | ae9e492a366433b97be414d2e90a2e24f8446abf (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