From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id BDA8210F98 for ; Thu, 30 Mar 2017 12:45:40 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 30 Mar 2017 03:45:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,246,1486454400"; d="scan'208";a="66846999" Received: from silpixa00381633.ir.intel.com (HELO silpixa00381633.ger.corp.intel.com) ([10.237.222.114]) by orsmga002.jf.intel.com with ESMTP; 30 Mar 2017 03:45:38 -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: Thu, 30 Mar 2017 11:47:13 +0100 Message-Id: <1490870836-111037-1-git-send-email-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490804784-64350-1-git-send-email-roy.fan.zhang@intel.com> References: <1490804784-64350-1-git-send-email-roy.fan.zhang@intel.com> Subject: [dpdk-dev] [PATCH v6 0/3] crypto/scheduler: add packet-base scheduling 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: Thu, 30 Mar 2017 10:45:41 -0000 Packet-size based distribution mode is a scheduling mode that works with 2 slaves, the primary slave and the secondary slave, and distributes the enqueued crypto operations to them based on their data lengths. A crypto operation will be distributed to the primary slave if its data length is equal to or bigger than the designated threshold, otherwise it will be handled by the secondary slave. v6: - Fixed index bug in the schedule_enqueue function v5: - Updated release notes - Update enqueue and dequeue functions v4: - Polished documentation. - Fixed documentation grammer errors. v3: - Uses 2 sched_ops array instead of one. - Copy the failed-to-enqueue crypto ops back to the end of ops array. - Dequeue_ordering will directly use schedule_dequeue function instead of excessive dequeue. v2: - Update with new reorder method. Fan Zhang (3): crypto/scheduler: add packet size based mode code crypto/scheduler: enable packet size based scheduling mode doc: update cryptodev scheduler PMD documentation doc/guides/cryptodevs/scheduler.rst | 15 + doc/guides/rel_notes/release_17_05.rst | 5 + drivers/crypto/scheduler/Makefile | 1 + drivers/crypto/scheduler/rte_cryptodev_scheduler.c | 7 + drivers/crypto/scheduler/rte_cryptodev_scheduler.h | 3 + .../crypto/scheduler/scheduler_pkt_size_distr.c | 420 +++++++++++++++++++++ drivers/crypto/scheduler/scheduler_pmd_ops.c | 2 + drivers/crypto/scheduler/scheduler_pmd_private.h | 2 + 8 files changed, 455 insertions(+) create mode 100644 drivers/crypto/scheduler/scheduler_pkt_size_distr.c -- 2.7.4