aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libtle_l4p/stream.h
diff options
context:
space:
mode:
authorKonstantin Ananyev <konstantin.ananyev@intel.com>2021-04-28 15:39:11 +0000
committerKonstantin Ananyev <konstantin.ananyev@intel.com>2021-04-28 15:42:05 +0000
commit10ae544444cfafc4367d9c1f39f332b6206772bf (patch)
tree5743c700d0e1713934379c566cfe88b4db001d45 /lib/libtle_l4p/stream.h
parent71ba97fe8ee93aa2bb17e774c1d73c6e58c03b2b (diff)
bump dpdk version to 20.05
Bump dpdk version to 20.05 and adjust tldk source. Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Change-Id: Id2ce864ad20b3b347f1ac05cd67c15384e454c52
Diffstat (limited to 'lib/libtle_l4p/stream.h')
-rw-r--r--lib/libtle_l4p/stream.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libtle_l4p/stream.h b/lib/libtle_l4p/stream.h
index 49a2809..ebefa6c 100644
--- a/lib/libtle_l4p/stream.h
+++ b/lib/libtle_l4p/stream.h
@@ -151,13 +151,13 @@ stream_get_dest(struct tle_stream *s, const void *dst_addr,
dst->ol_flags = dev->tx.ol_flags[s->type];
if (s->type == TLE_V4) {
- struct ipv4_hdr *l3h;
- l3h = (struct ipv4_hdr *)(dst->hdr + dst->l2_len);
+ struct rte_ipv4_hdr *l3h;
+ l3h = (struct rte_ipv4_hdr *)(dst->hdr + dst->l2_len);
l3h->src_addr = dev->prm.local_addr4.s_addr;
l3h->dst_addr = d4->s_addr;
} else {
- struct ipv6_hdr *l3h;
- l3h = (struct ipv6_hdr *)(dst->hdr + dst->l2_len);
+ struct rte_ipv6_hdr *l3h;
+ l3h = (struct rte_ipv6_hdr *)(dst->hdr + dst->l2_len);
rte_memcpy(l3h->src_addr, &dev->prm.local_addr6,
sizeof(l3h->src_addr));
rte_memcpy(l3h->dst_addr, d6, sizeof(l3h->dst_addr));