vhost: make dpdk_vid_mapping and g_need_iovecs static
They are not used outside of their respective files. Change-Id: I754834e7354caec877cd2fe193e56854e5a34e20 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
4cdd929b66
commit
c0a54a7606
@ -52,7 +52,7 @@ typedef TAILQ_HEAD(, spdk_vhost_task) need_iovecs_tailq_t;
|
|||||||
static struct rte_mempool *g_task_pool;
|
static struct rte_mempool *g_task_pool;
|
||||||
static struct rte_mempool *g_iov_buffer_pool;
|
static struct rte_mempool *g_iov_buffer_pool;
|
||||||
|
|
||||||
need_iovecs_tailq_t g_need_iovecs[RTE_MAX_LCORE];
|
static need_iovecs_tailq_t g_need_iovecs[RTE_MAX_LCORE];
|
||||||
|
|
||||||
void
|
void
|
||||||
spdk_vhost_task_put(struct spdk_vhost_task *task)
|
spdk_vhost_task_put(struct spdk_vhost_task *task)
|
||||||
|
@ -98,7 +98,8 @@ struct spdk_vhost_scsi_ctrlr {
|
|||||||
} __rte_cache_aligned;
|
} __rte_cache_aligned;
|
||||||
|
|
||||||
/* This maps from the integer index passed by DPDK to the our controller representation. */
|
/* This maps from the integer index passed by DPDK to the our controller representation. */
|
||||||
struct spdk_vhost_scsi_ctrlr *dpdk_vid_mapping[MAX_VHOST_DEVICE]; /* MAX_VHOST_DEVICE from DPDK. */
|
/* MAX_VHOST_DEVICE from DPDK. */
|
||||||
|
static struct spdk_vhost_scsi_ctrlr *dpdk_vid_mapping[MAX_VHOST_DEVICE];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get available requests from avail ring.
|
* Get available requests from avail ring.
|
||||||
|
Loading…
Reference in New Issue
Block a user