Commit 66b1000f authored by wangsirong's avatar wangsirong Committed by Zheng Zengkai
Browse files

RDMA/hns: Encapsulate flushing CQE as a function

mainline inclusion
from mainline-v5.12-rc1
commit c462a024
category: bugfix
bugzilla: 174002
CVE:NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c462a0242bd938967c9a69c41364f80e188c1a7a

----------------------------------------------------------------------

    The process of flushing CQE can be encapsultated into a function, which
    can reduce duplicate code.

    Link: https://lore.kernel.org/r/1624011020-16992-9-git-send-email-liweihang@huawei

.
com
    Signed-off-by: default avatarWenpeng Liang <liangwenpeng@huawei.com>
    Signed-off-by: default avatarWeihang Li <liweihang@huawei.com>
    Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>

Reviewed-by: default avatarChunZhi Hu <huchunzhi@huawei.com>

Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent b7a7e167
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment