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/mlx5: add C++ include guard to public header
[dpdk.git]
/
drivers
/
net
/
sfc
/
sfc_tso.h
diff --git
a/drivers/net/sfc/sfc_tso.h
b/drivers/net/sfc/sfc_tso.h
index
f081e85
..
9029ad1
100644
(file)
--- a/
drivers/net/sfc/sfc_tso.h
+++ b/
drivers/net/sfc/sfc_tso.h
@@
-59,7
+59,7
@@
sfc_tso_innermost_ip_fix_len(const struct rte_mbuf *m, uint8_t *tsoh,
size_t field_ofst;
rte_be16_t len;
- if (m->ol_flags &
PKT
_TX_IPV4) {
+ if (m->ol_flags &
RTE_MBUF_F
_TX_IPV4) {
field_ofst = offsetof(struct rte_ipv4_hdr, total_length);
len = rte_cpu_to_be_16(m->l3_len + ip_payload_len);
} else {