From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f182.google.com (mail-ot0-f182.google.com [74.125.82.182]) by dpdk.org (Postfix) with ESMTP id BA616DE3 for ; Mon, 16 Jan 2017 13:52:43 +0100 (CET) Received: by mail-ot0-f182.google.com with SMTP id 104so43990887otd.3 for ; Mon, 16 Jan 2017 04:52:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=imvisiontech-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=3/FZlZWla1IsKIZUnAETzgx1bW9591v7k+jNVmBugxo=; b=FC3gndQQzhvYA57AxHopMXbISLZZV1jL1M8SHpF9HBvVMko/A6llNKjofRYoUTAj/g MHcZPwCrnvI8NM/lVinDgTIlxiH7MNfs81p/tPkqJSNV1cWsoRERcKGEw2z3N7Xc2CLU f7IzkCjhVCV77JP/Y+sSQuKLkdhRSvR0e3TzKTnqu4DNYPuzODS+C2+YhkV03w5vFM7f u7rAqLP99HsOf+ADTPRtV9nqJnSYH9+lZZp2u0mWNi3S2ZMK2lUTZalQyibc2yz9JMrU apbYmd6/bWoJ3Euhd0l9bf7d/vnhzAK8k3ynJFJkCSvscs+ahnltTmwx6PJMhrNYPVVH LoGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3/FZlZWla1IsKIZUnAETzgx1bW9591v7k+jNVmBugxo=; b=tAfA81f4M0gnVIyaKAxMMmBg6wy8mhse6RH3aaDJpVsLqzKS1gAND8phmGGYCZPPNR NQVQKLjZS1D49SQ9hWR6zG6ui5JvNdd8m7fIyVLDk+XJCVrpPrEG1fQIFo4LLGFZWL53 ePDWBLlsUI7uPXjfdTUAj7Kb9tzKefqEYJ2UZ/ESqnuJVQLCU+Z9cNafl3fCmfljXt9j 4hkcdkWoEdzyfxp6CnPKUvy6GJCi6dA2UJA6D+1XonrlQYC04eUeDPw9EVq+p+hmbEuU t7XR3/Su51TOKv29lwMxACU8EUxi3L4aYZMt/5AFQfoCS+D5q70w3Py7oCA5hXWfhFvs EZmw== X-Gm-Message-State: AIkVDXJnpb+bcREPRjj4QgdV/QkD1NyE6u2yJcQ5D0WWP0TBC8iMi5hCvsOiVpYmD+AnN4nIxmN8INwn337edg== X-Received: by 10.157.11.13 with SMTP id a13mr17642256ota.82.1484571162968; Mon, 16 Jan 2017 04:52:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.50.70 with HTTP; Mon, 16 Jan 2017 04:52:42 -0800 (PST) From: Shirley Avishour Date: Mon, 16 Jan 2017 14:52:42 +0200 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] drops while transmitting to the kni using rte_kni_tx_burst() X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 12:52:44 -0000 Hi, I have an application over dpdk which is consisted of the following threads each running on a separate core: 1) rx thread which listens on in a poll mode for traffic (listening on an ixgbe interface). 2) 2 packet processing threads (for load balancing) each listening on a ring for traffic from rx thread. 3) kni thread (which also runs on a separate core) - used to record the received traffic using tcpdump on the kernel interface. the rx thread receives packets, clones them (using indirect buffer) and transmit a copy to the kni and the other copy is sent to the packet processing unit (hashing over 2 packet processing threads). the receive traffic rate is 100Mbps. When working with single packet processing thread I am able to get all the 100Mbps towards the kni with no drops. but when I activate my application with 2 packet processing threads I start facing drops towards the kni. the way I see it the only difference now is that I have another threads which handles an mbuf and frees it once processing is completed. Can anyone assist with this case please? Thanks!