diff mbox series

[1/1] RDMA/rxe: Remove reliable datagram support

Message ID 20221112023537.432912-1-yanjun.zhu@intel.com (mailing list archive)
State Accepted
Delegated to: Jason Gunthorpe
Headers show
Series [1/1] RDMA/rxe: Remove reliable datagram support | expand

Commit Message

Zhu Yanjun Nov. 12, 2022, 2:35 a.m. UTC
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(-)

Comments

Jason Gunthorpe Nov. 18, 2022, 11:58 p.m. UTC | #1
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
Jason Gunthorpe Nov. 19, 2022, 12:07 a.m. UTC | #2
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
diff mbox series

Patch

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)