From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 66C63325C for ; Wed, 25 Oct 2017 02:51:06 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id 196so14006161wma.1 for ; Tue, 24 Oct 2017 17:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=aOC2f1mGny2ePnN+hT2bAX8vOSVcFKzoRZMBwfCCMNY=; b=woTq2UA44oQrBOte8rjZxUHfnk5l1Q3b0y0i2VOhNYQVVJSTdFG5Wde7M1yu541uTh MKNq2baC4Cb196pUtdib39gXbaJomVtYDTv2gRPdqzFqexxZVJjSffXOhvblZt6SVL9T CDV2aVoiWwB4ClNnKLgMrOwh/LN+e7tt46+V8wHZVzWN8Ay7U/kYe7nr69jIjrRQk+wu BsbmFsEBdGobxl1ZmMJlyVwISaCI+endPuzyQNCibySwchMx3+OSBFgmO3QIkYt5MXMa FzCgwU8cUnao/j/aH5cHq5nJQyTV2nJgoaGAMzBamL+D+l5R8z4RzQfpVQoo4VHNrn6R MQUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=aOC2f1mGny2ePnN+hT2bAX8vOSVcFKzoRZMBwfCCMNY=; b=SXCDOm3fWQZgknBNW604WzkGuL+Rb+YlUxTNH0GMunj5ZAGZuLXbkfu2+XmrfmQGSE gDV2EDJlIC2WrMPRxn2fVlaKzW2faRRo9sIQQ1lRtsLNcjoOSD6x2aWdnU5yFSn8wNBf PQGcTOQJdVjNA/2VSN6pobUy4/4WJzou3kD6dZ9qmleuLafU7iQgrWf4EfrZ/vmHlWaH CQIdCFUH34PasCPToZMkIXPKM4cSPez0mDGGvxVxFaTSQVmfWdHR1FaTI42FxpX23fT1 GBJyXzZj29IJHrWLnFhvWBTwN+NLrm09s9yDwPVfD5kD9cYAQ5nTV9h8SWG9lGCfEVFE 4r9w== X-Gm-Message-State: AMCzsaWaHEDzjDcvtAaYkRvP6kAi7A19FUI8sGMBidUa2mJQcfsrTGQt byEanUrhj/luL7XwQAvvsL1qYQ== X-Google-Smtp-Source: ABhQp+T+QuEPb7AWOYW1Y/ZWZcCMc2pt7oaWrIkV3dLOq5+ZnhmPuUC3mQrhFd4MFzVslG57kxN/Og== X-Received: by 10.28.55.71 with SMTP id e68mr1893wma.139.1508892665960; Tue, 24 Oct 2017 17:51:05 -0700 (PDT) Received: from bidouze.vm.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id f10sm1555400wrg.20.2017.10.24.17.51.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Oct 2017 17:51:05 -0700 (PDT) Date: Wed, 25 Oct 2017 02:50:52 +0200 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet To: Declan Doherty Cc: dev@dpdk.org Message-ID: <20171025005024.GQ3596@bidouze.vm.6wind.com> References: <20171020212113.4543-1-declan.doherty@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171020212113.4543-1-declan.doherty@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH 0/3] Break dependency on bus infrastructure* 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: Wed, 25 Oct 2017 00:51:06 -0000 Hello Declan, On Fri, Oct 20, 2017 at 10:21:10PM +0100, Declan Doherty wrote: > This patch set breaks the dependency of the cryptodev library on both the > virtual and PCI device infrastructure. > > It introduces new bus independent crypto PMD driver assist functions for > parsing initialisation parameters, and creation/destruction of device > instances. > > It deprecates all function calls to the bus dependent functions and > updates all crypto PMDs to use the newly introduced device independent > functions. > I have tested your patchset with my PCI move series and had no issues. I will add a dependency on your work in my next version. Thanks! > Declan Doherty (3): > cryptodev: add new APIs to assist PMD initialisation > cryptodev: break dependency on virtual device bus > cryptodev: break dependency on rte_pci.h > > doc/guides/rel_notes/deprecation.rst | 6 + > drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 55 +++----- > drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 72 +++++----- > drivers/crypto/armv8/rte_armv8_pmd.c | 41 ++---- > drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 11 +- > drivers/crypto/dpaa_sec/dpaa_sec.c | 14 +- > drivers/crypto/kasumi/rte_kasumi_pmd.c | 47 +++---- > drivers/crypto/mrvl/rte_mrvl_pmd.c | 56 +++----- > drivers/crypto/null/null_crypto_pmd.c | 72 ++++------ > drivers/crypto/openssl/rte_openssl_pmd.c | 42 ++---- > drivers/crypto/qat/qat_crypto.c | 3 +- > drivers/crypto/qat/rte_qat_cryptodev.c | 55 ++++++-- > drivers/crypto/scheduler/scheduler_pmd.c | 45 ++---- > drivers/crypto/scheduler/scheduler_pmd_ops.c | 3 +- > drivers/crypto/snow3g/rte_snow3g_pmd.c | 41 ++---- > drivers/crypto/zuc/rte_zuc_pmd.c | 41 +++--- > lib/librte_cryptodev/Makefile | 2 - > lib/librte_cryptodev/rte_cryptodev.h | 8 +- > lib/librte_cryptodev/rte_cryptodev_pci.h | 92 ------------- > lib/librte_cryptodev/rte_cryptodev_pmd.c | 184 ++++++++++--------------- > lib/librte_cryptodev/rte_cryptodev_pmd.h | 88 ++++++++++++ > lib/librte_cryptodev/rte_cryptodev_vdev.h | 100 -------------- > lib/librte_cryptodev/rte_cryptodev_version.map | 7 +- > 23 files changed, 405 insertions(+), 680 deletions(-) > delete mode 100644 lib/librte_cryptodev/rte_cryptodev_pci.h > delete mode 100644 lib/librte_cryptodev/rte_cryptodev_vdev.h > > -- > 2.9.4 > -- Gaëtan Rivet 6WIND