From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic313-17.consmr.mail.bf2.yahoo.com (sonic313.consmr.mail.bf2.yahoo.com [74.6.133.253]) by dpdk.org (Postfix) with ESMTP id B549114EC for ; Fri, 12 May 2017 02:52:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1494550334; bh=nn5B4HK/DKAHEDJTfW3ryHVOWGC8D/A2ahZjhyOlt9M=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=Y6Hyici2P8C0dtw7+nifmYqy5o99bYnirq4Knf+pAwz3nQM2YIkZB4p28V1p8uhH9Zpdf/KyXMc2xKSdqnCKTnbGbpJMIlemj+D0cSZkvTYtVQbwvwxKjn9QqVcdn9Kcvs412kQ/BzaUlToa1JQrwKVj1cdk6yh6nBtQWzsNvoBA0g8J05cooOLkD9DROj6Lj2WJ72tOuuuJLplCuXfWzLhBo3SWjo41KcxVsbRZWH+z8sCLFhG2yWm42zGQ3HihWBciShqy2dyamoJEHkSNmZxaxLB1t4iv6YHmMNOHeJIORW0ZsROnRLCW69fLP+jq+5jTqA+rPDJ7eJQTQ29c6w== X-YMail-OSG: Y6o2GFQVM1nzKxGlYa3XHau.wHw5vzbgtG1QQXwAOUZYOy1B_cyP8ZJiPUkg6se BKaUvqhkVPJ2DHPrnMPHEEEFZr8ZeVZCyrSiHVFvB1bsxHribyzr10BHVCFcgAQIEujf8uAAmi75 hQzO2gn0eCgxbiE_EWWB2dOp89giF3Gpz_XLSsg.d.gSTgx_CCj_Y.ICmHjO4GwlTyRFi4hGEABP MKdHQGEfuB4jPLCOENxxoU9MCzw3w7Kzo7B4pOY7bCv2P2mkJm_CcxhvXkyioKSB9GRIP9TqAT6p 3MhL_vxyohPu2uomyM3L6pmyLHGm0yHIvqzCwbeYLWFH76V42XMRThBQeRjSZdD5LQ1Lc3c0Er1Y 54wjwyfm1lS_r8GXVdN.5yCi2MnlTMiL4jkrObws7ZEyEW2JrpW5o22NUb6p_IP1deKTZuqTvvNH nKcDidAI7XZIArjGX_RG7Qecmk3fHBpH0ufU.KeWcDgB8mV1EIN7hirhV73RGwmdNsD_6tTOZ6KV xLnQbKp.FrD.ZQlTlawxGNQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.bf2.yahoo.com with HTTP; Fri, 12 May 2017 00:52:14 +0000 Date: Fri, 12 May 2017 00:52:14 +0000 (UTC) From: Dharmesh Mehta To: "Wiles, Keith" Cc: "users@dpdk.org" Message-ID: <1506532609.7690059.1494550334223@mail.yahoo.com> In-Reply-To: References: <1341883971.7036816.1494482150825@mail.yahoo.com> MIME-Version: 1.0 X-Mailer: WebService/1.1.9539 YahooMailNeo Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Tx/Rx using single ethernet port. X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Dharmesh Mehta List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2017 00:52:16 -0000 Hello Keith, Thank you so much, As per your suggestion- now i can run multiple instance = of same application. Issue was, I was not doing black list of unused ports. Once again, thanks for your help. Regards,D. From: "Wiles, Keith" To: Dharmesh Mehta =20 Cc: "users@dpdk.org" Sent: Thursday, May 11, 2017 7:39 AM Subject: Re: [dpdk-users] Tx/Rx using single ethernet port. =20 > On May 11, 2017, at 12:55 AM, Dharmesh Mehta wr= ote: >=20 > Hello, > I am new to DPDK world, and looking for any working example=C2=A0 to do t= x/rx on single ethernet port. Also please include what arguments are requir= ed in order to run. > Is it possible to run multiple instance of same application? I wrote one = app, which sens data (verified on wireshark),=C2=A0 but when i try to run s= econd instance of same app, my first instance of same app=C2=A0 stop sendin= g data. I am passing different name using --file-prefix to the both instanc= es app. Any help is really appreciated. > ThxD. Running two instance or more you have to split up the resources like lcores= , ports, memory and the file-prefix. Make sure you have enough memory setup= to run two instances. If your app needs 32 huge pages then make sure you h= ave 64 huge pages allocated. Set the =E2=80=94file-prefix different for eac= h instance. Make sure you use the -m or =E2=80=94socket-mem optio= ns to limit the amount of memory each instance consumes. Make sure you blac= klist/whitelist the ports correctly to give a port(s) to each instance. The= n make sure you use different cores for each instance. In Pktgen I have two scripts I use to run two instances. Here are the scrip= ts called pktgen-master.sh and pktgen-slave.sh pktgen-master.sh =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 dpdk_opts=3D"-l 8-16 -n 4 --proc-type auto --log-level 7 --socket-mem 512,5= 12 --file-prefix pg1" pktgen_opts=3D"-T -P" port_map=3D"-m [9:10].0 -m [11:12].1 -m [13:14].2 -m [15:16].3" bl_common=3D"-b 05:00.0 -b 05:00.1 -b 82:00.0 -b 83:00.0" black_list=3D"${bl_common} -b 81:00.0 -b 81:00.1 -b 81:00.2 -b 81:00.3" load_file=3D"-f themes/black-yellow.theme" echo ${cmd} ${dpdk_opts} ${black_list} -- ${pktgen_opts} ${port_map} ${load= _file} sudo ${cmd} ${dpdk_opts} ${black_list} -- ${pktgen_opts} ${port_map} ${load= _file} pktgen-slave.sh =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 dpdk_opts=3D"-l 18-26 -n 4 --proc-type auto --log-level 7 --socket-mem 512,= 512 --file-prefix pg2" pktgen_opts=3D"-T -P" port_map=3D"-m [19:20].0 -m [21:22].1 -m [23:24].2 -m [25:26].3" bl_common=3D"-b 05:00.0 -b 05:00.1 -b 82:00.0 -b 83:00.0" black_list=3D"${bl_common} -b 04:00.0 -b 04:00.1 -b 04:00.2 -b 04:00.3" load_file=3D"-f themes/black-yellow.theme" echo ${cmd} ${dpdk_opts} ${black_list} -- ${pktgen_opts} ${port_map} ${load= _file} sudo ${cmd} ${dpdk_opts} ${black_list} -- ${pktgen_opts} ${port_map} ${load= _file} Regards, Keith =20 >From andrey.chilikin@intel.com Fri May 12 14:52:26 2017 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 777D6282 for ; Fri, 12 May 2017 14:52:25 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 May 2017 05:52:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,329,1491289200"; d="scan'208";a="86770091" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga004.jf.intel.com with ESMTP; 12 May 2017 05:52:23 -0700 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.202]) by irsmsx110.ger.corp.intel.com ([169.254.15.151]) with mapi id 14.03.0319.002; Fri, 12 May 2017 13:52:22 +0100 From: "Chilikin, Andrey" To: suryanathan p , "users@dpdk.org" Thread-Topic: [dpdk-users] RSS for non IP protocols Thread-Index: AQHSxRFK8K83mt1fwEKIHm9grJulD6HwsJeg Date: Fri, 12 May 2017 12:52:22 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmU5MDRhYTEtMDFkOC00YjcwLWJmZjYtNDAwZDVjYzA4ODkyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IktIY2xqWnhnblNpYmRrTys3Q0xobk92TUNCcWJsRm1GUmxRekVMM1c0Zzg9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-users] RSS for non IP protocols 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: Fri, 12 May 2017 12:52:26 -0000 SGksDQoNCkZvciBYNzEwIGRlZmF1bHQgaW5wdXQgc2V0IGZvciBFVEhfUlNTX0wyX1BBWUxPQUQg Zmxvd3MgaW5jbHVkZXMgb25seSBFdGhlcnR5cGUgaXRzZWxmLiBIYXZlIGEgbG9vayBhdCAiIDcu MS4yIFBhY2tldCB0eXBlcyBhbmQgaW5wdXQgc2V0IiBvZiB0aGUgbGF0ZXN0IFg3MTAgZGF0YXNo ZWV0Lg0KWW91IGNhbiBjaGFuZ2UgaXQgYnkgY29uZmlndXJpbmcgbmV3IGlucHV0IHNldCB0byBp bmNsdWRlIDggd29yZHMgKFJURV9FVEhfSU5QVVRfU0VUX0ZMRVhfUEFZTE9BRF8xU1RfV09SRCB0 byBSVEVfRVRIX0lOUFVUX1NFVF9GTEVYX1BBWUxPQURfOFRIX1dPUkQpIG9mIEwyIHBheWxvYWQg dXNpbmcgInN0cnVjdCBydGVfZXRoX2hhc2hfZmlsdGVyX2luZm8gaW5mbyIgYW5kIHRoZW4gY2Fs bGluZyBydGVfZXRoX2Rldl9maWx0ZXJfY3RybChwb3J0aWQsIFJURV9FVEhfRklMVEVSX0hBU0gs IFJURV9FVEhfRklMVEVSX1NFVCwgJmluZm8pOw0KDQovQW5kcmV5DQoNCi0tLS0tT3JpZ2luYWwg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