Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 17.11-rc3
[deb_dpdk.git]
/
drivers
/
net
/
sfc
/
sfc_tso.c
diff --git
a/drivers/net/sfc/sfc_tso.c
b/drivers/net/sfc/sfc_tso.c
index
fb79d74
..
2e7b595
100644
(file)
--- a/
drivers/net/sfc/sfc_tso.c
+++ b/
drivers/net/sfc/sfc_tso.c
@@
-141,7
+141,7
@@
sfc_efx_tso_do(struct sfc_efx_txq *txq, unsigned int idx,
if (unlikely(tcph_off > encp->enc_tx_tso_tcp_header_offset_limit))
return EMSGSIZE;
if (unlikely(tcph_off > encp->enc_tx_tso_tcp_header_offset_limit))
return EMSGSIZE;
- header_paddr = rte_pktmbuf_
mtophys
(m);
+ header_paddr = rte_pktmbuf_
iova
(m);
/*
* Sometimes headers may be split across multiple mbufs. In such cases
/*
* Sometimes headers may be split across multiple mbufs. In such cases
@@
-155,7
+155,7
@@
sfc_efx_tso_do(struct sfc_efx_txq *txq, unsigned int idx,
header_len);
tsoh = txq->sw_ring[idx & txq->ptr_mask].tsoh;
header_len);
tsoh = txq->sw_ring[idx & txq->ptr_mask].tsoh;
- header_paddr = rte_malloc_virt2
phy
((void *)tsoh);
+ header_paddr = rte_malloc_virt2
iova
((void *)tsoh);
} else {
if (m->data_len == header_len) {
*in_off = 0;
} else {
if (m->data_len == header_len) {
*in_off = 0;