From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 244E0A0577; Mon, 6 Apr 2020 17:36:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DBFD61BED9; Mon, 6 Apr 2020 17:36:07 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id A85762BE2 for ; Mon, 6 Apr 2020 17:36:06 +0200 (CEST) IronPort-SDR: vJotVHe+2qyik2awfR7ydM7FYYB+zGheFJP2pZEzaBRoVf1AKsz0ElXkYRSL2S7/vFF5WPFrPE q7UNVPBr/4SA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2020 08:36:05 -0700 IronPort-SDR: iHmSDUmuC8CoNVeyRS0rMYNu10EfQh7LkPhUjDEBpgkZXtFXCkn4+CNXLgBM8EjCZ/ePVnJdUY DJJ8xdF9dqtw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,351,1580803200"; d="scan'208";a="329902064" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 06 Apr 2020 08:36:04 -0700 Received: from sivswdev08.ir.intel.com (sivswdev08.ir.intel.com [10.237.217.47]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 036Fa398004879; Mon, 6 Apr 2020 16:36:03 +0100 Received: from sivswdev08.ir.intel.com (localhost [127.0.0.1]) by sivswdev08.ir.intel.com with ESMTP id 036Fa3Zx019587; Mon, 6 Apr 2020 16:36:03 +0100 Received: (from moloings@localhost) by sivswdev08.ir.intel.com with LOCAL id 036Fa3lG019583; Mon, 6 Apr 2020 16:36:03 +0100 From: Mairtin o Loingsigh To: pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, Mairtin o Loingsigh Date: Mon, 6 Apr 2020 16:35:45 +0100 Message-Id: <1586187346-19020-1-git-send-email-mairtin.oloingsigh@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH v2 1/2] crypto/aesni_mb: support DOCSIS AES-256 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch adds support for DOCSIS AES-256 when using AESNI-MB Signed-off-by: Mairtin o Loingsigh --- drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c index 845661174..0d555ec29 100644 --- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c +++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c @@ -319,8 +319,14 @@ static const struct rte_cryptodev_capabilities aesni_mb_pmd_capabilities[] = { }, .iv_size = { .min = 16, +#if IMB_VERSION_NUM >= IMB_VERSION(0, 53, 3) + .max = 32, + .increment = 16 +#else .max = 16, .increment = 0 +#endif + } }, } }, } -- 2.17.1