From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f46.google.com (mail-pg0-f46.google.com [74.125.83.46]) by dpdk.org (Postfix) with ESMTP id E23D1F618 for ; Wed, 11 Jan 2017 17:10:54 +0100 (CET) Received: by mail-pg0-f46.google.com with SMTP id 194so22010533pgd.2 for ; Wed, 11 Jan 2017 08:10:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/lW78g15Ay62OyhWHEPDJ+V/Es873KJ0bQuN4PUE8sg=; b=05esjSP1jEOWghqWj25IXgbngdpB0UXF3vVFrxmEBQ8lTMR3O8zbBz7JmwHVAR1Gj7 DQ4u28aW5T3a3APz8oH/JRwo25BP0RewAiBlWMuZuYqVu8jqmJmZiMHB2MV3Qq4uU+5e EOwMtiPZ7tC1NXYXArItqvRBW123CwWfeCgA5dUJKjRh4fWN7vgXkFjXDApvoUKqgwE2 uQrfRu9VXCcOHbq89eNZ8IvfcFin2c9safJhpPusVCRYApXGVR4ifB2Yv+T6nSM5/HFb e/qdJ519bz0IGjj3q07eCZGGof42mW+3V+0RLOvX7EeoPsjNYj2cokMdKbRFk/7tG9zO WAbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/lW78g15Ay62OyhWHEPDJ+V/Es873KJ0bQuN4PUE8sg=; b=YtDrl1gI+9qifKwp/QCPpgV0eWAGg1Vm2Uf7BJYt8wDo4yt9uzoYDptMX2cOO8zfLw wIYZS6vYA0fhlGTr7NalbLFv7ZX0xBnwRsWS4GXZvgi1RazhMEQkWIUjJMapS6WdOK1G 72s5vCrS+m9fDL0u8OANA+cHwHrsFpzkpiOOAAg1Qg50mtq6gu2WxQfdZk1Rwp+DecE8 NfnDbwtuaPztWfNO2Sc7Ep1bMK3GQRu8yCt7lDxgbeKSvjWqqVmNpd9gIOzIjpi09EIF IVkt/6Qa0cCoLe1U5ALfuO8ui7CTPTYxFCAAclh8O+u+jTJQWNKQojnPZep5sno+Uhal Y98g== X-Gm-Message-State: AIkVDXKgrORfHtHSgl9EBG78NrZ4Hj5x3k+2ND0N/JPrmn9kHJJr8Y9TQdjTzK9jZbxE/A== X-Received: by 10.98.159.141 with SMTP id v13mr11185393pfk.50.1484151054121; Wed, 11 Jan 2017 08:10:54 -0800 (PST) Received: from xeon-e3 (204-195-18-65.wavecable.com. [204.195.18.65]) by smtp.gmail.com with ESMTPSA id x4sm15028249pgc.14.2017.01.11.08.10.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Jan 2017 08:10:53 -0800 (PST) Date: Wed, 11 Jan 2017 08:10:44 -0800 From: Stephen Hemminger To: Sakthivel Subramaniam Cc: users@dpdk.org Message-ID: <20170111081044.2f3755f7@xeon-e3> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] Regarding Receiving packets from outer world (internet) 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: Wed, 11 Jan 2017 16:10:55 -0000 On Wed, 11 Jan 2017 09:25:24 +0530 Sakthivel Subramaniam wrote: > Hi, > I'm new to DPDK and want to use dpdk for my project. > I have basic question about receiving packets using dpdk bound interface > from internet. > > Please provide clarity for following questions. > 1. How can we receive packets from internet and process the same using DPDK? > 2. How to assign IP address for the DPDK ethernet interface ? > 3. Is it possible to receive specific protocol packets (ex:MQTT) without IP > address using DPDK? > 4. Is it necessary to add TCP/IP stack to dpdk? > > DPDK itself only provides raw access to network, which means there is no TCP/IP protocol stack. DPDK only deals with layer 2, not IP protocols directly. There have been several other projects using DPDK which provide network protocols such as the TLDK (part of FD.io). To understand what DPDK does read documentation and look at the examples.