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

2020-03-20 Thread Yuval Shaia
On Mon, 16 Mar 2020 at 15:30, Marcel Apfelbaum wrote: > Hi Yuval, > > On 3/7/20 2:56 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

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

2020-03-16 Thread Marcel Apfelbaum
Hi Yuval, On 3/7/20 2:56 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 Sha

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

2020-03-07 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 ++