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 DB2FA378E for ; Mon, 26 Oct 2015 08:07:47 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 26 Oct 2015 00:07:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,200,1444719600"; d="scan'208";a="671695165" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 26 Oct 2015 00:07:46 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 26 Oct 2015 00:07:46 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 26 Oct 2015 00:07:46 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.204]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.47]) with mapi id 14.03.0248.002; Mon, 26 Oct 2015 15:07:10 +0800 From: "Tan, Jianfeng" To: "Liu, Jijiang" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/8] driver/virtio:add virtual addr for virtio net header Thread-Index: AQHRC7uXTr/ayBKUJU2lIdvHc5aT5Z59YemQ Date: Mon, 26 Oct 2015 07:07:09 +0000 Message-ID: References: <1445402801-27806-1-git-send-email-jijiang.liu@intel.com> <1445402801-27806-2-git-send-email-jijiang.liu@intel.com> In-Reply-To: <1445402801-27806-2-git-send-email-jijiang.liu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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: Mon, 26 Oct 2015 07:07:48 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jijiang Liu > Sent: Wednesday, October 21, 2015 12:47 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 1/8] driver/virtio:add virtual addr for virtio= net > header >=20 > The virtual addr for virtio net header need to be recorded. >=20 > Signed-off-by: Jijiang Liu > --- > drivers/net/virtio/virtqueue.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) >=20 > diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueu= e.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 > +*/ >=20 > /* Statistics */ > uint64_t packets; > -- > 1.7.7.6 Acked-by: Jianfeng Tan Thanks, Jianfeng