From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0085.outbound.protection.outlook.com [104.47.34.85]) by dpdk.org (Postfix) with ESMTP id C86E758EC for ; Wed, 26 Oct 2016 14:37:18 +0200 (CEST) Received: from BY2PR03CA061.namprd03.prod.outlook.com (10.141.249.34) by BN3PR03MB2372.namprd03.prod.outlook.com (10.166.75.7) 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:37:17 +0000 Received: from BL2FFO11FD043.protection.gbl (2a01:111:f400:7c09::195) by BY2PR03CA061.outlook.office365.com (2a01:111:e400:2c5d::34) 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:37:16 +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 BL2FFO11FD043.mail.protection.outlook.com (10.173.161.139) 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:37:16 +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 u9QCbDRb018966; Wed, 26 Oct 2016 05:37:14 -0700 From: Shreyansh Jain To: Date: Wed, 26 Oct 2016 18:08:05 +0530 Message-ID: <1477485486-20433-1-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131219590365447459; (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)(1110001)(1109001)(339900001)(199003)(189002)(68736007)(11100500001)(305945005)(92566002)(356003)(7846002)(8666005)(5003940100001)(104016004)(586003)(189998001)(15395725005)(50226002)(2906002)(110136003)(6916009)(85426001)(5660300001)(97736004)(81166006)(81156014)(87936001)(8676002)(626004)(8936002)(77096005)(15975445007)(47776003)(106466001)(229853001)(105606002)(86362001)(2351001)(19580405001)(19580395003)(33646002)(6666003)(4326007)(36756003)(50986999)(50466002)(48376002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2372; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD043; 1:6vJFZhJT4XUElSv67QfyQpPvMmeJ/kqmF7zSe8QmoMP66m2YnXLMsAa+layYXDgIZowc91I+94TE0hZRtptj1jXD00zlYyvLQn+HUUVZMdNHPNiJ0Zv3Z6AxRdoFQVfG0GjzGUoEOjQV3cRxb1piZTVNVIo39KHMRMEbnhN4x9VBz2WdMz9c5JGngf/lhFlPrg6xhJlGxU5kb+PMk9+b2y1wHXR8xlEINFl+ujwarbetFXtC3f12dwIddeXP0QHszd+LW3yR8X5vbjBDoULE1krOEv2nFmE5DTbUx6BFP/qrrZb5B32rNZs1CUO53OrIx/RfB2HthUIBtcfl8D49FsQMrGtdIkEvzikFIPkRSmhCKFuAY98tQ188CUVSKJtm16CmIG9R6R3U1bwvT1KLrY+mHVj3qi531RSEQ2FGMbYY8uo/QgHM8qPLl47hXp+fPOP+sLqpFQGfWZBTAHViRJvfBwVWOnl01k5bxYlBmt3/WG7qG18/fe0HatIbOQMsqzOetaBfJfFpozLG0gmF5OgLjp3LHt5/McYLdpSFiuph8ocMl5h0nMpKCKx/VMHBfHD5SVEfQuR4G778TwCk2XgVwBu6ziIF0iSOmwGNvlQ2csCPEWK+AKYbbinYyWPPwFwkUXP5TFQRRlQONR6eXUnTakyeDoLBu9NbZuKKAWt9hRlFd6fAiMGKLqHGGnSQxWxfxrpCiDNMTvLoMQprTlIgzb5TtvozO7jizxBtjWA= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: d9248f4f-d6a3-4b01-98ba-08d3fd9cd1af X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2372; 2:aQghxzm7Ldp9h9y4AVnJ0RhPBdM5QTgJIqbrw8qw053o2EWwB75qYbnkW3aK5kHXqty6KVUqU4mur7UWHRao2909Og5/g58rE9lexSJ261j9OrkUAG2PMa/NlUaOz0kpRZL/6P5RwaXRf/+mBXszeZ4Jlv4JM407GdqCXeSjgcw+oPc89hocS+4tUdI9fodPxFRg9n1U827n3vGdj7i4DA==; 3:uq4h0ze6FiD+aNyGNtz5e8dWYQg7CAdMytrHprHJifI6E7y/Vtx7J5/piLRfpKt5lnXVOTakHd2Inl5pq4tMC6e8cFdbkipFdfg4TFvLeEcqtaLnaRBUABqiy/V8OYvNJ0LnpuM7hYlZPOytLJQ1g8NvnVjGz8Y1GZdW5PIVwC6SlBkGC74VEG8fBCkI0pZntNraPBQqqU7Z2yCHk1OOnlikCsrgV+WvVN8I1A0+J2QvRh34uWDBXlLiWA/KQOD4 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB2372; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2372; 25:W+1e061TBkFdi7BLHB39IytFl3dMFpO0bI3e9lt0SNdJ+v8cWdl7kihhgdSLvkAHCHuvdgX6wum0qW9Z3zeqZhrRLG3opsPlsGKODb2D65kGGL1CShyEZkgU7Fht/KknxyppF1roJVcIijMkyoOSf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NjrANIHlJ/x8mvaYDYy6nC5pqnBIxVKK4=; 4:pEEdI5IEFsHGor+fyPhjasYamWN5IgP3iBUV4cD7Dqnedz5K/0wCBgP+VE1jvY08Np+GRfPdgbvGwjVnGcyVqmWkV5Yqp7dDfJMYGgpfgmT9hgMNyPjMu9WH4EgR+fiV7LKdb2hBvgJZH/e7qGly39HxpYXQHaJdCMjbnl3gMzLFdFAUpgzXmjgIqjTJb26j/MP/wSEsRDytrdUlOOdiGl/nd3K7upOSNZ0BGAumpoMJhulXqg9VfFOo+uEA9cd7e9XTEU7criRuDDyo+zT777+2xnkbonweeCxEPwa/hSZ05UxerVOd+8GgL6ckMTUzYiu4QH5+3lP8wjS1Yn2FKXCOrNll2FL6Pbm77F4RJex2xZv36usPX6QWOaLoTNzny4wLb7BTlfOOYtGu1dq9NirZhUT0cTn4vwOCqXysk/OVnioKpXs9anhbGUEAX7/4sjrfXXuYeu2Y2fjYWy0KqB6scIaea1MEYpQiFI5/wDNQQ2zi6HfHZ/ljJxTFmHLf55aGB4sifq9WdEVnEu2/RpA8ZMq6SvPQUkzktd7KHQoFYvhCoZyZowfXuUq6Qf95 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)(13017025)(13023025)(13018025)(13024025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:BN3PR03MB2372; BCL:0; PCL:0; RULEID:(400006); SRVR:BN3PR03MB2372; X-Forefront-PRVS: 0107098B6C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB2372; 23:bTI8csM5wS1LqwVOiQWtD5GMoxiry+RP0RU3hC38k?= =?us-ascii?Q?xgwRCKTZ7U1+ueDqELG9FF8tgfqdhUwG0wQVZdkAJLqGQ7s7ZGiUqkSWX1nB?= =?us-ascii?Q?GoxD8FnCnx+6wQsVHHBDMS1gfQLl85sCHB93aAug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2R7TpRiY9MSHyLpwVt2uy117f43c5ch+Xl+GlFs5EICWrJR6zazWKxj?= =?us-ascii?Q?4uKxluAJ+weNm/sjTclSZ8lCFbOGxyQ40CsOV4FlDq/X3YNze1uhpvVXQddo?= =?us-ascii?Q?+EKFyFQcZjl3sNH0HZXQkHO1gKHpCMb/UkRastqNIp0r6hU8SysvOlJ/VkY9?= =?us-ascii?Q?cnYux5Ma2mhAt7IrShS3yaKtchGf3Kr4J3oZV1AmczAd9z+hICMxV1IRA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2372; 6:EVlXIwu3+AQU2iQWLI70COSUbxcmZ0VHb0/tbYbaz9IeTB+7N0IzyCZwpF17Gw31S/qLr/Rgua/IxJtUSIsQeOTXqI4OEILgSgMQ5nwaWfkaHZCneG3StLLvmnvlgX/1mcYSaWoStHhhha+FElhzCziz3+Ks/5Vo41BfjTA4QreVWgevc22U5HnWdlGLaBOptNEUqok0Nc2vssdvQ5SBzFxh1xr7Z3oc9nF0jQwqeJ/lqCthenoLx5HGUoYLwyGDFcEIY3ttAY56bbxD0/9im7EvEauyXmMK9vfaTDl4D8i1A238arcFlcB86qVjD/Jq; 5:1/yF4aawW3OpUnLH8rWMQEyzA08/CRW2VSxL0CYEwVdpiUQBwgU7Neh/9MIPce3ntOYoHZVGT2HSHH+JvSn/OX6rSykqIeP92wY7YTmmoGO4Nf5kHcvSHq0LJujyYyyXAXhKHMwSpc03hTKP+oWARthyHE+fkpGKt5R7vQ9eTdcxIxEwUkFyYHf0bPovEPHj; 24:7Z6m7lyzVlUNv+hP3PZ0PV3/sN5qGMjJYAZssAbBxe1ySe555Jtt+z2gyjkkLWTUxzzXzrnyRyS/rxXs8urCG877AH8HsAKdvbnQvHsqBAA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2372; 7:kDIXFLA/kcep8hwaw+TL3d+oaE3WeYDpCpl3aprsDBq6RdxFWmXzl64mtfs4Bi8pvHnD+ikN3UdYvHQkbSgoSJWVcwkcEZH1t9a0RCzubuse4CdsA1wmb6rOwBBqIiiyU78NEwc9uGEW9Qq4sDA9UvJHkd9FR302KMcVSvCrF3XzY/wXCfFw0+ybNcpQnHeGkWjlAk0uOgtVD5n/jFobNh8ffKvs35xPrEuLx9DLr6K9nqleQqdHWFec+v30M5LGzHvh6s1Rym68mkGnGX1BX7B9RI7dPJKCM02lvTMboPAyFbc1LSk+dPwg7QGT3QnvB80SWwugFZ3XoW8T52ZFWXKngk4yeTAtgWy5A44koMY= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2016 12:37:16.2327 (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: BN3PR03MB2372 Cc: dev@dpdk.org, Shreyansh Jain Subject: [dpdk-dev] [PATCH] 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:37:19 -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. [1] http://dpdk.org/ml/archives/dev/2016-September/047087.html Signed-off-by: Shreyansh Jain --- doc/guides/rel_notes/deprecation.rst | 12 ------------ doc/guides/rel_notes/release_16_11.rst | 16 ++++++++++++++++ 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, 20 insertions(+), 16 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..c3f3bd9 100644 --- a/doc/guides/rel_notes/release_16_11.rst +++ b/doc/guides/rel_notes/release_16_11.rst @@ -149,6 +149,22 @@ 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 cryptodevices 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 ~~~~~~~ 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