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:
aab0afb
)
net/atlantic: fix Tx prepare to set positive rte_errno
author
Andrew Rybchenko
<arybchenko@solarflare.com>
Wed, 5 Jun 2019 08:15:55 +0000
(09:15 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Thu, 13 Jun 2019 14:54:30 +0000
(23:54 +0900)
Fixes:
2b1472d7150c
("net/atlantic: implement Tx path")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/atlantic/atl_rxtx.c
patch
|
blob
|
history
diff --git
a/drivers/net/atlantic/atl_rxtx.c
b/drivers/net/atlantic/atl_rxtx.c
index
fe00770
..
449ffd4
100644
(file)
--- a/
drivers/net/atlantic/atl_rxtx.c
+++ b/
drivers/net/atlantic/atl_rxtx.c
@@
-824,13
+824,13
@@
atl_prep_pkts(__rte_unused void *tx_queue, struct rte_mbuf **tx_pkts,
#ifdef RTE_LIBRTE_ETHDEV_DEBUG
ret = rte_validate_tx_offload(m);
if (ret != 0) {
- rte_errno = ret;
+ rte_errno =
-
ret;
return i;
}
#endif
ret = rte_net_intel_cksum_prepare(m);
if (ret != 0) {
- rte_errno = ret;
+ rte_errno =
-
ret;
return i;
}
}