From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] virtio: Fix 32bit pmd for 64bit kernel Date: Tue, 22 Jul 2014 15:09:37 +0200 Message-ID: <4172758.gvZaIxJFoP@xps13> References: <1405680828-88424-1-git-send-email-mmvijay@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Vijayakumar Muthuvel Manickam Return-path: In-Reply-To: <1405680828-88424-1-git-send-email-mmvijay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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