All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH] RDMA/rxe: Remove unused qp parameter
@ 2022-07-08  3:55 yangx.jy
  2022-07-18  8:26 ` Leon Romanovsky
  0 siblings, 1 reply; 9+ messages in thread
From: yangx.jy @ 2022-07-08  3:55 UTC (permalink / raw)
  To: linux-rdma; +Cc: leon, jgg, rpearsonhpe, zyjzyj2000, lizhijian, yangx.jy

The qp parameter in free_rd_atomic_resource() has become
unused so remove it directly.

Fixes: 15ae1375ea91 ("RDMA/rxe: Fix qp reference counting for atomic ops")
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
---
 drivers/infiniband/sw/rxe/rxe_loc.h  | 2 +-
 drivers/infiniband/sw/rxe/rxe_qp.c   | 6 +++---
 drivers/infiniband/sw/rxe/rxe_resp.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/infiniband/sw/rxe/rxe_loc.h b/drivers/infiniband/sw/rxe/rxe_loc.h
index 0e022ae1b8a5..336164843db4 100644
--- a/drivers/infiniband/sw/rxe/rxe_loc.h
+++ b/drivers/infiniband/sw/rxe/rxe_loc.h
@@ -145,7 +145,7 @@ static inline int rcv_wqe_size(int max_sge)
 		max_sge * sizeof(struct ib_sge);
 }
 
-void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res);
+void free_rd_atomic_resource(struct resp_res *res);
 
 static inline void rxe_advance_resp_resource(struct rxe_qp *qp)
 {
diff --git a/drivers/infiniband/sw/rxe/rxe_qp.c b/drivers/infiniband/sw/rxe/rxe_qp.c
index 8355a5b1cb60..9ecb98150e0e 100644
--- a/drivers/infiniband/sw/rxe/rxe_qp.c
+++ b/drivers/infiniband/sw/rxe/rxe_qp.c
@@ -120,14 +120,14 @@ static void free_rd_atomic_resources(struct rxe_qp *qp)
 		for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) {
 			struct resp_res *res = &qp->resp.resources[i];
 
-			free_rd_atomic_resource(qp, res);
+			free_rd_atomic_resource(res);
 		}
 		kfree(qp->resp.resources);
 		qp->resp.resources = NULL;
 	}
 }
 
-void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res)
+void free_rd_atomic_resource(struct resp_res *res)
 {
 	res->type = 0;
 }
@@ -140,7 +140,7 @@ static void cleanup_rd_atomic_resources(struct rxe_qp *qp)
 	if (qp->resp.resources) {
 		for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) {
 			res = &qp->resp.resources[i];
-			free_rd_atomic_resource(qp, res);
+			free_rd_atomic_resource(res);
 		}
 	}
 }
diff --git a/drivers/infiniband/sw/rxe/rxe_resp.c b/drivers/infiniband/sw/rxe/rxe_resp.c
index 265e46fe050f..28033849d404 100644
--- a/drivers/infiniband/sw/rxe/rxe_resp.c
+++ b/drivers/infiniband/sw/rxe/rxe_resp.c
@@ -562,7 +562,7 @@ static struct resp_res *rxe_prepare_res(struct rxe_qp *qp,
 
 	res = &qp->resp.resources[qp->resp.res_head];
 	rxe_advance_resp_resource(qp);
-	free_rd_atomic_resource(qp, res);
+	free_rd_atomic_resource(res);
 
 	res->type = type;
 	res->replay = 0;
-- 
2.34.1

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

* Re: [RESEND PATCH] RDMA/rxe: Remove unused qp parameter
  2022-07-08  3:55 [RESEND PATCH] RDMA/rxe: Remove unused qp parameter yangx.jy
@ 2022-07-18  8:26 ` Leon Romanovsky
  2022-07-18  8:58   ` yangx.jy
  0 siblings, 1 reply; 9+ messages in thread
From: Leon Romanovsky @ 2022-07-18  8:26 UTC (permalink / raw)
  To: yangx.jy; +Cc: linux-rdma, jgg, rpearsonhpe, zyjzyj2000, lizhijian

On Fri, Jul 08, 2022 at 03:55:50AM +0000, yangx.jy@fujitsu.com wrote:
> The qp parameter in free_rd_atomic_resource() has become
> unused so remove it directly.
> 
> Fixes: 15ae1375ea91 ("RDMA/rxe: Fix qp reference counting for atomic ops")
> Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
> ---
>  drivers/infiniband/sw/rxe/rxe_loc.h  | 2 +-
>  drivers/infiniband/sw/rxe/rxe_qp.c   | 6 +++---
>  drivers/infiniband/sw/rxe/rxe_resp.c | 2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)

The patch doesn't apply.

Thanks

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

* Re: [RESEND PATCH] RDMA/rxe: Remove unused qp parameter
  2022-07-18  8:26 ` Leon Romanovsky
