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:
52c3373
)
net/bnxt: fix mismatched type comparison in Rx
author
Ajit Khaparde
<ajit.khaparde@broadcom.com>
Fri, 30 Apr 2021 20:14:12 +0000
(13:14 -0700)
committer
Ajit Khaparde
<ajit.khaparde@broadcom.com>
Sun, 2 May 2021 22:17:17 +0000
(
00:17
+0200)
Fix comparison between uint16_t and uint32_t types.
Fixes:
6dc83230b43b
("net/bnxt: support port representor data path")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnxt/bnxt_rxr.c
b/drivers/net/bnxt/bnxt_rxr.c
index
7179c6c
..
2ef4115
100644
(file)
--- a/
drivers/net/bnxt/bnxt_rxr.c
+++ b/
drivers/net/bnxt/bnxt_rxr.c
@@
-1042,7
+1042,7
@@
uint16_t bnxt_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,
/* Attempt to alloc Rx buf in case of a previous allocation failure. */
if (alloc_failed) {
-
uint16_
t cnt;
+
in
t cnt;
rx_raw_prod = RING_NEXT(rx_raw_prod);
for (cnt = 0; cnt < nb_rx_pkts + nb_rep_rx_pkts; cnt++) {