uobj_get_object_id
if (uobj_get_object_id(uobject) != MLX5_IB_OBJECT_DEVX_OBJ ||
switch (uobj_get_object_id(uobj)) {