IBT_HCA_ATOMICS_GLOBAL
attr->atomic_cap = hattr.hca_flags & IBT_HCA_ATOMICS_GLOBAL ?
if (hca_attr.hca_flags & IBT_HCA_ATOMICS_GLOBAL) {