+23
−5
Loading
The max_send_sge and max_recv_sge values can be set to any value from 0...dev_attr->max_sge. WHen we actually set the attributes, we will receive a qpair with values for max_sge greater than or equal to what we initially set. We need to store the maximum number of SGEs for later use when constructing work requests. Previously we have not relied on these values since we assumed that we would always be able to have more sges than we asked for initially. This may change as we try to allocate more SGEs to handle splitting buffers across memory regions. Change-Id: Ibbeae1908b86baa3a96d9c6cd2051401aaa2197b Signed-off-by:Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/433307 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>