git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044bf6e
)
net/bnxt: fix an issue with group id calculation
author
Ajit Khaparde
<ajit.khaparde@broadcom.com>
Thu, 28 Sep 2017 21:43:24 +0000
(16:43 -0500)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000
(
02:49
+0200)
start_grp_id is incremented wrongly. Fixing it.
Fixes:
daef48efe5e5
("net/bnxt: support set MTU")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxq.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnxt/bnxt_rxq.c
b/drivers/net/bnxt/bnxt_rxq.c
index
0793820
..
ef5e47d
100644
(file)
--- 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;