From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 2406E5AA5 for ; Fri, 13 May 2016 10:17:46 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id n129so12468419wmn.1 for ; Fri, 13 May 2016 01:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=yd9jdCg0oXRDnZiLlqCkGcsUfjvvI+sl5OSQztpj9lc=; b=boBPSpzUbGk2whqzPC/61pSxLyCtVgx9QGyJGntPtDhroxZHs7nPud99wlPLTlU+sw cn2pbOZM1Y87lg+lAdCqOlsVYuIZQdAdN6CMM0FaFk39MNs47UzurkE66YHOSh7mVvJ5 pjfa71/5W05nu6fMTyp9ExoOVKtYW7nLxBIUEz4fQ72puaKEPrswxv+b3ixbbYd5nPJ7 yQ3gEh2NYt3I0dZ/pRSGFhYGnDQjMhykorLPwDdo9ZkN5ZY3rGfMC4foVBlf1QDFZQMf GvtYtP2pJl3Lsjn7bM4lFdAw/a/uqTdwgEAWJg0Na4ObLY1NlUDDgGE/M4GcixTqo0G0 24+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=yd9jdCg0oXRDnZiLlqCkGcsUfjvvI+sl5OSQztpj9lc=; b=RtIP92DOfxNPme2134mjHbbvwHhVWXEjRm0TzViY4edQlzjPPpQNxWA2WD0ro8CkbV ++hvSfIAm0A3VPRbR4T8hDdbFBmJ4VV5xuf3WeW858pBn8EgyYtSjsis3fxSA4fz5DZp IQeiRKjRz+P113kyDw87m9io1u8DClmRcz1exDcmOTIFGFgK7V9h4JetOQkhdIqhc08E rwBXWFT17cyNI119tZmLKg8KI+QVq59I4hx0MYKCHL3jE4t7IXkvllFH63OwoaBxwFFH XBLuH6C8pVqWQxdINcSdzVNP6KKRhUwEmVynkzvu5MsJ45LPLHC03tOuFMfJQF3XgQ7X uZhw== X-Gm-Message-State: AOPr4FW5KkXXXHPzK0cdRd0tU0gkNaLubt1X4N7IHzLM5K95vYJ5FnUZ0LHmFeHQ3cdAgl+t X-Received: by 10.28.8.193 with SMTP id 184mr2283188wmi.56.1463127465970; Fri, 13 May 2016 01:17:45 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id w82sm2005724wmw.5.2016.05.13.01.17.44 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 May 2016 01:17:45 -0700 (PDT) From: Thomas Monjalon To: Arek Kusztal Cc: dev@dpdk.org, fiona.trahe@intel.com, john.griffin@intel.com, deepak.k.jain@intel.com Date: Fri, 13 May 2016 10:17:43 +0200 Message-ID: <1802357.As1ss59lSu@xps13> User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1462872255-13100-1-git-send-email-arkadiuszx.kusztal@intel.com> References: <1462872255-13100-1-git-send-email-arkadiuszx.kusztal@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] qat: change optimization flag for Intel QuickAssist Technology X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2016 08:17:46 -0000 2016-05-10 10:24, Arek Kusztal: > From: Arkadiusz Kusztal > > Changed to -O3 optimization flag in Intel QuickAssist Technology Makefile There is another change below. Should it be a separate patch? > --- a/drivers/crypto/qat/qat_adf/qat_algs_build_desc.c > +++ b/drivers/crypto/qat/qat_adf/qat_algs_build_desc.c > @@ -616,10 +616,12 @@ int qat_alg_aead_session_create_content_desc_auth(struct qat_session *cdesc, > * Write (the length of AAD) into bytes 16-19 of state2 > * in big-endian format. This field is 8 bytes > */ > - *(uint32_t *)&(hash->sha.state1[ > + uint32_t *aad_len = (uint32_t *)&hash->sha.state1[ > ICP_QAT_HW_GALOIS_128_STATE1_SZ + > - ICP_QAT_HW_GALOIS_H_SZ]) = > - rte_bswap32(add_auth_data_length); > + ICP_QAT_HW_GALOIS_H_SZ]; > + > + *aad_len = rte_bswap32(add_auth_data_length); > + > proto = ICP_QAT_FW_LA_GCM_PROTO; > } else if (cdesc->qat_hash_alg == ICP_QAT_HW_AUTH_ALGO_SNOW_3G_UIA2) { > proto = ICP_QAT_FW_LA_SNOW_3G_PROTO; >