diff options
author | Zhu Yanjun <yanjun.zhu@linux.dev> | 2021-10-30 06:42:26 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-11-01 14:39:33 -0300 |
commit | 9ed8110c9b298cf143a8abc6dab975547da72888 (patch) | |
tree | 1aa41230eb7c7a483de85e7f8bb3304adb50ceff /tools/perf/builtin-config.c | |
parent | 4e446714fb89e93665173477bc70ce0494e9d5b1 (diff) | |
download | linux-stable-9ed8110c9b298cf143a8abc6dab975547da72888.tar.gz linux-stable-9ed8110c9b298cf143a8abc6dab975547da72888.tar.bz2 linux-stable-9ed8110c9b298cf143a8abc6dab975547da72888.zip |
RDMA/irdma: optimize rx path by removing unnecessary copy
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.
Link: https://lore.kernel.org/r/20211030104226.253346-1-yanjun.zhu@linux.dev
Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/builtin-config.c')
0 files changed, 0 insertions, 0 deletions