summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/marvell/pp2/pp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/marvell/pp2/pp2.c b/src/plugins/marvell/pp2/pp2.c
index 2699e346fa2..47c853df2bf 100644
--- a/src/plugins/marvell/pp2/pp2.c
+++ b/src/plugins/marvell/pp2/pp2.c
@@ -255,7 +255,7 @@ mrvl_pp2_create_if (mrvl_pp2_create_if_args_t * args)
s = format (s, "ppio-%d:%d%c", pp2_id, port_id, 0);
ppio_params.match = (char *) s;
ppio_params.type = PP2_PPIO_T_NIC;
- inq_params.size = 2048;
+ inq_params.size = args->rx_q_sz;
ppio_params.inqs_params.num_tcs = 1;
ppio_params.inqs_params.tcs_params[0].pkt_offset = 0;
ppio_params.inqs_params.tcs_params[0].num_in_qs = n_inqs;