Re: [PATCH rdma-core v2 5/6] tests: Add tests for dma-buf based memory regions

2020-11-26 Thread Yishai Hadas
On 11/24/2020 11:38 PM, Jianxin Xiong wrote: Define a full set of tests similar to regular MR tests. Add a utility function to generate access flags for dma-buf based MRs because the set of supported flags is smaller. Looking on the tests, It doesn't seem that the registered dma-buf lkey is u

[PATCH rdma-core v2 5/6] tests: Add tests for dma-buf based memory regions

2020-11-24 Thread Jianxin Xiong
Define a full set of tests similar to regular MR tests. Add a utility function to generate access flags for dma-buf based MRs because the set of supported flags is smaller. Signed-off-by: Jianxin Xiong --- tests/test_mr.py | 130 ++- tests/util