• Y
    hw/pvrdma: Remove max-sge command-line param · ffef4775
    Yuval Shaia 提交于
    This parameter has no effect, fix it.
    
    The function init_dev_caps sets the front-end's max-sge to MAX_SGE. Then
    it checks backend's max-sge and adjust it accordingly (we can't send
    more than what the device supports).
    
    On send and recv we need to make sure the num_sge in the WQE does not
    exceeds the backend device capability.
    This check is done in pvrdma level so check on rdma level is deleted.
    Signed-off-by: NYuval Shaia <yuval.shaia@oracle.com>
    Message-Id: <20190109194123.3468-1-yuval.shaia@oracle.com>
    Reviewed-by: Marcel Apfelbaum<marcel.apfelbaum@gmail.com>
    Signed-off-by: NMarcel Apfelbaum <marcel.apfelbaum@gmail.com>
    ffef4775
rdma_backend.c 36.1 KB