// -----------------------------------------------------------------------------
#define dout_context g_ceph_context
-#define dout_subsys ceph_subsys_rgw
+#define dout_subsys ceph_subsys_crypto
#undef dout_prefix
#define dout_prefix _prefix(_dout)
stat = cpaCySymDpRegCbFunc(qcc_inst->cy_inst_handles[iter], symDpCallback);
if (stat != CPA_STATUS_SUCCESS) {
- dout(1) << "Unable to register callback function for instance " << iter << " with status = " << stat << dendl;
+ dout(1) << "QAT init error, Unable to register callback function for instance " << iter << " with status = " << stat << dendl;
+ if (stat == CPA_STATUS_FAIL) {
+ dout(1) << "QAT init: check that 'ServicesEnabled' in '/etc/sysconfig/qat' is configured with 'sym'" << dendl;
+ }
return false;
}
} else {
if (!is_init)
{
- dout(10) << "QAT not initialized in this instance or init failed" << dendl;
+ dout(1) << "QAT not initialized in this instance or init failed" << dendl;
return is_init;
}
CpaStatus status = CPA_STATUS_SUCCESS;