Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-x86
  • Repository
Switch branch/tag
  • ipipe-x86
  • drivers
  • nvme
  • target
  • rdma.c
Find file BlameHistoryPermalink
  • Steve Wise's avatar
    IB/core: add max_send_sge and max_recv_sge attributes · 33023fb8
    Steve Wise authored Jun 18, 2018
    
    
    This patch replaces the ib_device_attr.max_sge with max_send_sge and
    max_recv_sge. It allows ulps to take advantage of devices that have very
    different send and recv sge depths.  For example cxgb4 has a max_recv_sge
    of 4, yet a max_send_sge of 16.  Splitting out these attributes allows
    much more efficient use of the SQ for cxgb4 with ulps that use the RDMA_RW
    API. Consider a large RDMA WRITE that has 16 scattergather entries.
    With max_sge of 4, the ulp would send 4 WRITE WRs, but with max_sge of
    16, it can be done with 1 WRITE WR.
    Acked-by: default avatarSagi Grimberg <sagi@grimberg.me>
    Acked-by: default avatarChristoph Hellwig <hch@lst.de>
    Acked-by: default avatarSelvin Xavier <selvin.xavier@broadcom.com>
    Acked-by: default avatarShiraz Saleem <shiraz.saleem@intel.com>
    Acked-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
    Signed-off-by: default avatarSteve Wise <swise@opengridcomputing.com>
    Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
    33023fb8

Imprint & Privacy Policy