From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 620912986 for ; Fri, 5 May 2017 17:37:59 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 May 2017 08:37:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,293,1491289200"; d="scan'208";a="964872997" Received: from dwdohert-mobl1.ger.corp.intel.com (HELO [163.33.228.86]) ([163.33.228.86]) by orsmga003.jf.intel.com with ESMTP; 05 May 2017 08:37:56 -0700 To: Slawomir Mrozowicz References: <20170505110755.8403-1-slawomirx.mrozowicz@intel.com> Cc: dev@dpdk.org From: Declan Doherty Message-ID: <5b8225a8-e749-5f89-c6d6-d12cf7328057@intel.com> Date: Fri, 5 May 2017 16:37:55 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170505110755.8403-1-slawomirx.mrozowicz@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [RFC] cryptodev: remove crypto device type enumeration 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: Fri, 05 May 2017 15:37:59 -0000 On 05/05/2017 12:07 PM, Slawomir Mrozowicz wrote: > This RFC changes device type identification to be based on a unique > driver id replacing the current device type enumeration, which needed > library changes every time a new crypto driver was added. > > The driver id is assigned dynamically during driver registration using > the new macro RTE_PMD_REGISTER_CRYPTO_DRIVER which returns a unique > uint8_t identifier for that driver. New APIs are also introduced > to allow retrieval of the driver id using the driver name. > > Library code is included in the RFC > (implementation in progress, API complete). > > Signed-off-by: Slawomir Mrozowicz > --- .... > Acked-by: Declan Doherty