From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shreyansh Jain Subject: Re: [PATCH v8 09/25] driver: Remove driver register callbacks for crypto/net Date: Tue, 30 Aug 2016 10:06:55 +0530 Message-ID: <60511213-6271-1bfb-24c1-61d7c08971b5@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1472219823-29486-1-git-send-email-shreyansh.jain@nxp.com> <1472219823-29486-10-git-send-email-shreyansh.jain@nxp.com> <57C46EE1.90303@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , , To: Ferruh Yigit , Return-path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0054.outbound.protection.outlook.com [104.47.33.54]) by dpdk.org (Postfix) with ESMTP id 67CDF2BD4 for ; Tue, 30 Aug 2016 06:37:00 +0200 (CEST) In-Reply-To: <57C46EE1.90303@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Ferruh, On Monday 29 August 2016 10:50 PM, Ferruh Yigit wrote: > On 8/26/2016 2:56 PM, Shreyansh Jain wrote: >> Now that all pdev are pci drivers, we don't need to register crypto and ethdev >> drivers through a dedicated channel. >> >> Signed-off-by: David Marchand >> Signed-off-by: Shreyansh Jain > > .... > >> -void rte_eth_driver_register(struct eth_driver *eth_drv); > > Function needs to be removed from .map file Actually here I was a little confused. This is part of DPDK_2.2 - an old release. Would removing from an old release break compatibility for any system using the new release but still adhering to older APIs? Also, there is the case of this comment [1] from Neil Horman (and counter argument [2]) about not removing 'rte_cryptodev_pmd_driver_register' from map file because there was no deprecation notice. Overall situation is that I have maintained the previous patch of 'rte_cryptodev_pmd_driver_register' removal but refrained from removing new symbol - waiting for a little more clarification. Is it OK to remove a symbol from an older release without a deprecation notice? Or, should a deprecation notice follow this patch? [1] http://dpdk.org/ml/archives/dev/2016-June/042439.html [2] http://dpdk.org/ml/archives/dev/2016-June/042444.html > >> - >> -/** >> * Convert a numerical speed in Mbps to a bitmap flag that can be used in >> * the bitmap link_speeds of the struct rte_eth_conf >> * >> > > - Shreyansh