Re: [PATCH v4 06/18] migration/rdma: export MultiFDSendParams/MultiFDRecvParams

2021-03-01 Thread Zheng Chuan
On 2021/2/4 2:23, Dr. David Alan Gilbert wrote: > * Chuan Zheng (zhengch...@huawei.com) wrote: >> MultiFDSendParams and MultiFDRecvParams is need for rdma, export it >> >> Signed-off-by: Zhimin Feng >> Signed-off-by: Chuan Zheng > > I think these become simpler if you just return a NULL on er

Re: [PATCH v4 06/18] migration/rdma: export MultiFDSendParams/MultiFDRecvParams

2021-02-03 Thread Dr. David Alan Gilbert
* Chuan Zheng (zhengch...@huawei.com) wrote: > MultiFDSendParams and MultiFDRecvParams is need for rdma, export it > > Signed-off-by: Zhimin Feng > Signed-off-by: Chuan Zheng I think these become simpler if you just return a NULL on error, also I think you can make 'id' unsigned and then you do

[PATCH v4 06/18] migration/rdma: export MultiFDSendParams/MultiFDRecvParams

2021-02-02 Thread Chuan Zheng
MultiFDSendParams and MultiFDRecvParams is need for rdma, export it Signed-off-by: Zhimin Feng Signed-off-by: Chuan Zheng --- migration/multifd.c | 26 ++ migration/multifd.h | 2 ++ 2 files changed, 28 insertions(+) diff --git a/migration/multifd.c b/migration/multifd