From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilya Maximets Subject: [PATCH RFC 4/4] doc: add note about rte_vhost_enqueue_burst thread safety. Date: Fri, 19 Feb 2016 09:32:43 +0300 Message-ID: <1455863563-15751-5-git-send-email-i.maximets@samsung.com> References: <1455863563-15751-1-git-send-email-i.maximets@samsung.com> Cc: Ilya Maximets , Dyasly Sergey To: dev@dpdk.org, Huawei Xie , Yuanhan Liu Return-path: Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id 664A5C4D2 for ; Fri, 19 Feb 2016 07:33:00 +0100 (CET) Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O2S00E3N7IZKO70@mailout2.w1.samsung.com> for dev@dpdk.org; Fri, 19 Feb 2016 06:32:59 +0000 (GMT) In-reply-to: <1455863563-15751-1-git-send-email-i.maximets@samsung.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Ilya Maximets --- doc/guides/prog_guide/thread_safety_dpdk_functions.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guides/prog_guide/thread_safety_dpdk_functions.rst b/doc/guides/prog_guide/thread_safety_dpdk_functions.rst index 403e5fc..13a6c89 100644 --- a/doc/guides/prog_guide/thread_safety_dpdk_functions.rst +++ b/doc/guides/prog_guide/thread_safety_dpdk_functions.rst @@ -67,6 +67,7 @@ then locking, or some other form of mutual exclusion, is necessary. The ring library is based on a lockless ring-buffer algorithm that maintains its original design for thread safety. Moreover, it provides high performance for either multi- or single-consumer/producer enqueue/dequeue operations. The mempool library is based on the DPDK lockless ring library and therefore is also multi-thread safe. +rte_vhost_enqueue_burst() is also thread safe because based on lockless ring-buffer algorithm like the ring library. Performance Insensitive API --------------------------- -- 2.5.0