All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhu Yanjun <yanjun.zhu@linux.dev>
To: Zhu Yanjun <yanjun.zhu@intel.com>,
	mustafa.ismail@intel.com, shiraz.saleem@intel.com, jgg@ziepe.ca,
	leon@kernel.org, linux-rdma@vger.kernel.org
Subject: Re: [PATCHv3 for-next 0/4] RDMA/irdma: Refactor irdma_reg_user_mr function
Date: Thu, 26 Jan 2023 09:16:05 +0800	[thread overview]
Message-ID: <e59c54bf-03f7-2e27-2162-91dc3f896123@linux.dev> (raw)
In-Reply-To: <20230116193502.66540-1-yanjun.zhu@intel.com>

在 2023/1/17 3:34, Zhu Yanjun 写道:
> V2->V3: 1) Use netdev reverse Christmas tree rule;
> 	2) Return 0 instead of err;
> 	3) Remove unnecessary brackets;
> 	4) Add an error label in error handler;
> 	5) Initialize the structured variables;

Hi, Leon

Follow your advice, I made this patches.
Please check it.

Zhu Yanjun

>   
> V1->V2: Thanks Saleem, Shiraz.
>          1) Remove the unnecessary variable initializations;
>          2) Get iwdev by to_iwdev;
> 	3) Use the label free_pble to handle errors;
> 	4) Validate the page size before rdma_umem_for_each_dma_block
> 
> Split the shared source codes into several new functions for future use.
> No bug fix and new feature in this commit series.
> 
> The new functions are as below:
> 
> irdma_reg_user_mr_type_mem
> irdma_alloc_iwmr
> irdma_free_iwmr
> irdma_reg_user_mr_type_qp
> irdma_reg_user_mr_type_cq
> 
> These functions will be used in the dmabuf feature.
> 
> Zhu Yanjun (4):
>    RDMA/irdma: Split MEM handler into irdma_reg_user_mr_type_mem
>    RDMA/irdma: Split mr alloc and free into new functions
>    RDMA/irdma: Split QP handler into irdma_reg_user_mr_type_qp
>    RDMA/irdma: Split CQ handler into irdma_reg_user_mr_type_cq
> 
>   drivers/infiniband/hw/irdma/verbs.c | 270 +++++++++++++++++-----------
>   1 file changed, 168 insertions(+), 102 deletions(-)
> 


  parent reply	other threads:[~2023-01-26  1:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-16 19:34 [PATCHv3 for-next 0/4] RDMA/irdma: Refactor irdma_reg_user_mr function Zhu Yanjun
2023-01-16 19:34 ` [PATCHv3 for-next 1/4] RDMA/irdma: Split MEM handler into irdma_reg_user_mr_type_mem Zhu Yanjun
2023-01-16 19:35 ` [PATCHv3 for-next 2/4] RDMA/irdma: Split mr alloc and free into new functions Zhu Yanjun
2023-01-16 19:35 ` [PATCHv3 for-next 3/4] RDMA/irdma: Split QP handler into irdma_reg_user_mr_type_qp Zhu Yanjun
2023-01-16 19:35 ` [PATCHv3 for-next 4/4] RDMA/irdma: Split CQ handler into irdma_reg_user_mr_type_cq Zhu Yanjun
2023-01-26  1:16 ` Zhu Yanjun [this message]
2023-01-26 10:59   ` [PATCHv3 for-next 0/4] RDMA/irdma: Refactor irdma_reg_user_mr function Leon Romanovsky
2023-01-26 13:40     ` Zhu Yanjun
2023-01-26 10:59 ` Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e59c54bf-03f7-2e27-2162-91dc3f896123@linux.dev \
    --to=yanjun.zhu@linux.dev \
    --cc=jgg@ziepe.ca \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=mustafa.ismail@intel.com \
    --cc=shiraz.saleem@intel.com \
    --cc=yanjun.zhu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.