From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id A90F02BEA for ; Fri, 11 Mar 2016 10:36:57 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id n186so10251115wmn.1 for ; Fri, 11 Mar 2016 01:36:57 -0800 (PST) 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:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=B9A2sKp9naUDwilAW1xTJNHZyB1CTRV0uxk9kC0bXhM=; b=mczz0K3bGdmB+4B+QrSJE95oEOHCG5KjzP8rc5pqhVOPrNVUoRNM0bibL71nd84DQo lqztn5lsQTiBYBsYb2E8FOIS4Yx6Yk0sooSY+5shxMTknDkynh+v/PqmL4Yioxdv28eq 4cnnAG5T/em/8I1hK0hPoMam5bjxId+l51ylPl0Ouxp0gBbTQMxUfsJNlxFk7lvGSvuA lV6ye+ANPFPDjxFQjDOTqxq5n/+6Yys2yYIPmu2BO1/vhsQICQxiRNUunAlMZCQp5Vtd WeknMhM0s5EkqMfdVFAeV+JoKPk+tlRq/Z/HBSd/XvmK/EjGFzFzUeUu+/NRq9Z8DeYm 0zLA== 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=B9A2sKp9naUDwilAW1xTJNHZyB1CTRV0uxk9kC0bXhM=; b=heeqOHi+xWu8lQfuPgeWukIQDUPopRXxHEq0qOtu+xWsZCwzbg5Ma9Lm2CJVoZiBvR KYI7bLv7Uz1s5KoHzPxZhAICevcaOJhPE7NoOzQl7p1C25TLLk5QTFbQcXcc9jJ7RrTk LpE3lV14uPiqJXNQNxlyyxP71BANIAzwIXuNq3XrBvTvNbk/2RFNsqwLSIezQXiKrJ5K zWlWU6FNsiPOB5WsqWI0Qq55oBN+68yg0NQ4e4tL8vfYaSEyuzx29B9YnbcAStt9vSh/ 44174SQV3LooSaIBsv6Y+3wFe46PbrZlWAGxRZV3VyoYZUvhhh48rgZRRzYmRazVzU3u uYFQ== X-Gm-Message-State: AD7BkJKyRXWxrhk/0qkqW0lk7B4zKfZ9M96q92X7IObr8uGJZlAMgQpskioEF2LI0vcfsSok X-Received: by 10.194.21.197 with SMTP id x5mr8441540wje.90.1457689017524; Fri, 11 Mar 2016 01:36:57 -0800 (PST) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id y62sm1381579wmg.12.2016.03.11.01.36.56 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Mar 2016 01:36:56 -0800 (PST) From: Thomas Monjalon To: Pablo de Lara Date: Fri, 11 Mar 2016 10:35:14 +0100 Message-ID: <2745597.YgJ68IgvFl@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1457660214-172168-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1457639676-16653-1-git-send-email-pablo.de.lara.guarch@intel.com> <1457660214-172168-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v4] cryptodev: add capabilities discovery mechanism 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, 11 Mar 2016 09:36:57 -0000 2016-03-11 01:36, Pablo de Lara: > From: Declan Doherty > > This patch add a mechanism for discovery of crypto device features and supported > crypto operations and algorithms. It also provides a method for a crypto PMD to > publish any data range limitations it may have for the operations and algorithms > it supports. > > The parameter feature_flags added to rte_cryptodev struct is used to capture > features such as operations supported (symmetric crypto, operation chaining etc) > as well parameter such as whether the device is hardware accelerated or uses > SIMD instructions. > > The capabilities parameter allows a PMD to define an array of supported operations > with any limitation which that implementation may have. > > Finally the rte_cryptodev_info struct has been extended to allow retrieval of > these parameter using the existing rte_cryptodev_info_get() API. > > Signed-off-by: Declan Doherty > Signed-off-by: Pablo de Lara > Acked-by: Fiona Trahe Applied, thanks