On 04-Apr-19 18:25, Saleem, Shiraz wrote: >> When huge pages are enabled, most of the times both functions return the same >> value (page shift 21/22) but in some cases efa_cont_pages() returns 21 and >> ib_umem_find_single_pg_size() returns 22 which causes register MR verb to fail due >> to invalid page address. > > I see. Seems like there's a bug here. I can provided you a debug hooked patch that should > narrow it down. If you can run it for the mismatch cases, it would be great. Sure, send it and I'll test it next week.