From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 660D823B for ; Tue, 21 Nov 2017 14:27:41 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1B0EB2094B; Tue, 21 Nov 2017 08:27:41 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:27:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=uKZlXh1cGRdYmgJ34 FTHGwrdXUE8y+lyqgbDi6ygRhM=; b=K7kVKp7Dk4VCVaIdqc01xu0bVTWJezmxd rf8cB9+U0PnThqlykoqGNFJKF04NShaOwShkhDPQadCbhjIE2db9FZ7WU+Jo+NnG ov5Gxu3TCufiXhL945kORJouwj7oePzkHs3snILc6B5jUAX5aqpq53+pMtdfsmGq Z/wxTDPmEJCFX5kQObGCuGL4SXhyUGFttNlr3akouJN8EXAqmdDOysrU2LQ4Jb8/ 2yYcafuD5Zymbb+sHZh7b0g08SwV0FIuqrKZEBRKPXKeMAQrC1fESgrWsRkO+ot+ Anm6H41h3zVIQWz+bZMYJtdbsr4y2wy8KtHfiDI6LHAIekrskG7zA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=uKZlXh1cGRdYmgJ34FTHGwrdXUE8y+lyqgbDi6ygRhM=; b=VwB8oHpa 1cGKN8gnqw40HJU3N2jCTOQIVldx2H9n2oHSY5s4otKVh9K2HkKFhNoaLrYGXDf1 fWEWayxTPFv3N+1s1VjUrGdWyO3/9ANhz3B3pJ3ot2eu/Cz2M/Ru1Fg8gxGfBGuX 35En9SGSlEsz6EcLBnTaWfPbV4PLe6pytaUGUaBNRO2cHoX+t/l/4ILUAA4gigKF HGZLCwSoi9AEyMtmoo8sK0Z2vCNO3EWbh7fRR/DeZGUClCF7CGEX/wENZgudQ2ES qeHBDXMaJsNG10vWBFMnJpoNQeeBoxcXufXnwCh+WutGS5sXgQA1cGeulLk6grpl 7hbkeGpeNEjm3A== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id A694C247A9; Tue, 21 Nov 2017 08:27:38 -0500 (EST) From: Yuanhan Liu To: Ian Stokes Cc: Pablo de Lara , dpdk stable Date: Tue, 21 Nov 2017 21:17:54 +0800 Message-Id: <1511270333-31002-132-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> References: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'cryptodev: fix build with -Ofast' has been queued to stable release 17.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 13:27:41 -0000 Hi, FYI, your patch has been queued to stable release 17.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From fbbe623c2aa3d64aa72c377e7b6e4f9c6051acde Mon Sep 17 00:00:00 2001 From: Ian Stokes Date: Tue, 17 Oct 2017 15:15:06 +0100 Subject: [PATCH] cryptodev: fix build with -Ofast [ upstream commit 812f48370f93198f082f98a69f0882b6ae1bde61 ] 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(). Fix this by adding a case for RTE_CRYPTO_OP_TYPE_UNDEFINED. Fixes: c0f87eb5252b ("cryptodev: change burst API to be crypto op oriented") Signed-off-by: Ian Stokes Acked-by: Pablo de Lara --- lib/librte_cryptodev/rte_crypto.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_cryptodev/rte_crypto.h b/lib/librte_cryptodev/rte_crypto.h index 10fe080..3ef9e41 100644 --- a/lib/librte_cryptodev/rte_crypto.h +++ b/lib/librte_cryptodev/rte_crypto.h @@ -144,6 +144,7 @@ __rte_crypto_op_reset(struct rte_crypto_op *op, enum rte_crypto_op_type type) case RTE_CRYPTO_OP_TYPE_SYMMETRIC: __rte_crypto_sym_op_reset(op->sym); break; + case RTE_CRYPTO_OP_TYPE_UNDEFINED: default: break; } -- 2.7.4