RDMA/erdma: Add a workqueue for WRs reflushing
authorCheng Xu <chengyou@linux.alibaba.com>
Wed, 16 Nov 2022 02:31:05 +0000 (10:31 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 24 Nov 2022 18:58:52 +0000 (14:58 -0400)
commit35765dccaf3485575a4420da529c72484c980345
tree0850cc561f33843ba0eaff6e22e4348af38febbc
parentb4d46c57d2fb0fa2611fa2ffbaf715925989f83f
RDMA/erdma: Add a workqueue for WRs reflushing

ERDMA driver use a workqueue for asynchronous reflush command posting.
Implement the lifecycle of this workqueue.

Link: https://lore.kernel.org/r/20221116023107.82835-2-chengyou@linux.alibaba.com
Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/erdma/erdma.h
drivers/infiniband/hw/erdma/erdma_main.c