Update release notes for the new multi process hotplug feature. Signed-off-by: Qi Zhang <qi.z.zh...@intel.com> --- doc/guides/rel_notes/release_18_08.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
diff --git a/doc/guides/rel_notes/release_18_08.rst b/doc/guides/rel_notes/release_18_08.rst index bc0124295..fc4736814 100644 --- a/doc/guides/rel_notes/release_18_08.rst +++ b/doc/guides/rel_notes/release_18_08.rst @@ -46,6 +46,20 @@ 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.** + + In primary-secondary process model, ethernet devices are regarded as shared + by default, attach or detach a device on any process will broadcast to + other processes through mp channel then device information will be + synchronzied on all processes. While secondary process can still attach + or detach a private device (vdev only) with specific API. + +* **Support ethernet device lock.** + + An ethernet device can be directly or conditionally locked. A directly + locked device can't be detached, while when try to detach a conditionally + locked device a pre-registered callback will be invoked to perform condition + check and decide if it can be detached or not. API Changes ----------- @@ -60,6 +74,13 @@ 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, if any process failed to attach, it will + rollback to orignal status. ``rte_eth_dev_detach`` also guarantee device be + detached on all processes, if device is locked by any process, it will roll + back to original status. ABI Changes ----------- -- 2.13.6