summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vnet/vnet/devices/dpdk/dpdk.h3
-rw-r--r--vnet/vnet/devices/dpdk/init.c6
-rw-r--r--vnet/vnet/devices/dpdk/vhost_user.c3
3 files changed, 0 insertions, 12 deletions
diff --git a/vnet/vnet/devices/dpdk/dpdk.h b/vnet/vnet/devices/dpdk/dpdk.h
index 830bf102aa3..fba32317b8c 100644
--- a/vnet/vnet/devices/dpdk/dpdk.h
+++ b/vnet/vnet/devices/dpdk/dpdk.h
@@ -203,9 +203,6 @@ typedef struct {
/* vector of traced contexts, per device */
u32 * d_trace_buffers;
- /* per-worker destination frame queue */
- dpdk_frame_t * frames;
-
/* number of sub-interfaces */
u16 vlan_subifs;
diff --git a/vnet/vnet/devices/dpdk/init.c b/vnet/vnet/devices/dpdk/init.c
index 816b20b37e6..1f4629dafc6 100644
--- a/vnet/vnet/devices/dpdk/init.c
+++ b/vnet/vnet/devices/dpdk/init.c
@@ -649,9 +649,6 @@ dpdk_lib_init (dpdk_main_t * dm)
vec_reset_length (xd->rx_vectors[j]);
}
- vec_validate_aligned (xd->frames, tm->n_vlib_mains,
- CLIB_CACHE_LINE_BYTES);
-
rv = dpdk_port_setup(dm, xd);
if (rv < 0)
@@ -763,9 +760,6 @@ dpdk_lib_init (dpdk_main_t * dm)
vec_reset_length (xd->rx_vectors[j]);
}
- vec_validate_aligned (xd->frames, tm->n_vlib_mains,
- CLIB_CACHE_LINE_BYTES);
-
/* FIXME Set up one TX-queue per worker thread */
{
diff --git a/vnet/vnet/devices/dpdk/vhost_user.c b/vnet/vnet/devices/dpdk/vhost_user.c
index 0df9f0bd1a1..f1c50019625 100644
--- a/vnet/vnet/devices/dpdk/vhost_user.c
+++ b/vnet/vnet/devices/dpdk/vhost_user.c
@@ -322,9 +322,6 @@ dpdk_create_vhost_user_if_internal (u32 * hw_if_index, u32 if_id, u8 *hwaddr)
vec_reset_length (xd->rx_vectors[j]);
}
- vec_validate_aligned (xd->frames, tm->n_vlib_mains,
- CLIB_CACHE_LINE_BYTES);
-
}
/*
* Generate random MAC address for the interface