Per the fi_cq man page, the err_data field in the CQE error
structure is an option for a provider to provide additional
information, not something that has to be non-NULL.
Prior to support for the FI_SOURCE feature, the GNI provider
happened to always have this field set (though not having
any useful information in most cases). Now we are getting
random "Bad provider data..."
Change the criterion tests to only check for non-NULL err_data
field in CQEs when the err_data_size field is non-zero.
Per the fi_cq man page, the err_data field in the CQE error structure is an option for a provider to provide additional information, not something that has to be non-NULL.
Prior to support for the FI_SOURCE feature, the GNI provider happened to always have this field set (though not having any useful information in most cases). Now we are getting random "Bad provider data..."
Change the criterion tests to only check for non-NULL err_data field in CQEs when the err_data_size field is non-zero.
Fixes ofi-cray/libfabric-cray#1374
Signed-off-by: Howard Pritchard howardp@lanl.gov