[dpdk-dev] [PATCH] virtio: Fix 32bit pmd for 64bit kernel

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Jul 16 00:23:48 CEST 2014


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


More information about the dev mailing list