Hello,
I'm trying to use the on-demand paging (ODP) capabilities of our ConnectX-3 HCAs. Therefore, I tried to follow the introduction in the user manual of the Mellanox OFED Stack (p. 171). However, if I try the following comp_mask
dattr.comp_mask = IBV_EXP_DEVICE_ATTR_ODP | IBV_EXP_DEVICE_ATTR_EXP_CAP_FLAGS;
the query
if (!(device_attr_exp.exp_device_cap_flags & IBV_EXP_DEVICE_ODP))
fails. If I leave out the IBV_EXP_DEVICE_ATTR_EXP_CAP_FLAGS it succeeds. What does this mean? Should ODP be supported or not? Does anyone have additional information on the supported modes and how to use this?
Best regards!
P.S. I am using CentOS 7.1 with a self-compiled 3.19 kernel with IB ODP support. Any idea how I can check this on the OS-level?