From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailgate.neusoft.com (mailgate.neusoft.com [210.83.25.69]) by dpdk.org (Postfix) with ESMTP id 45D2058DF for ; Thu, 9 Jan 2014 07:49:48 +0100 (CET) X-IronPort-AV: E=McAfee;i="5400,1158,7312"; a="130783859" Received: from unknown (HELO mailgate8.neusoft.com) ([192.168.1.132]) by mailgate.neusoft.com with ESMTP/TLS/DES-CBC3-SHA; 09 Jan 2014 14:51:00 +0800 Received: from unknown (HELO smtp.neusoft.com) ([192.168.2.143]) by mailgate8.neusoft.com with ESMTP/TLS/AES128-SHA; 09 Jan 2014 14:50:59 +0800 Received: from jinjian (192.168.179.242) by MPS-SYHUB03.neusoft.internal (192.168.2.143) with Microsoft SMTP Server (TLS) id 14.2.247.3; Thu, 9 Jan 2014 14:50:59 +0800 Message-ID: <79761A4660DC4442BC906E23CF5FF574@jinjian> From: =?UTF-8?B?6YeR5YGl?= To: Stephen Hemminger , chen_lp References: <52CE22B7.8040904@neusoft.com> Date: Thu, 9 Jan 2014 14:50:53 +0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Originating-IP: [192.168.179.242] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Does the rte_eth_tx_burst() function is multi-threaded safe when sending pkt in same port and same queue ? 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: Thu, 09 Jan 2014 06:49:50 -0000 QnV0IHdoZW4gSSByZWFkIHRoZSBjb2RlIG9mICBsMmZ3ZCAodjEuNS4xIGV4YW1wbGVzKSwgSSBm b3VuZCB0aGF0IHR3byBjb3JlcyBzaGFyZSBvbmx5IG9uZSBxdW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