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:
7ee177a
)
bnx2x: fix Tx error check
author
Rasesh Mody
<rasesh.mody@qlogic.com>
Fri, 11 Dec 2015 18:31:53 +0000
(10:31 -0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Sun, 13 Dec 2015 00:45:31 +0000
(
01:45
+0100)
Correct the error check in PMD transmit routine.
Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
drivers/net/bnx2x/bnx2x_rxtx.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnx2x/bnx2x_rxtx.c
b/drivers/net/bnx2x/bnx2x_rxtx.c
index
89d93a1
..
09e3ebf
100644
(file)
--- a/
drivers/net/bnx2x/bnx2x_rxtx.c
+++ b/
drivers/net/bnx2x/bnx2x_rxtx.c
@@
-240,7
+240,7
@@
bnx2x_xmit_pkts(void *p_txq, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
bnx2x_txeof(sc, fp);
}
- if (unlikely(ret == ENOMEM)) {
+ if (unlikely(ret ==
-
ENOMEM)) {
break;
}