@ 2022-07-18  8:58   ` yangx.jy
  2022-07-18 12:16     ` Leon Romanovsky
  0 siblings, 1 reply; 9+ messages in thread
From: yangx.jy @ 2022-07-18  8:58 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: linux-rdma, jgg, rpearsonhpe, zyjzyj2000, lizhijian

On 2022/7/18 16:26, Leon Romanovsky wrote:
> On Fri, Jul 08, 2022 at 03:55:50AM +0000, yangx.jy@fujitsu.com wrote:
>> The qp parameter in free_rd_atomic_resource() has become
>> unused so remove it directly.
>>
>> Fixes: 15ae1375ea91 ("RDMA/rxe: Fix qp reference counting for atomic ops")
>> Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
>> ---
>>   drivers/infiniband/sw/rxe/rxe_loc.h  | 2 +-
>>   drivers/infiniband/sw/rxe/rxe_qp.c   | 6 +++---
>>   drivers/infiniband/sw/rxe/rxe_resp.c | 2 +-
>>   3 files changed, 5 insertions(+), 5 deletions(-)
> 
> The patch doesn't apply.
> 
> Thanks

Hi Leon,

Could you tell me why it doesn't apply?

Best Regards,
Xiao Yang

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

* Re: [RESEND PATCH] RDMA/rxe: Remove unused qp parameter
  2022-07-18  8:58   ` yangx.jy
@ 2022-07-18 12:16     ` Leon Romanovsky
  2022-07-19  2:22       ` yangx.jy
  0 siblings, 1 reply; 9+ messages in thread
From: Leon Romanovsky @ 2022-07-18 12:16 UTC (permalink / raw)
  To: yangx.jy; +Cc: linux-rdma, jgg, rpearsonhpe, zyjzyj2000, lizhijian

On Mon, Jul 18, 2022 at 08:58:32AM +0000, yangx.jy@fujitsu.com wrote:
> On 2022/7/18 16:26, Leon Romanovsky wrote:
> > On Fri, Jul 08, 2022 at 03:55:50AM +0000, yangx.jy@fujitsu.com wrote:
> >> The qp parameter in free_rd_atomic_resource() has become
> >> unused so remove it directly.
> >>
> >> Fixes: 15ae1375ea91 ("RDMA/rxe: Fix qp reference counting for atomic ops")
> >> Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
> >> ---
> >>   drivers/infiniband/sw/rxe/rxe_loc.h  | 2 +-
> >>   drivers/infiniband/sw/rxe/rxe_qp.c   | 6 +++---
> >>   drivers/infiniband/sw/rxe/rxe_resp.c | 2 +-
> >>   3 files changed, 5 insertions(+), 5 deletions(-)
> > 
> > The patch doesn't apply.
> > 
> > Thanks
> 
> Hi Leon,
> 
> Could you tell me why it doesn't apply?

Please, try to apply the patch to wip/leon-for-next branch.

Thanks

> 
> Best Regards,
> Xiao Yang

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

* Re: [RESEND PATCH] RDMA/rxe: Remove unused qp parameter
  2022-07-18 12:16     ` Leon Romanovsky
@ 2022-07-19  2:22       ` yangx.jy
  2022-07-19  8:32         ` Leon Romanovsky
  0 siblings, 1 reply; 9+ messages in thread
