[PATCH] RDMA/rxe: fix typos in comments

Purushothaman Ramalingam posted 1 patch 1 week, 5 days ago
drivers/infiniband/sw/rxe/rxe.c       | 2 +-
drivers/infiniband/sw/rxe/rxe_param.h | 2 +-
drivers/infiniband/sw/rxe/rxe_resp.c  | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
[PATCH] RDMA/rxe: fix typos in comments
Posted by Purushothaman Ramalingam 1 week, 5 days ago
Fix typos found by codespell in driver comments:

  rxe.c:       s/mangagement/management/
  rxe_param.h: s/interations/iterations/
  rxe_resp.c:  s/recive/receive/

No functional change.

Signed-off-by: Purushothaman Ramalingam <purush.ramalingam@gmail.com>
---
 drivers/infiniband/sw/rxe/rxe.c       | 2 +-
 drivers/infiniband/sw/rxe/rxe_param.h | 2 +-
 drivers/infiniband/sw/rxe/rxe_resp.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/infiniband/sw/rxe/rxe.c b/drivers/infiniband/sw/rxe/rxe.c
index b0714f9ab..af39209d0 100644
--- a/drivers/infiniband/sw/rxe/rxe.c
+++ b/drivers/infiniband/sw/rxe/rxe.c
@@ -81,7 +81,7 @@ static void rxe_init_device_param(struct rxe_dev *rxe, struct net_device *ndev)
 	} else {
 		/*
 		 * This device does not have a HW address, but
-		 * connection mangagement requires a unique gid.
+		 * connection management requires a unique gid.
 		 */
 		eth_random_addr(rxe->raw_gid);
 	}
diff --git a/drivers/infiniband/sw/rxe/rxe_param.h b/drivers/infiniband/sw/rxe/rxe_param.h
index 767870568..1cc77c46b 100644
--- a/drivers/infiniband/sw/rxe/rxe_param.h
+++ b/drivers/infiniband/sw/rxe/rxe_param.h
@@ -109,7 +109,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 work item
+	/* Max number of iterations of each work item
 	 * before yielding the cpu to let other
 	 * work make progress
 	 */
diff --git a/drivers/infiniband/sw/rxe/rxe_resp.c b/drivers/infiniband/sw/rxe/rxe_resp.c
index 9cb2f6fbf..d8d1b7f2f 100644
--- a/drivers/infiniband/sw/rxe/rxe_resp.c
+++ b/drivers/infiniband/sw/rxe/rxe_resp.c
@@ -1505,7 +1505,7 @@ static int flush_recv_wqe(struct rxe_qp *qp, struct rxe_recv_wqe *wqe)
 	return err;
 }
 
-/* drain and optionally complete the recive queue
+/* drain and optionally complete the receive queue
  * if unable to complete a wqe stop completing and
  * just flush the remaining wqes
  */
-- 
2.53.0
Re: [PATCH] RDMA/rxe: fix typos in comments
Posted by Jason Gunthorpe 1 week, 3 days ago
On Wed, May 27, 2026 at 10:45:26AM +0000, Purushothaman Ramalingam wrote:
> Fix typos found by codespell in driver comments:
> 
>   rxe.c:       s/mangagement/management/
>   rxe_param.h: s/interations/iterations/
>   rxe_resp.c:  s/recive/receive/
> 
> No functional change.
> 
> Signed-off-by: Purushothaman Ramalingam <purush.ramalingam@gmail.com>
> Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
> ---
>  drivers/infiniband/sw/rxe/rxe.c       | 2 +-
>  drivers/infiniband/sw/rxe/rxe_param.h | 2 +-
>  drivers/infiniband/sw/rxe/rxe_resp.c  | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Applied thanks

Jason
Re: [PATCH] RDMA/rxe: fix typos in comments
Posted by Zhu Yanjun 1 week, 5 days ago
在 2026/5/27 3:45, Purushothaman Ramalingam 写道:
> Fix typos found by codespell in driver comments:
>
>    rxe.c:       s/mangagement/management/
>    rxe_param.h: s/interations/iterations/
>    rxe_resp.c:  s/recive/receive/

Thanks a lot. I am fine with this.

Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>

Zhu Yanjun

>
> No functional change.
>
> Signed-off-by: Purushothaman Ramalingam <purush.ramalingam@gmail.com>
> ---
>   drivers/infiniband/sw/rxe/rxe.c       | 2 +-
>   drivers/infiniband/sw/rxe/rxe_param.h | 2 +-
>   drivers/infiniband/sw/rxe/rxe_resp.c  | 2 +-
>   3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/infiniband/sw/rxe/rxe.c b/drivers/infiniband/sw/rxe/rxe.c
> index b0714f9ab..af39209d0 100644
> --- a/drivers/infiniband/sw/rxe/rxe.c
> +++ b/drivers/infiniband/sw/rxe/rxe.c
> @@ -81,7 +81,7 @@ static void rxe_init_device_param(struct rxe_dev *rxe, struct net_device *ndev)
>   	} else {
>   		/*
>   		 * This device does not have a HW address, but
> -		 * connection mangagement requires a unique gid.
> +		 * connection management requires a unique gid.
>   		 */
>   		eth_random_addr(rxe->raw_gid);
>   	}
> diff --git a/drivers/infiniband/sw/rxe/rxe_param.h b/drivers/infiniband/sw/rxe/rxe_param.h
> index 767870568..1cc77c46b 100644
> --- a/drivers/infiniband/sw/rxe/rxe_param.h
> +++ b/drivers/infiniband/sw/rxe/rxe_param.h
> @@ -109,7 +109,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 work item
> +	/* Max number of iterations of each work item
>   	 * before yielding the cpu to let other
>   	 * work make progress
>   	 */
> diff --git a/drivers/infiniband/sw/rxe/rxe_resp.c b/drivers/infiniband/sw/rxe/rxe_resp.c
> index 9cb2f6fbf..d8d1b7f2f 100644
> --- a/drivers/infiniband/sw/rxe/rxe_resp.c
> +++ b/drivers/infiniband/sw/rxe/rxe_resp.c
> @@ -1505,7 +1505,7 @@ static int flush_recv_wqe(struct rxe_qp *qp, struct rxe_recv_wqe *wqe)
>   	return err;
>   }
>   
> -/* drain and optionally complete the recive queue
> +/* drain and optionally complete the receive queue
>    * if unable to complete a wqe stop completing and
>    * just flush the remaining wqes
>    */

-- 
Best Regards,
Yanjun.Zhu