diff options
| author | Guangbin Huang <[email protected]> | 2021-08-28 06:55:19 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-28 10:20:05 +0000 |
| commit | 7f2f8cf6ef668c1c745e229023f98663f47aa702 (patch) | |
| tree | 742180d5708cb9a85467439aa4e9945f5b16e411 /net/unix/af_unix.c | |
| parent | net: hns3: add new function hclge_get_speed_bit() (diff) | |
| download | kernel-7f2f8cf6ef668c1c745e229023f98663f47aa702.tar.gz kernel-7f2f8cf6ef668c1c745e229023f98663f47aa702.zip | |
net: hns3: don't config TM DWRR twice when set ETS
The function hclge_tm_dwrr_cfg() will be called twice in function
hclge_ieee_setets() when map_changed is true, the calling flow is
hclge_ieee_setets()
hclge_map_update()
| hclge_tm_schd_setup_hw()
| hclge_tm_dwrr_cfg()
hclge_notify_init_up()
hclge_tm_dwrr_cfg()
It is no need to call hclge_tm_dwrr_cfg() twice actually, so just
return after calling hclge_notify_init_up().
Signed-off-by: Guangbin Huang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
