Re: [PATCH v4] migration/rdma: add x-rdma-chunk-size parameter

"Zhang, GuoQing (Sam)" <[email protected]> Fri, 31 Jul 2026 19:28:52 +0800
Newsgroups org.nongnu.qemu-devel
Message-ID <[email protected]>
On 2026/7/30 03:18, Peter Xu wrote:
> What is this rdma_merge_max()?  Why it's twice the chunk size, and 
> even if
> I believe when reaching here the current_length should have been 
> throttled
> by chunk size too?


I don't know Why it's twice the chunk size. It's from earlier 
implementation. commit id 2da776db48.

https://gitlab.com/qemu-project/qemu/-/commit/2da776db4846eadcb808598a5d3484d149773c05?file_path=migration-rdma.c#line_36f493df3_A72


Thanks
Samuel