From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by dpdk.org (Postfix) with ESMTP id B6F0B4CBD for ; Fri, 24 Aug 2018 15:55:10 +0200 (CEST) Received: by mail-lj1-f193.google.com with SMTP id v9-v6so6939160ljk.4 for ; Fri, 24 Aug 2018 06:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3gf1MegbI6NpPoOrVKHox5lsggcmL46xCUgb/yldVnE=; b=LDwuY30TBKYrlqz2jFyJqI3FvLDXbw/J+sB+C4UuZ7TLysC/IC1jb0s5LBr2Et7da2 GyJApNw+bvOMeeMKSeiacjpnpcwRvDMGjtxjq2eTnXRA8gV/jvNZOnvi7WI8GXTdfuSj OMnx+4LffRss9qec0yEy0THhqBA7U/Pn+3zGwAFXD4iOsvFx9w5dUNE5wtLBth1PznmH aqQ4hG4zp89WkC7dYP/dnPJ8iE6E1xCKCuNE1HPQKggXYmG/0qjNttqIIIHZPRTKcyVW 7xS5nAU7U+YEW6QGkTIPCQQMwR2YK/RjS5pzqqWV9aKQasvK5oFqXoriLljI5huIZOst EbvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3gf1MegbI6NpPoOrVKHox5lsggcmL46xCUgb/yldVnE=; b=kSJghvkHGeTDuWlDYIH0yjBCctPzU2ug3XoLad+ZDH4YKoyNBsmkMMGKypiTR97nLn pZQS+M/zTKkVNebAHTkVs7qY8CwJc4oCBYK+ot85wsUHr9sqmEYwPOwO7SglrUWKs3Ah JUII7WNciOgybDsPnD47Sz3mflCzUk2NVa4euvZjV2WJCntlUj6MmOcJm3AHypwU4U1G jLPhMprCdFkM5/i+uIBdLxmpnlFTz0yYo78Ue3bChAOJvAKM6ctys6Wg2szqXgwFD3M0 R+tcIQzthbEfW6Xxurnqn5QroUuhIVh54xz7zN8yxeEG1LV+ItAA3jqltgVnddhAiucm /LKw== X-Gm-Message-State: APzg51Ccp5nZjMM4+ziSMNUTZShRsEgU5VUPSDevFGD1LBKOS8YO7Yjo NYoHDKrooz/r/sMqHGzLEBO3ZiWSU10= X-Google-Smtp-Source: ANB0Vdby4eugHEPT2SutqKoM0kgco3U5GtVS7fNuaBBJrdpwDGanufw/10wfsDO5oQH9lQ6SdU1Ahw== X-Received: by 2002:a2e:650e:: with SMTP id z14-v6mr1442102ljb.62.1535118910229; Fri, 24 Aug 2018 06:55:10 -0700 (PDT) Received: from sh.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id h71-v6sm1352003lfg.64.2018.08.24.06.55.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Aug 2018 06:55:09 -0700 (PDT) From: Tomasz Duszynski To: dev@dpdk.org Cc: nsamsono@marvell.com, mw@semihalf.com, Szymon Sliwa Date: Fri, 24 Aug 2018 15:54:51 +0200 Message-Id: <1535118895-6505-3-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535118895-6505-1-git-send-email-tdu@semihalf.com> References: <1535118895-6505-1-git-send-email-tdu@semihalf.com> Subject: [dpdk-dev] [PATCH 2/6] crypto/mvsam: update hash digest sizes 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: Fri, 24 Aug 2018 13:55:11 -0000 From: Szymon Sliwa Update hash digest sizes to match hardware capabilities. Signed-off-by: Szymon Sliwa Reviewed-by: Yelena Krivosheev Reviewed-by: Natalie Samsonov --- drivers/crypto/mvsam/rte_mrvl_pmd_ops.c | 46 ++++++++++++++++----------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c index c045562..e2cfc07 100644 --- a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c +++ b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c @@ -30,9 +30,9 @@ static const struct rte_cryptodev_capabilities .increment = 1 }, .digest_size = { - .min = 16, + .min = 12, .max = 16, - .increment = 0 + .increment = 4 }, }, } }, } @@ -50,9 +50,9 @@ static const struct rte_cryptodev_capabilities .increment = 0 }, .digest_size = { - .min = 16, + .min = 12, .max = 16, - .increment = 0 + .increment = 4 }, }, } }, } @@ -70,9 +70,9 @@ static const struct rte_cryptodev_capabilities .increment = 1 }, .digest_size = { - .min = 20, + .min = 12, .max = 20, - .increment = 0 + .increment = 4 }, }, } }, } @@ -90,9 +90,9 @@ static const struct rte_cryptodev_capabilities .increment = 0 }, .digest_size = { - .min = 20, + .min = 12, .max = 20, - .increment = 0 + .increment = 4 }, }, } }, } @@ -110,9 +110,9 @@ static const struct rte_cryptodev_capabilities .increment = 0 }, .digest_size = { - .min = 28, + .min = 12, .max = 28, - .increment = 0 + .increment = 4 }, }, } }, } @@ -130,9 +130,9 @@ static const struct rte_cryptodev_capabilities .increment = 1 }, .digest_size = { - .min = 32, + .min = 12, .max = 32, - .increment = 0 + .increment = 4 }, }, } }, } @@ -150,9 +150,9 @@ static const struct rte_cryptodev_capabilities .increment = 0 }, .digest_size = { - .min = 32, + .min = 12, .max = 32, - .increment = 0 + .increment = 4 }, }, } }, } @@ -170,9 +170,9 @@ static const struct rte_cryptodev_capabilities .increment = 1 }, .digest_size = { - .min = 48, + .min = 12, .max = 48, - .increment = 0 + .increment = 4 }, }, } }, } @@ -190,9 +190,9 @@ static const struct rte_cryptodev_capabilities .increment = 0 }, .digest_size = { - .min = 48, + .min = 12, .max = 48, - .increment = 0 + .increment = 4 }, }, } }, } @@ -210,9 +210,9 @@ static const struct rte_cryptodev_capabilities .increment = 1 }, .digest_size = { - .min = 64, - .max = 64, - .increment = 0 + .min = 12, + .max = 48, + .increment = 4 }, }, } }, } @@ -230,8 +230,8 @@ static const struct rte_cryptodev_capabilities .increment = 0 }, .digest_size = { - .min = 64, - .max = 64, + .min = 12, + .max = 48, .increment = 0 }, }, } -- 2.7.4