From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 9AAD891C2 for ; Wed, 21 Oct 2015 06:46:52 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 20 Oct 2015 21:46:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,709,1437462000"; d="scan'208";a="798750328" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 20 Oct 2015 21:46:50 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t9L4kmIw027486; Wed, 21 Oct 2015 12:46:48 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t9L4kjrK027849; Wed, 21 Oct 2015 12:46:47 +0800 Received: (from jijiangl@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t9L4kjh6027845; Wed, 21 Oct 2015 12:46:45 +0800 From: Jijiang Liu To: dev@dpdk.org Date: Wed, 21 Oct 2015 12:46:34 +0800 Message-Id: <1445402801-27806-2-git-send-email-jijiang.liu@intel.com> X-Mailer: git-send-email 1.7.12.2 In-Reply-To: <1445402801-27806-1-git-send-email-jijiang.liu@intel.com> References: <1445402801-27806-1-git-send-email-jijiang.liu@intel.com> Subject: [dpdk-dev] [PATCH 1/8] driver/virtio:add virtual addr for virtio net header X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 04:46:53 -0000 The virtual addr for virtio net header need to be recorded. Signed-off-by: Jijiang Liu --- drivers/net/virtio/virtqueue.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h index 7789411..530f840 100644 --- a/drivers/net/virtio/virtqueue.h +++ b/drivers/net/virtio/virtqueue.h @@ -189,6 +189,7 @@ struct virtqueue { uint16_t vq_used_cons_idx; uint16_t vq_avail_idx; phys_addr_t virtio_net_hdr_mem; /**< hdr for each xmit packet */ + uint64_t virtio_net_hdr_addr; /**< virtual addr for virtio net header */ /* Statistics */ uint64_t packets; -- 1.7.7.6