From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) by dpdk.org (Postfix) with ESMTP id C2FAC47CE for ; Wed, 24 May 2017 16:23:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1495635832; bh=lA5JZSQMOma94/OlgJetsedqbNa9kR8xvL4Z96DS1fM=; h=Date:From:Reply-To:To:Cc:Subject:References:From:Subject; b=DgdpzJlf02U5wvPD5h8i3NaFeNSClB3WYeDjwxBN+MAUAzVGqYOH+VFlJIlRg3xdObJ6vXZtsegKmRvVLpzjTWb1RX7J0eH9GI6yTnZOj/dPigPaFtm+Pp5N0ZvzoZK7zkaYTyvYRP9+zKF8crt0RX+v4gPhl7hoWBpAAtGClPcC0Qrb0Ty0ldcX/9eK0LkWA9MSBnuFgOY3ZlKCi3Q50UcMpI4kZrZNvNlmyf0DHHwUofugw0uESjknZHOdb/hNxfAIhhO4IgPsoopsFZo0NDkQSBm8xWBs2o05z0l10QPbvw2erGqVlmf9CHdxzYH6yY3vvNJujMw5VERSDhhlxQ== X-YMail-OSG: acWN3bAVM1kSP.DjF5OVGqq9CfzToz4qPBMNUjDIaZgph2MpfEsBS8kfadIl6Ah ZXPEIu0MNEZKvzaw3LUC7OlFWL7nSOouAuJL4.LKe0PIrbhkbmZweTxEnLhxsThGjW7hCDQU8Ldx 9bw1DIIx0AcvReoQMRj9GazplnG0Rqy9eYuRs_gFFZ0iR19I_ckDKVzG5dpzfACYAIS1J53B4zHi e_zbRVPSuW3VOKnm1TX4RqKlMs98owXqzJgmDs1E4bn578TUC3_uNiJzshNRb.FAwYuW.lJd37Uv LwpozACN4LKUrnjjUg243546TJppefe8NT4oEgEfJdLVQ8GlPE6Uv4k4HZsEFyhCu0CR9SdAOsVb CPIqveYyHOttu0dLY2ZoDFjkjlISxsANHdPcUWANh9Zn15.xNxIeCvpp9_mxqwhleJpYpIWAJoE_ jmo5aalwYYrueQWFW1USQ3R0RG_25Qma8lmWfHXZZ83Sz83L_ShmU0UraCdV_kMh0mqcv35ACBLl XBbMc.7qUGy9IOc7eNmTPQZStwlxyBm9FV2Ifrg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Wed, 24 May 2017 14:23:52 +0000 Date: Wed, 24 May 2017 14:23:51 +0000 (UTC) From: Manoj Mallawaarachchi To: , Manoj Mallawaarachchi Cc: Message-ID: <413431592.1560403.1495635831121@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <413431592.1560403.1495635831121.ref@mail.yahoo.com> X-Mailer: WebService/1.1.9679 YahooMailBasic Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 Subject: Re: [dpdk-users] Sending & Receiving Packets from Internet X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Manoj Mallawaarachchi List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2017 14:23:54 -0000 Dear Team, Your advice is highly appreciated to achieve two-way traffic forwarding. -------------------------------------------- On Tue, 5/23/17, Manoj Mallawaarachchi wrote: Subject: Sending & Receiving Packets from Internet To: users@dpdk.org Cc: manoj_ws@yahoo.com Date: Tuesday, May 23, 2017, 12:02 AM =20 Dear All, =20 I'm new to DPDK and try to implement below scenario in my physical box having DPDK supported 1GB two port NIC( 82575EB) =20 Connectivity scenario : PC laptop (via cross cable+static IP)----> [DPDK physical Box]- DPDK port 0 --> L2forwarder -->DPDK port 1 ---> Internet router/Gw. =20 Environment : =20 DPDK 16.11.1 + Ubuntu=20 =20 My Objective is below: =20 1) connect PC via DPDK forwarding application reside in DPDK physical box to Internet home router and monitor real time traffic while browsing.(The DPDK box act as bridge between Internet and client PC.) =20 2) Implement QoS for the same traffic (source IP based) =20 I try to achieve it, but no much success, as my forwarding PC able to ping one way after put ARP entry as mentioning gateway IP as DPDK port 0 MAC , but no reply. =20 A) Seeking your valuable advice how to configure/develop two way communication app based on L2/L3 forwarder or any other example.=20 =20 B)Is that required to bind user space TCP/IP stack with application to implement such scenario or it=C2=A0 can achieve via L2 or L3 forwarder? =20 C) Advice on how to setup the physical connectivity. =20 =20 Note: I refer below discussions to get more clarity but not fully resolved my objective: =20 http://dpdk.org/ml/archives/dev/2013-June/000237.html =20 http://www.dpdk.org/ml/archives/users/2017-January/001421.html =20 Seeking your valuable advice to way forward. =20 Thank you, Manoj M =20