From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by dpdk.org (Postfix) with ESMTP id 6758B2BCD for ; Fri, 11 Mar 2016 21:30:00 +0100 (CET) Received: by mail-io0-f175.google.com with SMTP id n190so159969990iof.0 for ; Fri, 11 Mar 2016 12:30:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infiniteio-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=8T8BpaxOPg1cPGItHqM1shrYKZ2f2so6sj36+QB44SM=; b=YhQk3FSnOkLlTjQ0hTpxpPKdhVkspcHnwJD/MvwJzfouQYoITA5nf7ml/p05iUSWRT Gsk9TtPZCdiTBZc0IMx55jGv7uWa6xjxa5xjCH8c9fR52tDfxrA8ktb/2GU6KbAa86IX R3E7Qx+V/e9o87a/gPsv/tn71LND2NgZRSU3myAUvfyc9Msi9NGcpinU+uPzupFiHaxS ks+RLOg5zv82CulDrVWvVUpHMU147MedTSahNcj+5M2cCFmYX66cvTDbFy5zw290u4nH o0pXaqf0ZQFqX/FCbfZZiFL+o4VEA+CQOlGLfMIzXNyB8euTUAWkBh6b6rNO2vo6Qryg AOBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=8T8BpaxOPg1cPGItHqM1shrYKZ2f2so6sj36+QB44SM=; b=ktYKSAa4RfJ2/vC2MHiBTy6zW2FzOb4QkZwbnPui5nUqpGFu42Nn+zC7070yM+unUz cPh9H2QNUnKoPRBo55H41d/BRKyDs/UnF0iHl1/lupGZbLAjBjNyrS20PcVzSoX+Tsj3 Et/OlXg3nrgk0J9QTvGf4Ozi0AxW2owBopuAthKVPa5kzEZFwBc32dLJWFdqS/Vf7myG i4g+L1rZeB4NPhed4nDTUH3sIbB6NQfs9y/VJfkFE9vPeEYSjMbKO5NYRQ7Xa89na+gT RzWbblYNgvTKJls9MQClT/x3c6eZe67ZvWdLF/iBoCtbgKImVrFllbSnfZDizNSswqp3 aOew== X-Gm-Message-State: AD7BkJIyW6U6oSD1rese6pVseLhoqA4QQT7UZCC0kZA6N4ykzOOdd94nuuE4qSGKbenqtLW2VpyZkfeYvQTYHA== MIME-Version: 1.0 X-Received: by 10.107.34.70 with SMTP id i67mr11956539ioi.39.1457728199864; Fri, 11 Mar 2016 12:29:59 -0800 (PST) Received: by 10.107.32.145 with HTTP; Fri, 11 Mar 2016 12:29:59 -0800 (PST) In-Reply-To: References: Date: Fri, 11 Mar 2016 14:29:59 -0600 Message-ID: From: Matt Laswell To: Mahdi Moradmand Badie Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: users Subject: Re: [dpdk-users] Send and Receive packets to/from specific core 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: Fri, 11 Mar 2016 20:30:00 -0000 The easiest way to do what you're wanting to do is to use a message ring. Take a look at the documentation for rte_ring here to see how it works: http://dpdk.org/doc/api/rte__ring_8h.html On Fri, Mar 11, 2016 at 2:22 PM, Mahdi Moradmand Badie < mahdi.mbadie@gmail.com> wrote: > Dear All, > > I wanna Send(write) a Packet(s) with specific data (for example x = 10) > from core 0 to share memory and Receive (Read) it with another Core (for > example Core 1), change it in Core 1 (for example X = X + 1) and write > again in share memory. > I really don't know How I could do it, I wanna do this without using NIC ot > rte_eth at all, so simple and easy but I confused. > Please help me. > > PS. I know there are many example do more complex than this small exercise > but all did it via NIC. > > -- > M@hdi Mor@dm@nd B@die >