From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 6399F2C6E for ; Wed, 5 Apr 2017 10:47:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491382022; x=1522918022; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=wdFzCQmCf2NI6DFoQ/UCu5PCCRV7AOUjYnkLlpEUoRQ=; b=qzebFWOq68J8J+QP3jFZn8bnzrQlX8qHA5GIcjS43A8VCvWcjPTYUJyq NpovibCqfGVluAivpau71NGe8XzzJw==; Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2017 01:47:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,277,1486454400"; d="scan'208";a="83366218" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by orsmga005.jf.intel.com with ESMTP; 05 Apr 2017 01:47:00 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.239]) by irsmsx105.ger.corp.intel.com ([169.254.7.163]) with mapi id 14.03.0319.002; Wed, 5 Apr 2017 09:46:59 +0100 From: "De Lara Guarch, Pablo" To: "Zhang, Roy Fan" , "dev@dpdk.org" CC: "Gonzalez Monroy, Sergio" , "Doherty, Declan" Thread-Topic: [PATCH v2] crypto/scheduler: add mode specific option support Thread-Index: AQHSqjOBm9czJ6OIDE6WV5flBzvJB6G2fa2Q Date: Wed, 5 Apr 2017 08:46:58 +0000 Message-ID: References: <1487687379-43345-1-git-send-email-roy.fan.zhang@intel.com> <1490974226-40957-1-git-send-email-roy.fan.zhang@intel.com> In-Reply-To: <1490974226-40957-1-git-send-email-roy.fan.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWQ5Nzk3ZTEtMDRlZi00NzdkLWFkOTQtNTc2MGYyMWQxZjIyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjRUald5WTVlNjhiekhLM3NvK2xLNzV1cVl5S1FpelUrcUtHcWx6bUJzeFk9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] crypto/scheduler: add mode specific option support 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, 05 Apr 2017 08:47:02 -0000 Hi Fan, > -----Original Message----- > From: Zhang, Roy Fan > Sent: Friday, March 31, 2017 4:30 PM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo; Gonzalez Monroy, Sergio; Doherty, Declan > Subject: [PATCH v2] crypto/scheduler: add mode specific option support >=20 > Some scheduling modes may need extra options to be configured, > this patch adds the function prototype for setting/getting > options. >=20 > Signed-off-by: Fan Zhang > --- >=20 > v2: > - Updated for option support in packet-size based mode > - Updated version map file >=20 > drivers/crypto/scheduler/rte_cryptodev_scheduler.c | 63 > ++++++++++++++++++++++ > drivers/crypto/scheduler/rte_cryptodev_scheduler.h | 55 > +++++++++++++++++++ > .../scheduler/rte_cryptodev_scheduler_operations.h | 13 +++++ > .../scheduler/rte_pmd_crypto_scheduler_version.map | 2 + > drivers/crypto/scheduler/scheduler_failover.c | 2 + > .../crypto/scheduler/scheduler_pkt_size_distr.c | 47 ++++++++++++++++ > drivers/crypto/scheduler/scheduler_roundrobin.c | 4 +- > 7 files changed, 185 insertions(+), 1 deletion(-) >=20 ... > diff --git > a/drivers/crypto/scheduler/rte_pmd_crypto_scheduler_version.map > b/drivers/crypto/scheduler/rte_pmd_crypto_scheduler_version.map > index 69cf0c6..7c45eaf 100644 > --- a/drivers/crypto/scheduler/rte_pmd_crypto_scheduler_version.map > +++ b/drivers/crypto/scheduler/rte_pmd_crypto_scheduler_version.map > @@ -15,5 +15,7 @@ DPDK_17.05 { > global: >=20 > rte_cryptodev_scheduler_slaves_get; > + rte_cryptodev_scheduler_option_set; > + rte_cryptodev_scheduler_option_get; This has to be in alphabetical order.