summaryrefslogtreecommitdiff
path: root/examples/qos_meter
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/qos_meter
parent6c74ddeddf92d9937b13e6cf94ab828cb1cee476 (diff)
downloaddpdk-next-eventdev-867a6c66ecf3d88e76367254e79bb9e7b936a830.zip
dpdk-next-eventdev-867a6c66ecf3d88e76367254e79bb9e7b936a830.tar.gz
dpdk-next-eventdev-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/qos_meter')
-rw-r--r--examples/qos_meter/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qos_meter/main.c b/examples/qos_meter/main.c
index dc651f6..f0f9bca 100644
--- a/examples/qos_meter/main.c
+++ b/examples/qos_meter/main.c
@@ -71,8 +71,8 @@ static struct rte_eth_conf port_conf = {
},
};
-#define NIC_RX_QUEUE_DESC 128
-#define NIC_TX_QUEUE_DESC 512
+#define NIC_RX_QUEUE_DESC 1024
+#define NIC_TX_QUEUE_DESC 1024
#define NIC_RX_QUEUE 0
#define NIC_TX_QUEUE 0