Skip to content

Commit

Permalink
RDMA/hns: Refactor hns_roce_v2_poll_one()
Browse files Browse the repository at this point in the history
Encapsulate the process of obtaining the current QP and filling WC as
functions, also merge some duplicate code.

Link: https://lore.kernel.org/r/1616815294-13434-2-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
  • Loading branch information
Weihang Li authored and Jason Gunthorpe committed Apr 1, 2021
1 parent d907294 commit 4940b0a
Showing 1 changed file with 224 additions and 179 deletions.
Loading

0 comments on commit 4940b0a

Please sign in to comment.