[dpdk-dev] [PATCH v3 1/2] eal: mmap uio resources using resourceX files
David Marchand
david.marchand at 6wind.com
Tue Feb 24 13:39:46 CET 2015
On Tue, Feb 24, 2015 at 1:20 PM, Bruce Richardson <
bruce.richardson at intel.com> wrote:
> Instead of distinguishing the BAR mappings via offset within a single
> file, originally /dev/uioX, switch to mapping each individual bar via
> the appropriately numbered resourceX file.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> lib/librte_eal/common/include/rte_pci.h | 2 +-
> lib/librte_eal/linuxapp/eal/eal_pci_init.h | 1 +
> lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 34
> ++++++++++++++++--------------
> lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 1 +
> 4 files changed, 21 insertions(+), 17 deletions(-)
>
As long as igb_uio / uio_pci_generic both work, this is fine for me.
ack.
--
David Marchand
More information about the dev
mailing list