net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()
[ Upstream commitc0605cd675] The value of lli_credit_cnt is incorrectly assigned, fix it. Fixes:a0337c0dee("hinic: add support to set and get irq coalesce") Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
62f0a08e82
commit
ce605b68db
1 changed files with 1 additions and 1 deletions
|
|
@ -892,7 +892,7 @@ int hinic_set_interrupt_cfg(struct hinic_hwdev *hwdev,
|
||||||
if (err)
|
if (err)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
interrupt_info->lli_credit_cnt = temp_info.lli_timer_cnt;
|
interrupt_info->lli_credit_cnt = temp_info.lli_credit_cnt;
|
||||||
interrupt_info->lli_timer_cnt = temp_info.lli_timer_cnt;
|
interrupt_info->lli_timer_cnt = temp_info.lli_timer_cnt;
|
||||||
|
|
||||||
err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM,
|
err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue