From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 1B37629C7 for ; Tue, 28 Mar 2017 16:07:44 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP; 28 Mar 2017 07:07:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,236,1486454400"; d="scan'208";a="81493004" 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:07:42 -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:09:17 +0100 Message-Id: <1490710160-30089-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 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: Tue, 28 Mar 2017 14:07:45 -0000 Packet-size based distribution mode, which works with 2 slaves, primary slave and secondary slave, and distribute the enqueued crypto ops to them based on their data lengths. A crypto op will be distributed to the primary slave if its data length equals or bigger than the designated threshold, otherwise it will be handled by the secondary slave. 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 | 14 + 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, 425 insertions(+) create mode 100644 drivers/crypto/scheduler/scheduler_pkt_size_distr.c -- 2.7.4