INNER CODE UNIT · C

e

intel/asynch_mode_nginx · modules/nginx_qat_module/ngx_ssl_engine_qat_module.c:385

    e = ENGINE_by_id((const char *) seqcf->engine_id.data);
    if (e == NULL) {
        ngx_log_error(NGX_LOG_EMERG, cycle->log, 0,
                      "ENGINE_by_id(\"%s\") failed",  seqcf->engine_id.data);
        return NGX_ERROR;
    }


    if (ngx_strcmp(seqcf->offload_mode.data, "async") == 0) {
        /* Need to be consistent with the directive ssl_async */
    }

    if (ngx_strcmp(seqcf->notify_mode.data, "event") == 0) {
        if (!ENGINE_ctrl_cmd(e, "ENABLE_EVENT_DRIVEN_POLLING_MODE", 0, NULL,
            NULL, 0)) {
            ngx_log_error(NGX_LOG_EMERG, cycle->log, 0,
                            "QAT Engine failed: "
                            "ENABLE_EVENT_DRIVEN_POLLING_MODE");

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…