aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hnae3.h
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@linux.dev>2021-10-30 06:42:26 -0400
committerJason Gunthorpe <jgg@nvidia.com>2021-11-01 14:39:33 -0300
commit9ed8110c9b298cf143a8abc6dab975547da72888 (patch)
tree1aa41230eb7c7a483de85e7f8bb3304adb50ceff /drivers/net/ethernet/hisilicon/hns3/hnae3.h
parentRDMA/qed: Use helper function to set GUIDs (diff)
downloadlinux-dev-9ed8110c9b298cf143a8abc6dab975547da72888.tar.xz
linux-dev-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 'drivers/net/ethernet/hisilicon/hns3/hnae3.h')
0 files changed, 0 insertions, 0 deletions