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

2014-07-16 Thread Thomas Monjalon
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. > Chang

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

2014-07-14 Thread 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 ty