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

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Jul 22 15:09:37 CEST 2014


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 <mmvijay at gmail.com>

Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Applied for version 1.7.1.

Thanks
-- 
Thomas


More information about the dev mailing list