Skip to content

Commit

Permalink
RDMA/rxe: Remove unused pkt->offset
Browse files Browse the repository at this point in the history
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.

Link: https://lore.kernel.org/r/20210211210455.3274-1-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
  • Loading branch information
Bob Pearson authored and Jason Gunthorpe committed Feb 16, 2021
1 parent fe454dc commit bf139b5
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 96 deletions.
Loading

0 comments on commit bf139b5

Please sign in to comment.