From 39464bd308c16cc6ffd4cb6b4d900fddcc222d01 Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Thu, 28 Sep 2017 16:43:24 -0500 Subject: [PATCH] net/bnxt: fix an issue with group id calculation start_grp_id is incremented wrongly. Fixing it. Fixes: daef48efe5e5 ("net/bnxt: support set MTU") Cc: stable@dpdk.org Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_rxq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_rxq.c b/drivers/net/bnxt/bnxt_rxq.c index 0793820b14..ef5e47d4ff 100644 --- a/drivers/net/bnxt/bnxt_rxq.c +++ b/drivers/net/bnxt/bnxt_rxq.c @@ -168,7 +168,7 @@ int bnxt_mq_rx_configure(struct bnxt *bp) */ STAILQ_INSERT_TAIL(&vnic->filter, filter, next); - start_grp_id = end_grp_id + 1; + start_grp_id = end_grp_id; end_grp_id += nb_q_per_grp; } goto out; -- 2.20.1