diff options
author | Kevin Laatz <kevin.laatz@intel.com> | 2018-01-12 10:48:44 +0000 |
---|---|---|
committer | Thomas Monjalon <thomas@monjalon.net> | 2018-02-01 00:10:42 +0100 |
commit | 867a6c66ecf3d88e76367254e79bb9e7b936a830 (patch) | |
tree | 6dfff0dc52b5b91554b8565f8557838abd9066be /examples/ip_fragmentation | |
parent | 6c74ddeddf92d9937b13e6cf94ab828cb1cee476 (diff) | |
download | dpdk-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/ip_fragmentation')
-rw-r--r-- | examples/ip_fragmentation/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c index a068b9d..d3b1da6 100644 --- a/examples/ip_fragmentation/main.c +++ b/examples/ip_fragmentation/main.c @@ -77,8 +77,8 @@ /* * Configurable number of RX/TX ring descriptors */ -#define RTE_TEST_RX_DESC_DEFAULT 128 -#define RTE_TEST_TX_DESC_DEFAULT 512 +#define RTE_TEST_RX_DESC_DEFAULT 1024 +#define RTE_TEST_TX_DESC_DEFAULT 1024 static uint16_t nb_rxd = RTE_TEST_RX_DESC_DEFAULT; static uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; |