From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0076.outbound.protection.outlook.com [104.47.40.76]) by dpdk.org (Postfix) with ESMTP id DF801BB6E for ; Wed, 26 Oct 2016 14:59:00 +0200 (CEST) Received: from BLUPR0301CA0010.namprd03.prod.outlook.com (10.162.113.148) by CY1PR03MB2377.namprd03.prod.outlook.com (10.166.207.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.679.12; Wed, 26 Oct 2016 12:58:59 +0000 Received: from BL2FFO11FD060.protection.gbl (2a01:111:f400:7c09::176) by BLUPR0301CA0010.outlook.office365.com (2a01:111:e400:5259::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.679.12 via Frontend Transport; Wed, 26 Oct 2016 12:58:58 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD060.mail.protection.outlook.com (10.173.161.156) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.679.5 via Frontend Transport; Wed, 26 Oct 2016 12:58:58 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.87]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u9QCwths031463; Wed, 26 Oct 2016 05:58:56 -0700 From: Shreyansh Jain To: Date: Wed, 26 Oct 2016 18:30:17 +0530 Message-ID: <1477486817-1284-1-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477485486-20433-1-git-send-email-shreyansh.jain@nxp.com> References: <1477485486-20433-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131219603388172545; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(8666005)(356003)(305945005)(15395725005)(86362001)(2950100002)(586003)(50986999)(68736007)(229853001)(106466001)(11100500001)(7846002)(5660300001)(105606002)(76176999)(15975445007)(36756003)(2351001)(5003940100001)(81156014)(97736004)(6666003)(92566002)(19580395003)(19580405001)(189998001)(48376002)(8676002)(85426001)(626004)(104016004)(47776003)(50466002)(50226002)(77096005)(81166006)(4326007)(2906002)(87936001)(33646002)(8936002)(6916009)(110136003)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB2377; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD060; 1:PGAo9Bi4/tF3wU6WmvAvis+hEukT1/REkePHo9Nl7bvWJ+0AUJPlOeRDOIPw+5RDKIZdxuqMq+Mv6oopE35nWoUShF4gLIW3txbiafhE6MuhMr+gsIpnD3kMz8/8ldkWSKQKTwIE1Ak4QS8si/dIMDiOCqbSd9oFrixftaRvB9AyQEmeywzd0FXLCty8L6tH5/rr7AlIy6+qZuTYSNFdggGvsgrNQQN8RVMFkJuXRKpRY2AqlTlondCI14com8Zg1yVcRYu3KxK3Sm8hGSw5b8l8VL1aprBbJrqnkMJHqtXkS20UQ6hFvj/puqb9IjRW4srl7vHW64jv606oEeEbuHAXkss/oavLukBfw8KFpOU8HsT/ZIlP4YfEEyoCYsblCk33Ukz/Ap9brz6W3MYF1tWt6EHuf1mcSQkShtgWIjFU+Wx/s5hd5kW7adwVG3oo7Tu01djHnSCbiTTLHDmutm28xqKSNAXm+lNgrvXFXRXLmMy6n7MZvSfqP5NmV9P7i3iCjaHc7DqQSnsBlCFPqT//Bo67qF4KC2XUUuw7jj5NOA2X9jUISXCUQ18KzzdU1J8MQXJtVuT9hoNJPKVTftsihOMhFp2qhOsBNUu0G42MBFMxyKWtuz8rMVTwcCQBnPvNF1AA1k3pcb8QobUhkwRakEcimGaAdKasXtQDPZPl2meZFhU+cBny2o8NHiDqwy2mbVJZnBSLfHR98y9lQUZzsPfQkmpf7ElH+AUlt0aQ2xoO7gHnmxSPg8v8u7BNCI2VRKqD+91X6ceL5BdbZQ== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: bf780897-8655-4a17-0901-08d3fd9fd9fc X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2377; 2:eJX2a84e9IMYia8VyvC4y14CPIQgrD1MZxeEFrgbVEWiG/0dF6Hg8x4Cul8hShdEIBwbLn9hwMa7yqv5pihpIcbhBe/Xz+mkiJ4vn26OzT6ZXfIs8GX13n5W3F2/bL8fk7ZIZ/0BZGoiq+ZS7MOvqaRviCNpMgVbhbIFrZxuSCx6nxt4fSDGGg+ZZl72WnSvQLtyQ5Pm1dUiYZPZzcrIww==; 3:K73QYsFaX6C7dGrb6EDuyOmB68wV9cT9EAi3SvTBnR5kYzt1TJbqXOmlFng3MwPDGUmn/mrBRCl3sW2IEvxUu1msB9blBlI4qfqMYbEuy7pVojTLWMv3HyRz9xl12d0wwc073q01ryVKGkbYs5eTG36b0VWi3IMtCpBqQ/H/+/etXWjLzuEE3j1pTujkqLEKgh4Hqc51HM5uyDD30CbMY+SiSSjpQozS6o5QCBgIcOhn2gUy6UcpG0oNXHcmXRMI; 25:ZoDtW+fXoyWr0oig/ZbEGG3iUrz32fijogQMKBbKCPts5rCzzEbWyje6Tspmriy0olOUzRdvfrj55e/IZH4DV6UjBS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HX4focFI742afseLz2w1NTdwo+auyWhu+ziUGePKYmlPIeLjh9s2H8/K7uqXtxUN+skc4FxcpF4XMlbh9m9SlBt+wf3EdC+bqWdcseyyQndX6o3NvliAQuosX2+AANbRPRB1bbZq4hjiOSZkJnzc4AOagqMbiQaU4MqU54yBX3rIalBSHRcLGmrhdaqKBJtJskY6gvLKayYYVW3dd9vK/lSYUejrDS8B0MY1HLAc1KPGhfFn263xuo/+00geRaBD72 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13015025)(8121501046)(13024025)(13017025)(13023025)(13018025)(5005006)(10201501046)(3002001)(6055026); SRVR:CY1PR03MB2377; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR03MB2377; X-Forefront-PRVS: 0107098B6C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR03MB2377; 23:OvV3LNr2Thh428zBdOaV/EJT6CncME+3GzPO/HTrp?= =?us-ascii?Q?mQq08MkVo634s91PHQhAjwVnB+CgEPt0I+26QgA+hBQg6+rRsUzupBSWUpMT?= =?us-ascii?Q?y1dWZyvRXOMOd+17G8/3QtEz7AqIDrlTOExSN5eTTbXLzgtQ7GLm7LHBdPjM?= =?us-ascii?Q?nPVz9z+Mupg+Frt+PkV93ZvqwUbTcQzX1LwneuhQ4ScRN4hg4f/VqGCJ4E6I?= =?us-ascii?Q?sSaRn8XCon3txlxl9gNbimVgNZpFQgfPML8dBxhyRAgj4BT3x6p6OoRuWCX9?= =?us-ascii?Q?O56FEUIFhgrcTV5FYwdU6WzOLWwN89U/OEn1wBdlU5tf5P3PlBMHR3/CMkHT?= =?us-ascii?Q?bVmYKyje7gi890f+X/ziiAvmPLb4cPWMy00kUDY7r0WF8Q9bQ55rvG7vMptq?= =?us-ascii?Q?IuCfS+0NukUUOoDZpodW0Yy9ViZNYVGbBAPJAfOQ4VVhgo2i1qjURuvchhGa?= =?us-ascii?Q?ksA4ljH+cI4fyjwrM8ACNpxNG1kZZep1L4AKXwS7kYUgG23Yq9KtH0OsqWby?= =?us-ascii?Q?Pr+0kRq9nCUPE5qfG+3pLapssJnTbgMvKcq7LyG59La2mxexMeAph5H2Azsc?= =?us-ascii?Q?fMdkMNAyx8KWPUpP+pzJU+5I+uMgdICz4GnRIsfJcWtzl/nyTl6ZeXQrq5SE?= =?us-ascii?Q?mKyLVN8k8dH+59Ksnb3zyiiTVq8lGDNp+6GflPhAq7NgU+mQGU9tmxO2JAp9?= =?us-ascii?Q?5YklVPvgtSnXg6pIMufrpWw/RwBy088FjzBTwlVc1he+nt6aKVTYem7G60T0?= =?us-ascii?Q?/28PiZiPmlS3Kg2H+SDBmhAVeslj70pL7yzUsVLk82kLBkxRZzpuwzrm8uRO?= =?us-ascii?Q?3Ownx2nTdFSlFaaKf+GVgIYyN7EaakWT4423j/dp3kchBKvd3ylhZcBuQD1v?= =?us-ascii?Q?f7ioegSHscdf71tsDoCazC7xwbp8O3TAZOoQfQHmv2MNEBLfjARrRmi5Bb7X?= =?us-ascii?Q?kbLBkn8NQzxfX5AZaJjIU6KhFtRUl5s4FQKSkwGH2wCstTTUdaWNFUsNcPNY?= =?us-ascii?Q?Qgpc1gx88CYMHfT5YJR+15LESk/rIIFdIMxcWqryv//ZaOSfW6JGvhODyzNh?= =?us-ascii?Q?6Gp3OutF87UXHS7TJg0vdt3DoYUq1lVynorv3/nkh+F0S1f2TbSPTsxbBilP?= =?us-ascii?Q?NnnLNoF0MvvHodD4N57FSq/hVdxw08kqkHZG0WJ/K1WRcAKXh6+90YTbOpU9?= =?us-ascii?Q?Scrgtk3ZrRKHcvkLSBeniNxFiPsaKUCKgop0LuJuhIH46aVB7BdQSXh+MgJj?= =?us-ascii?Q?RHouQ4SnE5IFsmMx96Zwzi/FpGh5nal4LsPb9bl?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2377; 6:Ko2utI4oNDFKym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enant-OriginalArrivalTime: 26 Oct 2016 12:58:58.6456 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB2377 Cc: dev@dpdk.org, Shreyansh Jain Subject: [dpdk-dev] [PATCH v2] 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: Wed, 26 Oct 2016 12:59:01 -0000 rte_device/driver generalization patches [1] were merged without a change in the LIBABIVER macro. This patches bumps the macro of affected libs. Also, deprecation notice from 16.07 has been removed and release notes for 16.11 added. Signed-off-by: Shreyansh Jain -- v2: - Mark bumped libraries in release_16_11.rst file - change code symbol names from text to code layout --- doc/guides/rel_notes/deprecation.rst | 12 ------------ doc/guides/rel_notes/release_16_11.rst | 21 +++++++++++++++++++-- lib/librte_cryptodev/Makefile | 2 +- lib/librte_eal/bsdapp/eal/Makefile | 2 +- lib/librte_eal/linuxapp/eal/Makefile | 2 +- lib/librte_ether/Makefile | 2 +- 6 files changed, 23 insertions(+), 18 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index d5c1490..884a231 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -18,18 +18,6 @@ Deprecation Notices ``nb_seg_max`` and ``nb_mtu_seg_max`` providing information about number of segments limit to be transmitted by device for TSO/non-TSO packets. -* The ethdev hotplug API is going to be moved to EAL with a notification - mechanism added to crypto and ethdev libraries so that hotplug is now - available to both of them. This API will be stripped of the device arguments - so that it only cares about hotplugging. - -* Structures embodying pci and vdev devices are going to be reworked to - integrate new common rte_device / rte_driver objects (see - http://dpdk.org/ml/archives/dev/2016-January/031390.html). - ethdev and crypto libraries will then only handle those objects so that they - do not need to care about the kind of devices that are being used, making it - easier to add new buses later. - * ABI changes are planned for 16.11 in the ``rte_mbuf`` structure: some fields may be reordered to facilitate the writing of ``data_off``, ``refcnt``, and ``nb_segs`` in one operation, because some platforms have an overhead if the diff --git a/doc/guides/rel_notes/release_16_11.rst b/doc/guides/rel_notes/release_16_11.rst index 26cdd62..2d5636c 100644 --- a/doc/guides/rel_notes/release_16_11.rst +++ b/doc/guides/rel_notes/release_16_11.rst @@ -149,6 +149,23 @@ Resolved Issues EAL ~~~ +* **Improved device/driver heirarchy and generalized hotplugging** + + 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 + * 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 + * helpers and support macros have been renamed to make them more synonymous + with their device types + (e.g. ``PMD_REGISTER_DRIVER`` => ``DRIVER_REGISTER_PCI``) + Drivers ~~~~~~~ @@ -232,11 +249,11 @@ The libraries prepended with a plus sign were incremented in this version. .. code-block:: diff - libethdev.so.4 + + libethdev.so.4 librte_acl.so.2 librte_cfgfile.so.2 librte_cmdline.so.2 - librte_cryptodev.so.1 + + librte_cryptodev.so.1 librte_distributor.so.1 + librte_eal.so.3 librte_hash.so.2 diff --git a/lib/librte_cryptodev/Makefile b/lib/librte_cryptodev/Makefile index 314a046..aebf5d9 100644 --- a/lib/librte_cryptodev/Makefile +++ b/lib/librte_cryptodev/Makefile @@ -34,7 +34,7 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_cryptodev.a # library version -LIBABIVER := 1 +LIBABIVER := 2 # build flags CFLAGS += -O3 diff --git a/lib/librte_eal/bsdapp/eal/Makefile b/lib/librte_eal/bsdapp/eal/Makefile index a15b762..122798c 100644 --- a/lib/librte_eal/bsdapp/eal/Makefile +++ b/lib/librte_eal/bsdapp/eal/Makefile @@ -48,7 +48,7 @@ LDLIBS += -lgcc_s EXPORT_MAP := rte_eal_version.map -LIBABIVER := 3 +LIBABIVER := 4 # specific to bsdapp exec-env SRCS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) := eal.c diff --git a/lib/librte_eal/linuxapp/eal/Makefile b/lib/librte_eal/linuxapp/eal/Makefile index 4e206f0..4ad7c85 100644 --- a/lib/librte_eal/linuxapp/eal/Makefile +++ b/lib/librte_eal/linuxapp/eal/Makefile @@ -37,7 +37,7 @@ ARCH_DIR ?= $(RTE_ARCH) EXPORT_MAP := rte_eal_version.map VPATH += $(RTE_SDK)/lib/librte_eal/common/arch/$(ARCH_DIR) -LIBABIVER := 3 +LIBABIVER := 4 VPATH += $(RTE_SDK)/lib/librte_eal/common diff --git a/lib/librte_ether/Makefile b/lib/librte_ether/Makefile index 488b7c8..bc2e5f6 100644 --- a/lib/librte_ether/Makefile +++ b/lib/librte_ether/Makefile @@ -41,7 +41,7 @@ CFLAGS += $(WERROR_FLAGS) EXPORT_MAP := rte_ether_version.map -LIBABIVER := 4 +LIBABIVER := 5 SRCS-y += rte_ethdev.c -- 2.7.4