Re: [PATCH v1 1/2] hw/rdma: Cosmetic change - no need for two sge arrays

2020-03-21 Thread Marcel Apfelbaum
On 3/20/20 4:34 PM, Yuval Shaia wrote: The function build_host_sge_array uses two sge arrays, one for input and one for output. Since the size of the two arrays is the same, the function can write directly to the given source array (i.e. input/output argument). Signed-off-by: Yuval Shaia

[PATCH v1 1/2] hw/rdma: Cosmetic change - no need for two sge arrays

2020-03-20 Thread Yuval Shaia
The function build_host_sge_array uses two sge arrays, one for input and one for output. Since the size of the two arrays is the same, the function can write directly to the given source array (i.e. input/output argument). Signed-off-by: Yuval Shaia --- hw/rdma/rdma_backend.c | 40