git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/sfc: introduce descriptor space check in Tx prepare
[dpdk.git]
/
drivers
/
net
/
sfc
/
sfc_ef10_tx.c
diff --git
a/drivers/net/sfc/sfc_ef10_tx.c
b/drivers/net/sfc/sfc_ef10_tx.c
index
3d6ba42
..
e7ab993
100644
(file)
--- a/
drivers/net/sfc/sfc_ef10_tx.c
+++ b/
drivers/net/sfc/sfc_ef10_tx.c
@@
-349,7
+349,9
@@
sfc_ef10_prepare_pkts(void *tx_queue, struct rte_mbuf **tx_pkts,
}
#endif
ret = sfc_dp_tx_prepare_pkt(m,
- txq->tso_tcp_header_offset_limit);
+ txq->tso_tcp_header_offset_limit,
+ txq->max_fill_level,
+ SFC_EF10_TSO_OPT_DESCS_NUM, 0);
if (unlikely(ret != 0)) {
rte_errno = ret;
break;