From: yangx.jy @ 2022-07-19  2:22 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: linux-rdma, jgg, rpearsonhpe, zyjzyj2000, lizhijian

On 2022/7/18 20:16, Leon Romanovsky wrote:
> Please, try to apply the patch to wip/leon-for-next branch.
> 
> Thanks

Hi Leon,

It's OK to apply it to wip/leon-for-next branch on my environment.  Did 
I miss something?

# git pull rdma wip/leon-for-next
 From https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
  * branch                      wip/leon-for-next -> FETCH_HEAD
Already up to date.
# git am 0001-RDMA-rxe-Remove-unused-qp-parameter.patch
Applying: RDMA/rxe: Remove unused qp parameter

Best Regards,
Xiao Yang

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

* Re: [RESEND PATCH] RDMA/rxe: Remove unused qp parameter
  2022-07-19  2:22       ` yangx.jy
@ 2022-07-19  8:32         ` Leon Romanovsky
  0 siblings, 0 replies; 9+ messages in thread
From: Leon Romanovsky @ 2022-07-19  8:32 UTC (permalink / raw)
  To: yangx.jy; +Cc: linux-rdma, jgg, rpearsonhpe, zyjzyj2000, lizhijian

On Tue, Jul 19, 2022 at 02:22:35AM +0000, yangx.jy@fujitsu.com wrote:
> On 2022/7/18 20:16, Leon Romanovsky wrote:
> > Please, try to apply the patch to wip/leon-for-next branch.
> > 
> > Thanks
> 
> Hi Leon,
> 
> It's OK to apply it to wip/leon-for-next branch on my environment.  Did 
> I miss something?
> 
> # git pull rdma wip/leon-for-next
>  From https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
>   * branch                      wip/leon-for-next -> FETCH_HEAD
> Already up to date.
> # git am 0001-RDMA-rxe-Remove-unused-qp-parameter.patch
> Applying: RDMA/rxe: Remove unused qp parameter

Strange, I used b4 and it failed to apply, but manually it worked.

Thanks, applied.

> 
> Best Regards,
> Xiao Yang

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

* Re: [RESEND PATCH] RDMA/rxe: Remove unused qp parameter
  2022-07-08  3:54   ` yangx.jy
@ 2022-07-14 16:24     ` Bob Pearson
  0 siblings, 0 replies; 9+ messages in thread
From: Bob Pearson @ 2022-07-14 16:24 UTC (permalink / raw)
  To: yangx.jy, linux-rdma, Jason Gunthorpe, Zhu Yanjun

