From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 2DAEF5323 for ; Thu, 27 Oct 2016 12:15:30 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id b80so23791071wme.1 for ; Thu, 27 Oct 2016 03:15:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=6GIQAfUQmstSo+N+ShPmndcb868CFHY4+ufj2wsCIHA=; b=spfY34eIaeZ/N+xt98tF1gwks9jYxlkFkfrBbSaq+rnj6JM3Kk7ySnMhqntFCnNnhB 1cNgPlwbp1lELoIum1zyGQL5lSOGYt9YGg37M3/BwbA2yZJmn7UQwOu7c+rXiSnU9FAE L+GL28eVOyWvowKwSYQhJefyZtfd9exNOmtj0c7tPP3yYmbHn35CnxuQ7Ja1MtJnVRAx aDU0KLexwsFHOPjqeMYjk8MHotGlAVRJFilrixL3vLZ/GsRYtPrZN+Z1Av5ryw2Zavva JkJCvWDENiyYLIDXTl4GT6h3o5yvzxHvJkXh+B4dxlaXzSbNs62Hdtqf6lH2XbGz18vz K8AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=6GIQAfUQmstSo+N+ShPmndcb868CFHY4+ufj2wsCIHA=; b=UMCBGVHVsCb6Si4949YXWmHgHJeszYuuSdj/57a7BywGFHuEawXOXt2ZtGAOLQAo6i HULiYh155ph3y2bGVpqrAkwb4Pw09uofbLgKLkQz0AvNlz3oBSXA0M2B12j4qPtCDvk+ cDL3Mf14OAcCK50PlyhesqACs9xYyR/NAhuCn0TE1/5Dl8b7soiCN0hfoO8AswK8d9/7 ygmeQwqJlEqpzQD8pI3+XcQYUNGyKAlTkbxvFueBz/nxp6rShYT93ZeRLrBKbSWMPlyV kY0cgI9f0tRdZh/fS60+FSYqmsaDFlaIWAQYGJkTuCAGbAqLzcIhXwuItVrLKxPuwF+v 3rgw== X-Gm-Message-State: ABUngvf9FpZwvXLaqPRjc/O0DDH2eRNla31Am4I6P4K/Gh2RAuaGaj7T2drL6ibhZ5xzf1nG X-Received: by 10.194.202.195 with SMTP id kk3mr5965655wjc.37.1477563329809; Thu, 27 Oct 2016 03:15:29 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id y2sm7595845wjx.20.2016.10.27.03.15.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Oct 2016 03:15:29 -0700 (PDT) From: Thomas Monjalon To: Shreyansh Jain Date: Thu, 27 Oct 2016 12:15:27 +0200 Message-ID: <6056365.vs23AthqBz@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1477552109-18624-1-git-send-email-shreyansh.jain@nxp.com> References: <1477486817-1284-1-git-send-email-shreyansh.jain@nxp.com> <1477552109-18624-1-git-send-email-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, ferruh.yigit@intel.com Subject: Re: [dpdk-dev] [PATCH v3] eal: fix libabi macro for device generalization patches X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2016 10:15:30 -0000 2016-10-27 12:38, Shreyansh Jain: > rte_device/driver generalization patches [1] were merged without a change > in the LIBABIVER macro. This patches bumps the macro of affected libs. It is not a macro but a Makefile variable. > (librte_eal was already bumped; libcryptodev and libetherdev have been > bumped). Please provide the commit id where EAL was bumped. > Details of ABI/API changes: > - EAL (version not bumped) not bumped -> already bumped > |- type field was removed from rte_driver > |- rte_pci_device now embeds rte_device > |- rte_pci_resource renamed to rte_mem_resource > |- numa_node and devargs of rte_pci_driver is moved to rte_driver > |- APIs for device hotplug (attach/detach) moved into EAL > |- API rte_eal_pci_device_name added for PCI device naming > |- vdev registration API introduced (rte_eal_vdrv_register, > | rte_eal_vdrv_unregister > > - librte_crypto (v 1=>2) > |- removed rte_cryptodev_create_unique_device_name API > |- moved device naming to EAL > > - librte_ethdev (v 4=>5) > |- rte_eth_dev_type is removed > |- removed dev_type from rte_eth_dev_allocate API > |- removed API rte_eth_dev_get_device_type > |- removed API rte_eth_dev_get_addr_by_port > |- removed API rte_eth_dev_get_port_by_addr > |- removed rte_cryptodev_create_unique_device_name API > |- moved device naming to EAL > > Also, deprecation notice from 16.07 has been removed and release notes for > 16.11 added. > > [1] http://dpdk.org/ml/archives/dev/2016-September/047087.html > > Signed-off-by: Shreyansh Jain [...] > --- a/doc/guides/rel_notes/release_16_11.rst > +++ b/doc/guides/rel_notes/release_16_11.rst > @@ -149,6 +149,32 @@ Resolved Issues It is the "Resolved Issues" section. Please move in the "API Changes" section. > EAL > ~~~ > > +* **Improved device/driver heirarchy and generalized hotplugging** typo: hierarchy > + Device and driver relationship has been restructured by introducing generic > + classes. This paves way for having PCI, VDEV and other device types as > + just instantiated objects rather than classes in themselves. Hotplugging too > + has been generalized into EAL so that ethernet or crypto devices can use the > + common infrastructure. > + > + * removed ``pmd_type`` as way of segragation of devices > + * moved ``numa_node`` and ``devargs`` into ``rte_driver`` from > + ``rte_pci_driver``. These can now be used by any instantiated object of > + ``rte_driver``. > + * added ``rte_device`` class and all PCI and VDEV devices inherit from it > + * renamed devinit/devuninit handlers to probe/remove to make it more > + semantically correct with respect to device<=>driver relationship > + * moved hotplugging support to EAL. Hereafter, PCI and vdev can use the > + APIs ``rte_eal_dev_attach`` and ``rte_eal_dev_detach``. > + * helpers and support macros have been renamed to make them more synonymous > + with their device types > + (e.g. ``PMD_REGISTER_DRIVER`` => ``DRIVER_REGISTER_PCI``) It is RTE_PMD_REGISTER_PCI > + * Device naming functions have been generalized from ethdev and cryptodev > + to EAL. ``rte_eal_pci_device_name`` has been introduced for obtaining > + unique device name from PCI Domain-BDF description. > + * Virtual device registration APIs have been added: ``rte_eal_vdrv_register`` > + and ``rte_eal_vdrv_unregister``. Thanks