Describe the bug
When we use rdma_recv_block_type such as "huge-2MB", because the IOBuf::DEFAULT_BLOCK_SIZE is 8KB, the func "cut_into_sglist_and_iobuf" always cut 8KB for every ibv_sge.
If the max sge is 32, we only can send a maximum of 256KB(KB64) of data at a time, instead of 2MB.
To Reproduce
Expected behavior
Versions
OS:
Compiler:
brpc:
protobuf:
Additional context/screenshots
Describe the bug
When we use rdma_recv_block_type such as "huge-2MB", because the IOBuf::DEFAULT_BLOCK_SIZE is 8KB, the func "cut_into_sglist_and_iobuf" always cut 8KB for every ibv_sge.
If the max sge is 32, we only can send a maximum of 256KB(KB64) of data at a time, instead of 2MB.
To Reproduce
Expected behavior
Versions
OS:
Compiler:
brpc:
protobuf:
Additional context/screenshots