On 7/7/22 22:54, yangx.jy@fujitsu.com wrote:
> On 2022/7/8 9:57, Yang, Xiao/杨 晓 wrote:
>> Hi All,
>>
>> Is there anyone who can receive my new patches from Linux RDMA mail list?
>> [PATCH] RDMA/rxe: Remove unused qp parameter
>> [PATCH v5 0/2] RDMA/rxe: Add RDMA Atomic Write operation
>>
>> I have sent them to Linux RDMA mail list but they cannot be shown on:
>> https://lore.kernel.org/linux-rdma/
> 
> Sorry, my smtp server doesn't work. I will resend them shortly.
> 
> Best Regards,
> Xiao Yang
>>
>> Best Regards,
>> Xiao Yang
>>
>> On 2022/7/8 9:39, Xiao Yang wrote:
>>> The qp parameter in free_rd_atomic_resource() has become
>>> unused so remove it directly.
>>>
>>> Fixes: 15ae1375ea91 ("RDMA/rxe: Fix qp reference counting for atomic 
>>> ops")
>>> Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
>>> ---
>>>   drivers/infiniband/sw/rxe/rxe_loc.h  | 2 +-
>>>   drivers/infiniband/sw/rxe/rxe_qp.c   | 6 +++---
>>>   drivers/infiniband/sw/rxe/rxe_resp.c | 2 +-
>>>   3 files changed, 5 insertions(+), 5 deletions(-)
>>>
>>> diff --git a/drivers/infiniband/sw/rxe/rxe_loc.h 
>>> b/drivers/infiniband/sw/rxe/rxe_loc.h
>>> index 0e022ae1b8a5..336164843db4 100644
>>> --- a/drivers/infiniband/sw/rxe/rxe_loc.h
>>> +++ b/drivers/infiniband/sw/rxe/rxe_loc.h
>>> @@ -145,7 +145,7 @@ static inline int rcv_wqe_size(int max_sge)
>>>           max_sge * sizeof(struct ib_sge);
>>>   }
>>> -void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res);
>>> +void free_rd_atomic_resource(struct resp_res *res);
>>>   static inline void rxe_advance_resp_resource(struct rxe_qp *qp)
>>>   {
>>> diff --git a/drivers/infiniband/sw/rxe/rxe_qp.c 
>>> b/drivers/infiniband/sw/rxe/rxe_qp.c
>>> index 8355a5b1cb60..9ecb98150e0e 100644
>>> --- a/drivers/infiniband/sw/rxe/rxe_qp.c
>>> +++ b/drivers/infiniband/sw/rxe/rxe_qp.c
>>> @@ -120,14 +120,14 @@ static void free_rd_atomic_resources(struct 
>>> rxe_qp *qp)
>>>           for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) {
>>>               struct resp_res *res = &qp->resp.resources[i];
>>> -            free_rd_atomic_resource(qp, res);
>>> +            free_rd_atomic_resource(res);
>>>           }
>>>           kfree(qp->resp.resources);
>>>           qp->resp.resources = NULL;
>>>       }
>>>   }
>>> -void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res)
>>> +void free_rd_atomic_resource(struct resp_res *res)
>>>   {
>>>       res->type = 0;
>>>   }
>>> @@ -140,7 +140,7 @@ static void cleanup_rd_atomic_resources(struct 
>>> rxe_qp *qp)
>>>       if (qp->resp.resources) {
>>>           for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) {
>>>               res = &qp->resp.resources[i];
>>> -            free_rd_atomic_resource(qp, res);
>>> +            free_rd_atomic_resource(res);
>>>           }
>>>       }
>>>   }
>>> diff --git a/drivers/infiniband/sw/rxe/rxe_resp.c 
>>> b/drivers/infiniband/sw/rxe/rxe_resp.c
>>> index 265e46fe050f..28033849d404 100644
>>> --- a/drivers/infiniband/sw/rxe/rxe_resp.c
>>> +++ b/drivers/infiniband/sw/rxe/rxe_resp.c
>>> @@ -562,7 +562,7 @@ static struct resp_res *rxe_prepare_res(struct 
>>> rxe_qp *qp,
>>>       res = &qp->resp.resources[qp->resp.res_head];
>>>       rxe_advance_resp_resource(qp);
>>> -    free_rd_atomic_resource(qp, res);
>>> +    free_rd_atomic_resource(res);
>>>       res->type = type;
>>>       res->replay = 0;

This is correct.

Reviewed-by: Bob Pearson <rpearsonhpe@gmail.com>

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

* Re: [RESEND PATCH] RDMA/rxe: Remove unused qp parameter
  2022-07-08  1:59 ` yangx.jy
@ 2022-07-08  3:54   ` yangx.jy
  2022-07-14 16:24     ` Bob Pearson
  0 siblings, 1 reply; 9+ messages in thread
From: yangx.jy @ 2022-07-08  3:54 UTC (permalink / raw)
  To: linux-rdma

On 2022/7/8 9:57, Yang, Xiao/杨 晓 wrote:
> Hi All,
> 
> Is there anyone who can receive my new patches from Linux RDMA mail list?
> [PATCH] RDMA/rxe: Remove unused qp parameter
> [PATCH v5 0/2] RDMA/rxe: Add RDMA Atomic Write operation
> 
> I have sent them to Linux RDMA mail list but they cannot be shown on:
> https://lore.kernel.org/linux-rdma/

Sorry, my smtp server doesn't work. I will resend them shortly.

Best Regards,
Xiao Yang
> 
> Best Regards,
> Xiao Yang
> 
> On 2022/7/8 9:39, Xiao Yang wrote:
>> The qp parameter in free_rd_atomic_resource() has become
>> unused so remove it directly.
>>
>> Fixes: 15ae1375ea91 ("RDMA/rxe: Fix qp reference counting for atomic 
>> ops")
>> Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
>> ---
>>   drivers/infiniband/sw/rxe/rxe_loc.h  | 2 +-
>>   drivers/infiniband/sw/rxe/rxe_qp.c   | 6 +++---
>>   drivers/infiniband/sw/rxe/rxe_resp.c | 2 +-
>>   3 files changed, 5 insertions(+), 5 deletions(-)
>>
>> diff --git a/drivers/infiniband/sw/rxe/rxe_loc.h 
>> b/drivers/infiniband/sw/rxe/rxe_loc.h
>> index 0e022ae1b8a5..336164843db4 100644
>> --- a/drivers/infiniband/sw/rxe/rxe_loc.h
>> +++ b/drivers/infiniband/sw/rxe/rxe_loc.h
>> @@ -145,7 +145,7 @@ static inline int rcv_wqe_size(int max_sge)
>>           max_sge * sizeof(struct ib_sge);
>>   }
>> -void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res);
>> +void free_rd_atomic_resource(struct resp_res *res);
>>   static inline void rxe_advance_resp_resource(struct rxe_qp *qp)
>>   {
>> diff --git a/drivers/infiniband/sw/rxe/rxe_qp.c 
>> b/drivers/infiniband/sw/rxe/rxe_qp.c
>> index 8355a5b1cb60..9ecb98150e0e 100644
>> --- a/drivers/infiniband/sw/rxe/rxe_qp.c
>> +++ b/drivers/infiniband/sw/rxe/rxe_qp.c
>> @@ -120,14 +120,14 @@ static void free_rd_atomic_resources(struct 
>> rxe_qp *qp)
>>           for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) {
>>               struct resp_res *res = &qp->resp.resources[i];
>> -            free_rd_atomic_resource(qp, res);
>> +            free_rd_atomic_resource(res);
>>           }
>>           kfree(qp->resp.resources);
>>           qp->resp.resources = NULL;
>>       }
>>   }
>> -void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res)
>> +void free_rd_atomic_resource(struct resp_res *res)
>>   {
>>       res->type = 0;
>>   }
>> @@ -140,7 +140,7 @@ static void cleanup_rd_atomic_resources(struct 
>> rxe_qp *qp)
>>       if (qp->resp.resources) {
>>           for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) {
>>               res = &qp->resp.resources[i];
>> -            free_rd_atomic_resource(qp, res);
>> +            free_rd_atomic_resource(res);
>>           }
>>       }
>>   }
>> diff --git a/drivers/infiniband/sw/rxe/rxe_resp.c 
>> b/drivers/infiniband/sw/rxe/rxe_resp.c
>> index 265e46fe050f..28033849d404 100644
>> --- a/drivers/infiniband/sw/rxe/rxe_resp.c
>> +++ b/drivers/infiniband/sw/rxe/rxe_resp.c
>> @@ -562,7 +562,7 @@ static struct resp_res *rxe_prepare_res(struct 
>> rxe_qp *qp,
>>       res = &qp->resp.resources[qp->resp.res_head];
>>       rxe_advance_resp_resource(qp);
>> -    free_rd_atomic_resource(qp, res);
>> +    free_rd_atomic_resource(res);
>>       res->type = type;
>>       res->replay = 0;

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

* Re: [RESEND PATCH] RDMA/rxe: Remove unused qp parameter
       [not found] <20220708013934.5022-1-yangx.jy@fujitsu.com>
@ 2022-07-08  1:59 ` yangx.jy
  2022-07-08  3:54   ` yangx.jy
  0 siblings, 1 reply; 9+ messages in thread
From: yangx.jy @ 2022-07-08  1:59 UTC (permalink / raw)
  To: linux-rdma

Hi All,

Is there anyone who can receive my new patches from Linux RDMA mail list?
[PATCH] RDMA/rxe: Remove unused qp parameter
[PATCH v5 0/2] RDMA/rxe: Add RDMA Atomic Write operation

I have sent them to Linux RDMA mail list but they cannot be shown on:
https://lore.kernel.org/linux-rdma/

Best Regards,
Xiao Yang

On 2022/7/8 9:39, Xiao Yang wrote:
> The qp parameter in free_rd_atomic_resource() has become
> unused so remove it directly.
> 
> Fixes: 15ae1375ea91 ("RDMA/rxe: Fix qp reference counting for atomic ops")
> Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
> ---
>   drivers/infiniband/sw/rxe/rxe_loc.h  | 2 +-
>   drivers/infiniband/sw/rxe/rxe_qp.c   | 6 +++---
>   drivers/infiniband/sw/rxe/rxe_resp.c | 2 +-
>   3 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/infiniband/sw/rxe/rxe_loc.h b/drivers/infiniband/sw/rxe/rxe_loc.h
> index 0e022ae1b8a5..336164843db4 100644
> --- a/drivers/infiniband/sw/rxe/rxe_loc.h
> +++ b/drivers/infiniband/sw/rxe/rxe_loc.h
> @@ -145,7 +145,7 @@ static inline int rcv_wqe_size(int max_sge)
>   		max_sge * sizeof(struct ib_sge);
>   }
>   
> -void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res);
> +void free_rd_atomic_resource(struct resp_res *res);
>   
>   static inline void rxe_advance_resp_resource(struct rxe_qp *qp)
>   {
> diff --git a/drivers/infiniband/sw/rxe/rxe_qp.c b/drivers/infiniband/sw/rxe/rxe_qp.c
> index 8355a5b1cb60..9ecb98150e0e 100644
> --- a/drivers/infiniband/sw/rxe/rxe_qp.c
> +++ b/drivers/infiniband/sw/rxe/rxe_qp.c
> @@ -120,14 +120,14 @@ static void free_rd_atomic_resources(struct rxe_qp *qp)
>   		for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) {
>   			struct resp_res *res = &qp->resp.resources[i];
>   
> -			free_rd_atomic_resource(qp, res);
> +			free_rd_atomic_resource(res);
>   		}
>   		kfree(qp->resp.resources);
>   		qp->resp.resources = NULL;
>   	}
>   }
>   
> -void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res)
> +void free_rd_atomic_resource(struct resp_res *res)
>   {
>   	res->type = 0;
>   }
> @@ -140,7 +140,7 @@ static void cleanup_rd_atomic_resources(struct rxe_qp *qp)
>   	if (qp->resp.resources) {
>   		for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) {
>   			res = &qp->resp.resources[i];
> -			free_rd_atomic_resource(qp, res);
> +			free_rd_atomic_resource(res);
>   		}
>   	}
>   }
> diff --git a/drivers/infiniband/sw/rxe/rxe_resp.c b/drivers/infiniband/sw/rxe/rxe_resp.c
> index 265e46fe050f..28033849d404 100644
> --- a/drivers/infiniband/sw/rxe/rxe_resp.c
> +++ b/drivers/infiniband/sw/rxe/rxe_resp.c
> @@ -562,7 +562,7 @@ static struct resp_res *rxe_prepare_res(struct rxe_qp *qp,
>   
>   	res = &qp->resp.resources[qp->resp.res_head];
>   	rxe_advance_resp_resource(qp);
> -	free_rd_atomic_resource(qp, res);
> +	free_rd_atomic_resource(res);
>   
>   	res->type = type;
>   	res->replay = 0;

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

end of thread, other threads:[~2022-07-19  8:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-08  3:55 [RESEND PATCH] RDMA/rxe: Remove unused qp parameter yangx.jy
2022-07-18  8:26 ` Leon Romanovsky
2022-07-18  8:58   ` yangx.jy
2022-07-18 12:16     ` Leon Romanovsky
2022-07-19  2:22       ` yangx.jy
2022-07-19  8:32         ` Leon Romanovsky
     [not found] <20220708013934.5022-1-yangx.jy@fujitsu.com>
2022-07-08  1:59 ` yangx.jy
2022-07-08  3:54   ` yangx.jy
2022-07-14 16:24     ` Bob Pearson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.