From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id A8339559A for ; Mon, 2 Jul 2018 07:45:06 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jul 2018 22:45:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,298,1526367600"; d="scan'208";a="53379090" Received: from dpdk51.sh.intel.com ([10.67.110.190]) by orsmga007.jf.intel.com with ESMTP; 01 Jul 2018 22:44:51 -0700 From: Qi Zhang To: thomas@monjalon.net, anatoly.burakov@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 Date: Mon, 2 Jul 2018 13:44:50 +0800 Message-Id: <20180702054450.29269-20-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180702054450.29269-1-qi.z.zhang@intel.com> References: <20180607123849.14439-1-qi.z.zhang@intel.com> <20180702054450.29269-1-qi.z.zhang@intel.com> Subject: [dpdk-dev] [PATCH v8 19/19] doc: update release notes for multi process hotplug X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2018 05:45:07 -0000 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..93a813340 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 etherdev multi-process hotplug.** + + 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 etherdev locking.** + + 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