diff options
author | Damjan Marion <damarion@cisco.com> | 2018-06-02 20:42:07 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-06-03 12:01:12 +0000 |
commit | 8855386411af888e47c60645daa1fe6081fa56e1 (patch) | |
tree | d8100b16a87f6618df8c3d4c172c8e029f9f8ce6 /src/vlib/main.h | |
parent | e8d7ff5f876c3950caf1bacf603d79b9ada8aef2 (diff) |
dpdk: improve buffer alloc perfomance
This is ~50% improvement in buffer alloc performance.
For a 256 buffer allocation, it was ~10 clocks/buffer, now is < 5 clocks.
Change-Id: I97590e240a79a42bcab5eb26587fc2d11e6eb163
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/main.h')
-rw-r--r-- | src/vlib/main.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vlib/main.h b/src/vlib/main.h index 57b1efb7513..16e4120067d 100644 --- a/src/vlib/main.h +++ b/src/vlib/main.h @@ -175,8 +175,6 @@ typedef struct vlib_main_t /* to compare with node runtime */ u32 thread_index; - void **mbuf_alloc_list; - /* List of init functions to call, setup by constructors */ _vlib_init_function_list_elt_t *init_function_registrations; _vlib_init_function_list_elt_t *worker_init_function_registrations; |