diff options
| author | Zhu Yanjun <[email protected]> | 2021-10-30 10:42:26 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-11-01 17:39:33 +0000 |
| commit | 9ed8110c9b298cf143a8abc6dab975547da72888 (patch) | |
| tree | 1aa41230eb7c7a483de85e7f8bb3304adb50ceff /lib/string_helpers.c | |
| parent | RDMA/qed: Use helper function to set GUIDs (diff) | |
| download | kernel-9ed8110c9b298cf143a8abc6dab975547da72888.tar.gz kernel-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/[email protected]
Signed-off-by: Zhu Yanjun <[email protected]>
Reviewed-by: Shiraz Saleem <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
