From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward5h.mail.yandex.net (forward5h.mail.yandex.net [84.201.186.23]) by dpdk.org (Postfix) with ESMTP id 9DC365A15 for ; Wed, 21 Jan 2015 15:00:53 +0100 (CET) Received: from web15h.yandex.ru (web15h.yandex.ru [84.201.186.44]) by forward5h.mail.yandex.net (Yandex) with ESMTP id B6B3BD01C7E for ; Wed, 21 Jan 2015 17:00:51 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web15h.yandex.ru (Yandex) with ESMTP id 4F7D75901067; Wed, 21 Jan 2015 17:00:51 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1421848851; bh=N8E0rQL7BHDeuJ/HqKXGpfRqUu/EzQZhxR+hQTl9DDI=; h=From:To:Subject:Date; b=MjVkr3zp+QciDlaknDADepk9JzfoYwFn7Gd8+S3mtLd4UYlcbDkJ8MswW4tlp9NUF 1DGccMjPTSLdzYg8Q+5DrUuZmBf2zIeKUw5kfx/9BS6wzD0ApHnVCPx9N7hVeC1/wQ 3KsOBeuoc74aGApFt7j4+e0gABhApO87egzVZeC0= Received: by web15h.yandex.ru with HTTP; Wed, 21 Jan 2015 17:00:50 +0300 From: deco33000 Jog To: dev@dpdk.org MIME-Version: 1.0 Message-Id: <2523541421848850@web15h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 21 Jan 2015 15:00:50 +0100 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: [dpdk-dev] DPDK - TX from lcore in packet distributor configuration 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: Wed, 21 Jan 2015 14:00:54 -0000 Hello, -- PROBLEM I have a AF_PACKET socket which is in promiscuous mode to get all the NIC traffic and let my apps do the whole stuff. So I have one receiver and need to communicate the packet to different threads/processes (lcore) so that they can process the rest of the packet (tcp/udp...) -- QUESTION I read about the packet distributor architecture which seems to answer that need. http://dpdk.org/doc/guides/prog_guide/packet_distrib_lib.html BUT i fear that it be slow at resending the packet to the distributor which may already be overloaded by inputs from the net. Why pass back the answer to the distributor if the lcore could send to the wire directly ? My problem is going back to the distributor after the packet processing. i would a direct send to the tx ring. Is it possible ? How ? By passing the TX pointer to the lcore ?