Re: [PATCHv2 1/1] RDMA/irdma: optimize rx path by removing unnecessary copy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 30, 2021 at 06:42:26AM -0400, yanjun.zhu@xxxxxxxxx wrote:
> From: Zhu Yanjun <yanjun.zhu@xxxxxxxxx>
> 
> In the function irdma_post_recv, the function irdma_copy_sg_list is
> not needed since the struct irdma_sge and ib_sge have the similar
> member variables. The struct irdma_sge can be replaced with the
> struct ib_sge totally.
> 
> This can increase the rx performance of irdma.
> 
> Signed-off-by: Zhu Yanjun <yanjun.zhu@xxxxxxxxx>
> Reviewed-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>
> ---
> V1->V2: remove the unnecessary typecast.
> ---
>  drivers/infiniband/hw/irdma/uk.c    | 38 +++++++++++++-------------
>  drivers/infiniband/hw/irdma/user.h  | 23 ++++++----------
>  drivers/infiniband/hw/irdma/verbs.c | 42 +++++++++--------------------
>  3 files changed, 39 insertions(+), 64 deletions(-)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux