Re: [PATCH for-next] RDMA/rxe: Remove unused pkt->offset

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

 



On Thu, Feb 11, 2021 at 03:04:56PM -0600, Bob Pearson wrote:
> The pkt->offset field is never used except to assign it to 0.
> But it adds lots of unneeded code. This patch removes the field and
> related code. This causes a measurable improvement in performance.
> 
> Signed-off-by: Bob Pearson <rpearson@xxxxxxx>
> ---
>  drivers/infiniband/sw/rxe/rxe_hdr.h  | 178 +++++++++++++--------------
>  drivers/infiniband/sw/rxe/rxe_recv.c |   4 +-
>  drivers/infiniband/sw/rxe/rxe_req.c  |   1 -
>  drivers/infiniband/sw/rxe/rxe_resp.c |   3 +-
>  4 files changed, 90 insertions(+), 96 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