From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id DEA3829C7 for ; Tue, 28 Mar 2017 16:29:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490711347; x=1522247347; h=from:to:cc:subject:date:message-id; bh=wVtlwzZJ1rWujnGgTYMC5s/lBRBi3dnORz7umMru2GE=; b=xurHte9MqwTxYOqb1psDisIG1XBC0rkU9waZw7wg3KwxBFrbnURG056Q /0Af0vJXoGtQ1pg2q7CynVSiwyM+NQ==; Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2017 07:29:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,236,1486454400"; d="scan'208";a="81500817" Received: from silpixa00381633.ir.intel.com (HELO silpixa00381633.ger.corp.intel.com) ([10.237.222.114]) by fmsmga005.fm.intel.com with ESMTP; 28 Mar 2017 07:29:03 -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: Tue, 28 Mar 2017 15:30:38 +0100 Message-Id: <1490711441-55895-1-git-send-email-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH v3 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: Tue, 28 Mar 2017 14:29:07 -0000 This patch adds fail-over mode for cryptodev scheduler PMD. Fail-over mode works with 2 slaves, primary slave and secondary slave. In this mode, the scheduler will enqueues the incoming crypto op burst to the primary slave. When one or more crypto ops are failed to be enqueued, they then will be enqueued to the secondary slave. 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 | 7 + 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, 303 insertions(+) create mode 100644 drivers/crypto/scheduler/scheduler_failover.c -- 2.7.4