net: hns3: fix VF interrupt clearing error for revision 0x20
driver inclusion
category: bugfix
bugzilla: NA
CVE: NA
For revision 0x21, interrupt clear register is writing 0 clear
register, it means write 0 will clear the bit, write 1 make no
sence. So should just write 0 to the interrupt bit, other bits
keep 1.
For revision 0x20, this interrupt clear register is a read & write
register, for the bit has not interrupt, can not write 1, otherwise
it will be 1.
So this patch adds a compatible handler for revision 0x20.
Fixes: a8a77dda7665 ("net: hns3: fix interrupt clearing error for VF")
Feature or Bugfix:Bugfix
Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
Reviewed-by: Nlipeng <lipeng321@huawei.com>
Reviewed-by: NYunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录