From c9d31f30ba4fd7818b4ba2ffd7bbaea74761a2d9 Mon Sep 17 00:00:00 2001 From: Juha-Matti Tilli Date: Mon, 9 Apr 2018 19:59:46 +0300 Subject: linux-gen: netmap: ring configuration for VALE Configure ring for VALE. On my test laptop, this may increase odp_l2fwd performance from 1.9 MPPS to 2.3 MPPS, so it gives over 20% more performance. Signed-off-by: Juha-Matti Tilli Reviewed-and-tested-by: Matias Elo Signed-off-by: Maxim Uvarov --- config/odp-linux-generic.conf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config') diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf index 0034c64ba..f5f21b45f 100644 --- a/config/odp-linux-generic.conf +++ b/config/odp-linux-generic.conf @@ -31,6 +31,15 @@ pktio_dpdk: { } } +# netmap pktio options +pktio_netmap: { + # Interface specific options + virt: { + nr_rx_slots = 0 + nr_tx_slots = 0 + } +} + queue_basic: { # Maximum queue size. Value must be a power of two. max_queue_size = 8192 -- cgit v1.2.3