linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] RDMA/rxe: Remove reliable datagram support
@ 2022-11-12  2:35 Zhu Yanjun
  2022-11-18 23:58 ` Jason Gunthorpe
  2022-11-19  0:07 ` Jason Gunthorpe
  0 siblings, 2 replies; 3+ messages in thread
From: Zhu Yanjun @ 2022-11-12  2:35 UTC (permalink / raw)
  To: zyjzyj2000, jgg, leon, linux-rdma; +Cc: Zhu Yanjun

From: Zhu Yanjun <yanjun.zhu@linux.dev>

The rdma_rxe driver does not actually support the reliable datagram
transport but contains a variable with RD opcodes in driver code.
And this variable is never used. So remove it.

Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
---
 drivers/infiniband/sw/rxe/rxe_hdr.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/infiniband/sw/rxe/rxe_hdr.h b/drivers/infiniband/sw/rxe/rxe_hdr.h
index e432f9e37795..804594b76040 100644
--- a/drivers/infiniband/sw/rxe/rxe_hdr.h
+++ b/drivers/infiniband/sw/rxe/rxe_hdr.h
@@ -742,7 +742,6 @@ enum aeth_syndrome {
 	AETH_NAK_INVALID_REQ	= 0x61,
 	AETH_NAK_REM_ACC_ERR	= 0x62,
 	AETH_NAK_REM_OP_ERR	= 0x63,
-	AETH_NAK_INV_RD_REQ	= 0x64,
 };
 
 static inline u8 __aeth_syn(void *arg)
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] RDMA/rxe: Remove reliable datagram support
  2022-11-12  2:35 [PATCH 1/1] RDMA/rxe: Remove reliable datagram support Zhu Yanjun
@ 2022-11-18 23:58 ` Jason Gunthorpe
  2022-11-19  0:07 ` Jason Gunthorpe
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2022-11-18 23:58 UTC (permalink / raw)
  To: Zhu Yanjun; +Cc: zyjzyj2000, leon, linux-rdma, Zhu Yanjun

On Fri, Nov 11, 2022 at 09:35:37PM -0500, Zhu Yanjun wrote:
> From: Zhu Yanjun <yanjun.zhu@linux.dev>
> 
> The rdma_rxe driver does not actually support the reliable datagram
> transport but contains a variable with RD opcodes in driver code.
> And this variable is never used. So remove it.
> 
> Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
> ---
>  drivers/infiniband/sw/rxe/rxe_hdr.h | 1 -
>  1 file changed, 1 deletion(-)

Applied to for-next, thanks

Jason

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] RDMA/rxe: Remove reliable datagram support
  2022-11-12  2:35 [PATCH 1/1] RDMA/rxe: Remove reliable datagram support Zhu Yanjun
  2022-11-18 23:58 ` Jason Gunthorpe
@ 2022-11-19  0:07 ` Jason Gunthorpe
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2022-11-19  0:07 UTC (permalink / raw)
  To: Zhu Yanjun; +Cc: zyjzyj2000, leon, linux-rdma, Zhu Yanjun

On Fri, Nov 11, 2022 at 09:35:37PM -0500, Zhu Yanjun wrote:
> From: Zhu Yanjun <yanjun.zhu@linux.dev>
> 
> The rdma_rxe driver does not actually support the reliable datagram
> transport but contains a variable with RD opcodes in driver code.
> And this variable is never used. So remove it.
> 
> Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
> ---
>  drivers/infiniband/sw/rxe/rxe_hdr.h | 1 -
>  1 file changed, 1 deletion(-)

Applied to for-next, thanks

Jason

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-19  1:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-12  2:35 [PATCH 1/1] RDMA/rxe: Remove reliable datagram support Zhu Yanjun
2022-11-18 23:58 ` Jason Gunthorpe
2022-11-19  0:07 ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).