summaryrefslogtreecommitdiffstats
path: root/src/plugins/marvell/pp2/pp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/marvell/pp2/pp2.c')
-rw-r--r--src/plugins/marvell/pp2/pp2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/marvell/pp2/pp2.c b/src/plugins/marvell/pp2/pp2.c
index 47c853df2bf..ded2b49a3b9 100644
--- a/src/plugins/marvell/pp2/pp2.c
+++ b/src/plugins/marvell/pp2/pp2.c
@@ -200,8 +200,8 @@ mrvl_pp2_create_if (mrvl_pp2_create_if_args_t * args)
n_outqs = tm->n_vlib_mains;
/* defaults */
- args->tx_q_sz = args->tx_q_sz ? args->tx_q_sz : 2048;
- args->rx_q_sz = args->rx_q_sz ? args->rx_q_sz : 2048;
+ args->tx_q_sz = args->tx_q_sz ? args->tx_q_sz : 2 * VLIB_FRAME_SIZE;
+ args->rx_q_sz = args->rx_q_sz ? args->rx_q_sz : 2 * VLIB_FRAME_SIZE;
if (vec_len (ppm->per_thread_data) == 0)
{