From mboxrd@z Thu Jan 1 00:00:00 1970 From: Qi Zhang Subject: [PATCH v7 19/19] doc: update release notes for multi process hotplug Date: Thu, 28 Jun 2018 20:57:08 +0800 Message-ID: <20180628125708.39610-20-qi.z.zhang@intel.com> References: <20180607123849.14439-1-qi.z.zhang@intel.com> <20180628125708.39610-1-qi.z.zhang@intel.com> Cc: konstantin.ananyev@intel.com, dev@dpdk.org, bruce.richardson@intel.com, ferruh.yigit@intel.com, benjamin.h.shelton@intel.com, narender.vangati@intel.com, Qi Zhang To: thomas@monjalon.net, anatoly.burakov@intel.com Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 10D211B14B for ; Thu, 28 Jun 2018 14:57:08 +0200 (CEST) In-Reply-To: <20180628125708.39610-1-qi.z.zhang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Update release notes for the new multi process hotplug feature. Signed-off-by: Qi Zhang --- doc/guides/rel_notes/release_18_08.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/guides/rel_notes/release_18_08.rst b/doc/guides/rel_notes/release_18_08.rst index bc0124295..650f7aadb 100644 --- a/doc/guides/rel_notes/release_18_08.rst +++ b/doc/guides/rel_notes/release_18_08.rst @@ -46,6 +46,21 @@ New Features Flow API support has been added to CXGBE Poll Mode Driver to offload flows to Chelsio T5/T6 NICs. +* **Support ethernet device hotplug for primary-secondary model.** + + Hotplug and hot-unplug for ethdev devices will now be supported in + multiprocessing scenario. Any ethdev devices created in the primary + process will be regarded as shared and will be available for all DPDK + processes, while secondary processes will have a choice between adding + a private (non-shared) or a shared device. Synchronization between + processes will be done using DPDK IPC. + +* **Support ethernet device lock.** + + Application can now lock an ethernet device to prevent unexpected device + removal. Devices can either be locked unconditionally, or an application + can register for a callback before unplug for the purposes of performing + cleanup before releasing the device (or have a chance to deny unplug) API Changes ----------- @@ -60,6 +75,11 @@ API Changes Also, make sure to start the actual text at the margin. ========================================================= +* ethdev: scope of rte_eth_dev_attach and rte_eth_dev_detach is extended. + + In primary-secondary process model, ``rte_eth_dev_attach`` will guarantee + that device be attached on all processes, while ``rte_eth_dev_detach`` + will guarantee device be detached on all processes. ABI Changes ----------- -- 2.13.6