From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f179.google.com (mail-yk0-f179.google.com [209.85.160.179]) by dpdk.org (Postfix) with ESMTP id A22182C59; Tue, 8 Mar 2016 06:35:24 +0100 (CET) Received: by mail-yk0-f179.google.com with SMTP id 1so2007553ykg.3; Mon, 07 Mar 2016 21:35:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sey4P8p1wS7j38uyk3ZhjOS0dlWkg8zd6eBCTH9K0yg=; b=e3p2TGOJw791fJJhev+JsdHL65LGG91YpwPC61lb6W79yuQ1ccpKk7bpmLSuM4ODFq tQjxnpt4ZdYw2/keb1yqfilrW3oj9wUFuivOSe7TXnol6Q5xF4HAa53UK0zrYnx5fiOh xUKJEZcxoqSDgNykay4kyRZiEwEV8FtFSHfZ4rd/U3fs7l0smfAnLXSIidbj3000xBB1 Xmh0K5M/WCKMi8dXi2sqUtgGBN6tqJKlsj9YgRhlm7dNN3gXn23LRt/IczUEZXJ4hTHJ M8x+tO8fJJadpxSfApmt/UKBYT+nqouGddkciNcPXypVSkwJ0s0Wmcpb7hJUtRjz7drd 7JBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sey4P8p1wS7j38uyk3ZhjOS0dlWkg8zd6eBCTH9K0yg=; b=TCQP8UzKgNiN12vHGZIVWrPgM3pJZAFQVvOVK55TtkPXq0vDF0/gCKOBXcw4HP2rbS ZUnHcmx6CEBEcQw5DUiv+N47bWjLmA9gtuIpsymjGKttQ8PfG4GYs6mo+nSGtw/fO8ng 4vpDwlwW2AdICInuTdhzTLOx+am+0iN64yrp9Z2fbhg+KVE6vIGELsU61g+CHWRb7WFE Oe3NgD/Bdl9FKuvJnTZZAfjzFy0f85tmsh8wbqL/KOpw7JOUxm04k+QxdmmoQjUUg3jG J5Q4NNOwG+ZSpUdinXGmNjH9rkhWE38GiTbbnVovll8++SU/n1pXGl9i7ba9Wqd3wmOa 1N1Q== X-Gm-Message-State: AD7BkJIenRaWN5yBCraDIWI7wFgqm/94KzuYEmDdnYnOjIN2BFKLa8pf2y0TD6fYoJKpddldfHm2XgwGS0LDrw== X-Received: by 10.37.16.68 with SMTP id 65mr14792233ybq.114.1457415324173; Mon, 07 Mar 2016 21:35:24 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Hamed Zaghaghi Date: Tue, 08 Mar 2016 05:35:14 +0000 Message-ID: To: Mahdi Moradmand Badie Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org, users@dpdk.org Subject: Re: [dpdk-users] how to Read(Write) from(to) via lcores in dpdk regardless of NIC X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 05:35:25 -0000 Hi, If I understood well you need to do these tasks: 1. Packet crafting (I think that DPDK has no functions for this task) 2. Store packets (DPDK has (rte_mbuf)[ http://dpdk.org/doc/api/rte__mbuf_8h.html]) 3. Share between lcores (DPDK offers rte_ring) On Tue, Mar 8, 2016 at 8:45 AM Mahdi Moradmand Badie wrote: > Dear Hamed, > > First of all thank you so much for your kindly reply, > > It's the primary part of the big project, in order to be more familiar > with DPDK, > I have to implement the mentioned framework by use of DPDK, > And finally we wanna implement the cache locking approach (via help of > features like Cache Allocation Technology(CAT), Cache Monitoring Technology > (CMT)) in Xeon processor (my supervisor told me this simple exercise > will be helpful to do the final part) in such a way we could dedicate a > specific part of shared memory (L3) to each core which the other don't > access to it. > Obviously using of DPDK with Xeon which both are from "Intel", is > considered as strength point. > > I hope this was more clear :) > > On 7 March 2016 at 23:56, Hamed Zaghaghi wrote: > >> Hi Mahdi, >> >> Why do you want to use DPDK when you don't use NIC? You can do what you >> want outside of DPDK. >> >> Regards, >> Hamed Zaghaghi >> >> On Tue, Mar 8, 2016 at 12:16 AM Mahdi Moradmand Badie < >> mahdi.mbadie@gmail.com> wrote: >> >>> Dear All, >>> I am Mahdi and I am new in DPDK, >>> I wanna generate for example 3 different packets in core0 as master write >>> it to share memory (L3), then core1 as slave read this packets, change >>> them >>> with for example function1 and write again in share memory (L3) and >>> finally >>> check the result with whatever I expect. >>> The most important thing is that I don't wanna use NIC and I don't know >>> for >>> working with cores how I can write/read to/from them, I mean with which >>> template and sequence??? >>> Thanks in advance, >>> >> > > > -- > M@hdi Mor@dm@nd B@die >