RDMA/rxe: Fix comments about removed tasklets
authorDaisuke Matsuda <matsuda-daisuke@fujitsu.com>
Thu, 18 May 2023 07:00:27 +0000 (16:00 +0900)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 19 May 2023 15:02:26 +0000 (12:02 -0300)
The commit 9b4b7c1f9f54 ("RDMA/rxe: Add workqueue support for rxe tasks")
removed tasklets and replaced them with a workqueue, but relevant comments
are still remaining in the source code.

Fixes: 9b4b7c1f9f54 ("RDMA/rxe: Add workqueue support for rxe tasks")
Link: https://lore.kernel.org/r/20230518070027.942715-1-matsuda-daisuke@fujitsu.com
Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
Reviewed-by: Bob Pearson <rpearsonhpe@gmail.com>
Acked-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_comp.c
drivers/infiniband/sw/rxe/rxe_param.h
drivers/infiniband/sw/rxe/rxe_req.c
drivers/infiniband/sw/rxe/rxe_resp.c

index db18ace74d2b53a8e0bbc68bc3d7cded8463d263..0c0ae214c3a9b7ca30d346e1b29ab6d1ceb1ab5d 100644 (file)
@@ -826,7 +826,7 @@ int rxe_completer(struct rxe_qp *qp)
        }
 
        /* A non-zero return value will cause rxe_do_task to
-        * exit its loop and end the tasklet. A zero return
+        * exit its loop and end the work item. A zero return
         * will continue looping and return to rxe_completer
         */
 done:
index 7b41d79e72b2dffc7709838046fbc43081d46592..d2f57ead78ad12d9328520c38289a21b7fe9906e 100644 (file)
@@ -112,7 +112,7 @@ enum rxe_device_param {
        RXE_INFLIGHT_SKBS_PER_QP_HIGH   = 64,
        RXE_INFLIGHT_SKBS_PER_QP_LOW    = 16,
 
-       /* Max number of interations of each tasklet
+       /* Max number of interations of each work item
         * before yielding the cpu to let other
         * work make progress
         */
index 65134a9aefe7bfe5f9ea71f57d237af5f61170ad..400840c913a9520a8da6bce4a8c82257ff26a528 100644 (file)
@@ -853,7 +853,7 @@ int rxe_requester(struct rxe_qp *qp)
        update_state(qp, &pkt);
 
        /* A non-zero return value will cause rxe_do_task to
-        * exit its loop and end the tasklet. A zero return
+        * exit its loop and end the work item. A zero return
         * will continue looping and return to rxe_requester
         */
 done:
index 68f6cd188d8ed2f943d89d15438f2189ed4c16fe..b92c41cdb62025106ff0875216ae3d704b531e2f 100644 (file)
@@ -1654,7 +1654,7 @@ int rxe_responder(struct rxe_qp *qp)
        }
 
        /* A non-zero return value will cause rxe_do_task to
-        * exit its loop and end the tasklet. A zero return
+        * exit its loop and end the work item. A zero return
         * will continue looping and return to rxe_responder
         */
 done: