From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id BB10969A5 for ; Wed, 29 Mar 2017 10:24:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490775863; x=1522311863; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=XIdWfy2KsjheUt+HrcMQMKJghTvDPdzGRWcMUoo3i84=; b=jTsIyhfa1e2yy/KR/hCTn9lfGel7A2TwB3TgHjjD2Cy/OXyhm6rpxn1X V8eQPgsxZoHmj8blNlopvkGXk6Dtaw==; Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Mar 2017 01:24:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,240,1486454400"; d="scan'208";a="71527228" Received: from silpixa00381633.ir.intel.com (HELO silpixa00381633.ger.corp.intel.com) ([10.237.222.114]) by orsmga004.jf.intel.com with ESMTP; 29 Mar 2017 01:24:21 -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:25:56 +0100 Message-Id: <1490775959-65295-1-git-send-email-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490710160-30089-1-git-send-email-roy.fan.zhang@intel.com> References: <1490710160-30089-1-git-send-email-roy.fan.zhang@intel.com> Subject: [dpdk-dev] [PATCH v4 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: Wed, 29 Mar 2017 08:24:24 -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. 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 + 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 | 400 +++++++++++++++++++++ 5 files changed, 426 insertions(+) create mode 100644 drivers/crypto/scheduler/scheduler_pkt_size_distr.c -- 2.7.4