Re: [Qemu-devel] [PATCH] hw/pvrdma: Remove max-sge command-line param

2019-01-12 Thread Marcel Apfelbaum
On 1/9/19 9:41 PM, Yuval Shaia wrote: 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

[Qemu-devel] [PATCH] hw/pvrdma: Remove max-sge command-line param

2019-01-09 Thread 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 th