From e356cbfaa8cc83e355da16aaa5a82f1f138e1572 Mon Sep 17 00:00:00 2001 From: Brian Brooks Date: Wed, 27 Jun 2018 15:50:57 -0500 Subject: pp2: use configured RX queue size Change-Id: I5e5b2dd4f4bc3e257824015c723228ac5128d6a0 Signed-off-by: Brian Brooks --- src/plugins/marvell/pp2/pp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit 1.2.3-korg