From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] virtio: Fix 32bit pmd for 64bit kernel Date: Wed, 16 Jul 2014 00:23:48 +0200 Message-ID: <1576178.uFnSdUscpi@xps13> References: 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: 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" Hi, 2014-07-14 14:17, 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 Thanks for providing this patch. You were discussing this issue and it helps to have a patch to apply. Unfortunately, the patch seems corrupted. Please use: 1) git format-patch 2) checkpatch.pl from kernel.org 3) git send-email Thanks -- Thomas