[dpdk-dev] [PATCH] eal_pci_vfio.c: fix the type for handling BAR size and offset info

Alejandro Lucero alejandro.lucero at netronome.com
Wed Jun 24 10:15:00 CEST 2015


Kernel mmap syscall and VFIO kernel driver expect unsigned long for offset.
The BAR index to work with inside VFIO kernel driver will be the wrong one
except for BAR 0.

The patch solves the issue.


More information about the dev mailing list