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

2014-07-22 Thread Thomas Monjalon
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

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

2014-07-18 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