From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 7D88269A5 for ; Wed, 29 Mar 2017 10:22:53 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP; 29 Mar 2017 01:22:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,240,1486454400"; d="scan'208";a="949321900" Received: from silpixa00381633.ir.intel.com (HELO silpixa00381633.ger.corp.intel.com) ([10.237.222.114]) by orsmga003.jf.intel.com with ESMTP; 29 Mar 2017 01:22:50 -0700 From: Fan Zhang To: dev@dpdk.org Cc: pablo.de.lara.guarch@intel.com, sergio.gonzalez.monroy@intel.com, declan.doherty@intel.com Date: Wed, 29 Mar 2017 09:24:25 +0100 Message-Id: <1490775868-65199-1-git-send-email-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490711441-55895-1-git-send-email-roy.fan.zhang@intel.com> References: <1490711441-55895-1-git-send-email-roy.fan.zhang@intel.com> Subject: [dpdk-dev] [PATCH v4 0/3] crypto/scheduler: add fail-over mode 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, 29 Mar 2017 08:22:53 -0000 This patch adds fail-over mode for cryptodev scheduler PMD. Fail-over mode works with 2 slaves, the primary slave and the secondary slave. In this mode, the scheduler will enqueues the incoming crypto operation burst to the primary slave. When one or more crypto operations fail to be enqueued, then they will be enqueued to the secondary slave. v4: - Polished documentation. - Fixed documentation grammer errors. v3: - More detailed commit messages. - Removed device flush. - Updated dequeue_ordering function v2: - Update with new reorder method Fan Zhang (3): crypto/scheduler: add fail-over scheduling mode file crypto/scheduler: enable fail-over scheduling mode doc: update cryptodev scheduler PMD documentation doc/guides/cryptodevs/scheduler.rst | 8 + drivers/crypto/scheduler/Makefile | 1 + drivers/crypto/scheduler/rte_cryptodev_scheduler.c | 7 + drivers/crypto/scheduler/rte_cryptodev_scheduler.h | 3 + drivers/crypto/scheduler/scheduler_failover.c | 285 +++++++++++++++++++++ 5 files changed, 304 insertions(+) create mode 100644 drivers/crypto/scheduler/scheduler_failover.c -- 2.7.4