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: add rte prefix to TCP structure
[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
1374ace
..
2e34fc0
100644
(file)
--- a/
drivers/net/sfc/sfc_tso.c
+++ b/
drivers/net/sfc/sfc_tso.c
@@
-95,7
+95,7
@@
sfc_efx_tso_do(struct sfc_efx_txq *txq, unsigned int idx,
unsigned int *pkt_descs, size_t *pkt_len)
{
uint8_t *tsoh;
unsigned int *pkt_descs, size_t *pkt_len)
{
uint8_t *tsoh;
- const struct tcp_hdr *th;
+ const struct
rte_
tcp_hdr *th;
efsys_dma_addr_t header_paddr;
uint16_t packet_id = 0;
uint32_t sent_seq;
efsys_dma_addr_t header_paddr;
uint16_t packet_id = 0;
uint32_t sent_seq;
@@
-150,7
+150,7
@@
sfc_efx_tso_do(struct sfc_efx_txq *txq, unsigned int idx,
packet_id = sfc_tso_ip4_get_ipid(tsoh, nh_off);
/* Handle TCP header */
packet_id = sfc_tso_ip4_get_ipid(tsoh, nh_off);
/* Handle TCP header */
- th = (const struct tcp_hdr *)(tsoh + tcph_off);
+ th = (const struct
rte_
tcp_hdr *)(tsoh + tcph_off);
rte_memcpy(&sent_seq, &th->sent_seq, sizeof(uint32_t));
sent_seq = rte_be_to_cpu_32(sent_seq);
rte_memcpy(&sent_seq, &th->sent_seq, sizeof(uint32_t));
sent_seq = rte_be_to_cpu_32(sent_seq);