summaryrefslogtreecommitdiffstats
path: root/src/plugins/marvell/pp2
diff options
context:
space:
mode:
authorBrian Brooks <brian.brooks@arm.com>2018-06-27 15:50:57 -0500
committerDamjan Marion <dmarion@me.com>2018-07-10 10:08:35 +0000
commite356cbfaa8cc83e355da16aaa5a82f1f138e1572 (patch)
tree80e9fead690b67975d78a1540bc2bd8541b9157c /src/plugins/marvell/pp2
parent947ea6222dad1ef04595c34273e9231395aef443 (diff)
pp2: use configured RX queue size
Change-Id: I5e5b2dd4f4bc3e257824015c723228ac5128d6a0 Signed-off-by: Brian Brooks <brian.brooks@arm.com>
Diffstat (limited to 'src/plugins/marvell/pp2')
-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;