From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f175.google.com (mail-wj0-f175.google.com [209.85.210.175]) by dpdk.org (Postfix) with ESMTP id 06ADDFA57 for ; Fri, 2 Dec 2016 15:31:25 +0100 (CET) Received: by mail-wj0-f175.google.com with SMTP id v7so233344084wjy.2 for ; Fri, 02 Dec 2016 06:31:25 -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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=7F6DmqfbCboJD2GdYU5/o8L8a1tFcWxjjfuO2u6cyMo=; b=ur87kMZkYXs8ooDTfhfFqAPM/xXER/MiLdIzFu+NrEe7ZfifaeMLG1pktztwkRKf6r 0gG3xWUce/RIXh5xTs/292uflqJ5UWJn2zBF+VMjeyExCqr9glQ1cm6PE32sR4AZG8SN fUrhq3p2AtdAMts0yNljPMLxONA1B6ibXIsHRF9HauGyqVIWq6tU1ERZgKXonjkvqpDP aGHRalNEiKDeuCDGgvTApc3MNnrZz+z3gAE47t/T3JRa6UZZQbFQ0BmaAQCsEB9OO18H FKCpOEynV9+S2pjcmxC/8no/3WsaH/NcYqju7qjfemhqtB8UeWRzL7WY6G5YWPIgeH0L 1rDA== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=7F6DmqfbCboJD2GdYU5/o8L8a1tFcWxjjfuO2u6cyMo=; b=SGFdQCA2Q5n5yi4mk0tfc+oF1p3v5xYCypmLD8DkMFKIdn36tYqz3vfcsz0+WZUViM mZLqIWbvx1uF5dnsP3WDYYd2IMiB/oA6OugKEI4huMt1bbTU4ASlDSk5SYPLVhF9gnha jWtbVbeLzvj+x4Xfgj/t6sUi1pHHpxxK8B4LBKD1Fwx91b+dzeEG1VgwhH4bO7YfeGBG Z8RbsbboLV4Pm5uduLps3s8FzS9PT4vVs+Y+BiixniBDXde1UaQFKXEXxEbp1JtIuVHy UNwjkHWc8wbzr7otCyoh93ga8qYI9+tFHycBkWtfJNAvogbrJEfTq0TutPHhLhG8Vw5m QVBg== X-Gm-Message-State: AKaTC02pvguzRQdLy27Ve3omPlhIUcJVguaLLpZZfTSNHgoN1Xwj9qalaHxnHscAs4pFd/99 X-Received: by 10.194.6.232 with SMTP id e8mr38964174wja.69.1480689085740; Fri, 02 Dec 2016 06:31:25 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id x188sm3521680wmx.4.2016.12.02.06.31.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Dec 2016 06:31:25 -0800 (PST) From: Thomas Monjalon To: Fan Zhang Cc: dev@dpdk.org, declan.doherty@intel.com Date: Fri, 02 Dec 2016 15:31:24 +0100 Message-ID: <8047937.9v81RFizFU@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1480688123-39494-1-git-send-email-roy.fan.zhang@intel.com> References: <1480688123-39494-1-git-send-email-roy.fan.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] Scheduler: add driver for scheduler crypto pmd 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, 02 Dec 2016 14:31:26 -0000 2016-12-02 14:15, Fan Zhang: > This patch provides the initial implementation of the scheduler poll mode > driver using DPDK cryptodev framework. > > Scheduler PMD is used to schedule and enqueue the crypto ops to the > hardware and/or software crypto devices attached to it (slaves). The > dequeue operation from the slave(s), and the possible dequeued crypto op > reordering, are then carried out by the scheduler. > > The scheduler PMD can be used to fill the throughput gap between the > physical core and the existing cryptodevs to increase the overall > performance. For example, if a physical core has higher crypto op > processing rate than a cryptodev, the scheduler PMD can be introduced to > attach more than one cryptodevs. > > This initial implementation is limited to supporting the following > scheduling modes: > > - CRYPTO_SCHED_SW_ROUND_ROBIN_MODE (round robin amongst attached software > slave cryptodevs, to set this mode, the scheduler should have been > attached 1 or more software cryptodevs. > > - CRYPTO_SCHED_HW_ROUND_ROBIN_MODE (round robin amongst attached hardware > slave cryptodevs (QAT), to set this mode, the scheduler should have > been attached 1 or more QATs. Could it be implemented on top of the eventdev API?