From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 6A3F91B7DE for ; Tue, 17 Oct 2017 13:54:25 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP; 17 Oct 2017 04:54:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,390,1503385200"; d="scan'208";a="139247468" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by orsmga004.jf.intel.com with ESMTP; 17 Oct 2017 04:54:22 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.167]) by IRSMSX153.ger.corp.intel.com ([169.254.9.34]) with mapi id 14.03.0319.002; Tue, 17 Oct 2017 12:54:21 +0100 From: "De Lara Guarch, Pablo" To: "Stokes, Ian" , "dev@dpdk.org" Thread-Topic: [PATCH v1 1/1] rte_crypto.h: Fix compilation issue with Ofast. Thread-Index: AQHTRze8o8d5eHskt0STDn/3cWlM6qLn7SeA Date: Tue, 17 Oct 2017 11:54:21 +0000 Message-ID: References: <1508238255-30383-1-git-send-email-ian.stokes@intel.com> In-Reply-To: <1508238255-30383-1-git-send-email-ian.stokes@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjM4ZjI0NjEtNTMxMC00MWY1LWJiMzAtODE2NmVlMTFiZDIwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IiszejZMNWZNUHl4TkNrYituemdVYUlQM1FlZytOcThXWWZxVG9YajVaZ1U9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v1 1/1] rte_crypto.h: Fix compilation issue with Ofast. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2017 11:54:25 -0000 Hi Ian, > -----Original Message----- > From: Stokes, Ian > Sent: Tuesday, October 17, 2017 12:04 PM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo ; Stokes, Ian > > Subject: [PATCH v1 1/1] rte_crypto.h: Fix compilation issue with Ofast. >=20 > When compiling with an application that includes rte_cryptodev.h with > Ofast, an error is reported regarding enumeration > RTE_CRYPTO_OP_TYPE_UNDEFINED not handled in switch case in function > __rte_crypto_op_reset(). >=20 > Fix this by adding case for RTE_OP_TYPE_UNDEFINED. >=20 > Signed-off-by: Ian Stokes Since this is a fix, you should add a fixes line with the commit id where t= he issue was introduced. This case: Fixes: c0f87eb5252b ("cryptodev: change burst API to be crypto o= p oriented") Also, the title should be: "cryptodev: fix build with Ofast" Could you send a v2 with these changes? Thanks, Pablo