summaryrefslogtreecommitdiff
path: root/examples/vm_power_manager
diff options
context:
space:
mode:
authorKevin Laatz <kevin.laatz@intel.com>2018-01-12 10:48:44 +0000
committerThomas Monjalon <thomas@monjalon.net>2018-02-01 00:10:42 +0100
commit867a6c66ecf3d88e76367254e79bb9e7b936a830 (patch)
tree6dfff0dc52b5b91554b8565f8557838abd9066be /examples/vm_power_manager
parent6c74ddeddf92d9937b13e6cf94ab828cb1cee476 (diff)
downloaddpdk-867a6c66ecf3d88e76367254e79bb9e7b936a830.zip
dpdk-867a6c66ecf3d88e76367254e79bb9e7b936a830.tar.gz
dpdk-867a6c66ecf3d88e76367254e79bb9e7b936a830.tar.xz
examples: increase default ring sizes to 1024
Increase the default RX/TX ring sizes to 1024/1024 to accommodate for NICs with higher throughput (25G, 40G etc) Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Diffstat (limited to 'examples/vm_power_manager')
-rw-r--r--examples/vm_power_manager/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/vm_power_manager/main.c b/examples/vm_power_manager/main.c
index a50984d..ad22b17 100644
--- a/examples/vm_power_manager/main.c
+++ b/examples/vm_power_manager/main.c
@@ -33,8 +33,8 @@
#include <rte_pmd_i40e.h>
#include <rte_pmd_bnxt.h>
-#define RX_RING_SIZE 512
-#define TX_RING_SIZE 512
+#define RX_RING_SIZE 1024
+#define TX_RING_SIZE 1024
#define NUM_MBUFS 8191
#define MBUF_CACHE_SIZE 250