From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 9005BB36A for ; Tue, 22 Jul 2014 15:08:26 +0200 (CEST) Received: by mail-wg0-f44.google.com with SMTP id m15so7906211wgh.3 for ; Tue, 22 Jul 2014 06:09:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=Fqw7fDPbCGBatcr5Zl57UAznb4DuT6MXFfUF9FwrROc=; b=QMM+3PI+k4bWNgHFQNdYtv1fL3rKKdQ3it0/1jl8Jy64vvT3FJZnen15kkJ1Btm1NH Ojqm49O1pPjolDXyUAyyXZ/p+1IZnH/v1ILfcHclD2Xs52fWw3B+o+VrNlQn2iCYu9en Ir8xiZN8mrTRLdauu4w9TSJ4Yh5MFnic4wkbOjwKM970I1JtuzsYsMw9p4rvy2NKO0Z2 t4uDK7r+64V5Sv9ZPrhSJhHLp7nwm4UuVx0pdXa5ee0Xg/GvwPLBCJ1E/DruW83VU55s K97LXCpjPeIrXnPtHwNpKWJnKByym9lCTs4mCmd56bjCntw/0vZxRVjJbWqBIEpfaU33 K9Rg== X-Gm-Message-State: ALoCoQmeOJ11Ui7TmYCuf4/+6SE05aDzy9iDXneGpjx+gm8tkMcPoIkMdq4Nzb8Wyy17G/Ta0lux X-Received: by 10.194.243.10 with SMTP id wu10mr33898468wjc.44.1406034585525; Tue, 22 Jul 2014 06:09:45 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id lq15sm2642650wic.1.2014.07.22.06.09.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Jul 2014 06:09:44 -0700 (PDT) From: Thomas Monjalon To: Vijayakumar Muthuvel Manickam Date: Tue, 22 Jul 2014 15:09:37 +0200 Message-ID: <4172758.gvZaIxJFoP@xps13> Organization: 6WIND User-Agent: KMail/4.13.2 (Linux/3.15.5-2-ARCH; KDE/4.13.2; x86_64; ; ) In-Reply-To: <1405680828-88424-1-git-send-email-mmvijay@gmail.com> References: <1405680828-88424-1-git-send-email-mmvijay@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] virtio: Fix 32bit pmd for 64bit kernel 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: Tue, 22 Jul 2014 13:08:26 -0000 2014-07-18 03:53, Vijayakumar Muthuvel Manickam: > *virtio_net_hdr_mem* member within *virtqueue* structure stores a > physical address and is defined as void ptr. When 32bit pmd is used > with 64bit kernel this leads to truncation of 64bit physical address > and pkt i/o does not work. > Changed *virtio_net_hdr_mem* to *phys_addr_t* type and > removed the typecasts > > Signed-off-by: Vijayakumar Muthuvel Manickam Acked-by: Thomas Monjalon Applied for version 1.7.1. Thanks -- Thomas