From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by dpdk.org (Postfix) with ESMTP id 3B01D200 for ; Mon, 16 Jul 2018 19:06:09 +0200 (CEST) Received: by mail-lf0-f42.google.com with SMTP id g6-v6so22081331lfb.11 for ; Mon, 16 Jul 2018 10:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=WWSl4fDhb7TQzpZCyFl5CBBqiD3ppEwJTVnx+SEbhgM=; b=XtvDg0voqthATpBzgn99ksNSQSlscXdFNBj1EqCPEptN3ZqypwAqlj4bE8JL7SbyFP 5C1vFaiVJVt6c1C3cJrDeQSWtrMayWrvHONN78q5+XT7KHx5U3fTf+6p3TA8MG1OX5Pa 7RlkxmlxbLztv0KMQX5fOV2L8XOQXAz6psm2/8QMQtwt+NYmdWlYokc5wK1mPHB/1JO6 xr7of/hb/yPOHvozhc/YBpjwC8I8G6eoZNKQ1TURNy692yI3RWNUA4nsFTnHEag05J9M +NPK9eaq6RbeJvqsIA1KW2NFXnCcoizWcxSXUozP9KtTKk5kxvwL3Ll+o6DIL2a6+She EQrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WWSl4fDhb7TQzpZCyFl5CBBqiD3ppEwJTVnx+SEbhgM=; b=SpiVuoE+bw2SJIcAobEqbRde73DBLKVex3GlH9dWEmyURos7W5nq5UN9GVwlLxckF8 WtwEooknC4CPtCSo/BavMLbt9ytPPXrOCPdhCO7cfjLJ55SUWwLtwjG3nLCo43tWKNC1 Y7KY84/D0O1dqrlCUr4vyMY9RTpc64/4G/XgFltg9SZZoPK25J8qBddIITi6HwLHkRGi i+ixWCNxrtsGLTGFXmgIizCugWch6sgxvdclHkvK64KDYVhiJoEBi9I5DlUFurxkJlEH ALqy1cpnCBxdaj+fK8M5J/q7vzTuQ3MJ1LeGGwzM+qn6lcwIyRjRL9qDoFuhbWlIzjG0 o52Q== X-Gm-Message-State: AOUpUlGCEGN5nPANpFkdt7ggTm4nECJMfAf6YaTbSF1a42AJC7AxGLP9 EVVa3+TKNZlLtCaKV4QnhD1T17zFhEUKVHCNdCPIuw== X-Google-Smtp-Source: AAOMgpflTCuxV8vLELuMAVA2sCS3ufuXLJOrfPefXmHhlpGhGzrZMg2Zxi4W1CYNO8WAbJDcL55Ddr/RgmcQRIytzGI= X-Received: by 2002:a19:2c4f:: with SMTP id s76-v6mr12774296lfs.25.1531760768538; Mon, 16 Jul 2018 10:06:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:5f96:0:0:0:0:0 with HTTP; Mon, 16 Jul 2018 10:05:28 -0700 (PDT) In-Reply-To: <20180716125853.GA1488@bricha3-MOBL.ger.corp.intel.com> References: <20180716125853.GA1488@bricha3-MOBL.ger.corp.intel.com> From: Sungho Hong Date: Mon, 16 Jul 2018 10:05:28 -0700 Message-ID: To: Bruce Richardson Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Questions about locating the rte_mbuf payload X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 17:06:09 -0000 Thanks for the reply Bruce, I have solved the problem. Just like you have said all I had to know was the data size that I was sending and the packet size that the DPDK tries to send. I subtracted them to get the accurate position of the end of the packet header address and my data.