mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 00:24:58 +08:00
RDMA/rxe: Fix comments about removed tasklets
The commit9b4b7c1f9f
("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:9b4b7c1f9f
("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>
This commit is contained in:
parent
a7dae5daf4
commit
42b0a5e691
@ -826,7 +826,7 @@ int rxe_completer(struct rxe_qp *qp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* A non-zero return value will cause rxe_do_task to
|
/* 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
|
* will continue looping and return to rxe_completer
|
||||||
*/
|
*/
|
||||||
done:
|
done:
|
||||||
|
@ -112,7 +112,7 @@ enum rxe_device_param {
|
|||||||
RXE_INFLIGHT_SKBS_PER_QP_HIGH = 64,
|
RXE_INFLIGHT_SKBS_PER_QP_HIGH = 64,
|
||||||
RXE_INFLIGHT_SKBS_PER_QP_LOW = 16,
|
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
|
* before yielding the cpu to let other
|
||||||
* work make progress
|
* work make progress
|
||||||
*/
|
*/
|
||||||
|
@ -853,7 +853,7 @@ int rxe_requester(struct rxe_qp *qp)
|
|||||||
update_state(qp, &pkt);
|
update_state(qp, &pkt);
|
||||||
|
|
||||||
/* A non-zero return value will cause rxe_do_task to
|
/* 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
|
* will continue looping and return to rxe_requester
|
||||||
*/
|
*/
|
||||||
done:
|
done:
|
||||||
|
@ -1654,7 +1654,7 @@ int rxe_responder(struct rxe_qp *qp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* A non-zero return value will cause rxe_do_task to
|
/* 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
|
* will continue looping and return to rxe_responder
|
||||||
*/
|
*/
|
||||||
done:
|
done:
|
||||||
|
Loading…
Reference in New Issue
Block a user