Commit 0dd80395 authored by Ben Walker's avatar Ben Walker
Browse files

env: Move pci.c from util to env



This allows users to swap their PCI library from
libpciaccess/dpdk to another mechanism using the standard
method for swapping out the env library.

Change-Id: Ib2248f8b43754a540de2ec01897e571f0302b667
Signed-off-by: default avatarBen Walker <benjamin.walker@intel.com>
parent b9fbdd18
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@
#include "nvmf/transport.h"
#include "spdk/log.h"
#include "spdk/rpc.h"
#include "spdk/pci.h"
#include "spdk/env.h"
#include "spdk/nvme.h"

static void
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@
#include <rte_mempool.h>

#include "spdk/ioat.h"
#include "spdk/pci.h"
#include "spdk/env.h"
#include "spdk/string.h"

struct user_config {
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@
#include <rte_mempool.h>

#include "spdk/ioat.h"
#include "spdk/pci.h"
#include "spdk/env.h"
#include "spdk/string.h"

#define SRC_BUFFER_SIZE (512*1024)
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@
#include <rte_lcore.h>

#include "spdk/nvme.h"
#include "spdk/pci.h"
#include "spdk/env.h"
#include "spdk/string.h"
#include "spdk/nvme_intel.h"

+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@
#include "rte_eal.h"

#include "spdk/nvme.h"
#include "spdk/pci.h"
#include "spdk/env.h"
#include "spdk/string.h"

#include "config-host.h"
Loading