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
cryptodev: add asymmetric session user data API
[dpdk.git]
/
examples
/
l3fwd
/
l3fwd_em_hlm_sse.h
diff --git
a/examples/l3fwd/l3fwd_em_hlm_sse.h
b/examples/l3fwd/l3fwd_em_hlm_sse.h
index
41e2be9
..
7964a92
100644
(file)
--- a/
examples/l3fwd/l3fwd_em_hlm_sse.h
+++ b/
examples/l3fwd/l3fwd_em_hlm_sse.h
@@
-13,8
+13,8
@@
get_ipv4_5tuple(struct rte_mbuf *m0, __m128i mask0,
{
__m128i tmpdata0 = _mm_loadu_si128(
rte_pktmbuf_mtod_offset(m0, __m128i *,
{
__m128i tmpdata0 = _mm_loadu_si128(
rte_pktmbuf_mtod_offset(m0, __m128i *,
- sizeof(struct ether_hdr) +
- offsetof(struct ipv4_hdr, time_to_live)));
+ sizeof(struct
rte_
ether_hdr) +
+ offsetof(struct
rte_
ipv4_hdr, time_to_live)));
key->xmm = _mm_and_si128(tmpdata0, mask0);
}
key->xmm = _mm_and_si128(tmpdata0, mask0);
}
@@
-25,19
+25,19
@@
get_ipv6_5tuple(struct rte_mbuf *m0, __m128i mask0,
{
__m128i tmpdata0 = _mm_loadu_si128(
rte_pktmbuf_mtod_offset(m0, __m128i *,
{
__m128i tmpdata0 = _mm_loadu_si128(
rte_pktmbuf_mtod_offset(m0, __m128i *,
- sizeof(struct ether_hdr) +
- offsetof(struct ipv6_hdr, payload_len)));
+ sizeof(struct
rte_
ether_hdr) +
+ offsetof(struct
rte_
ipv6_hdr, payload_len)));
__m128i tmpdata1 = _mm_loadu_si128(
rte_pktmbuf_mtod_offset(m0, __m128i *,
__m128i tmpdata1 = _mm_loadu_si128(
rte_pktmbuf_mtod_offset(m0, __m128i *,
- sizeof(struct ether_hdr) +
- offsetof(struct ipv6_hdr, payload_len) +
+ sizeof(struct
rte_
ether_hdr) +
+ offsetof(struct
rte_
ipv6_hdr, payload_len) +
sizeof(__m128i)));
__m128i tmpdata2 = _mm_loadu_si128(
rte_pktmbuf_mtod_offset(m0, __m128i *,
sizeof(__m128i)));
__m128i tmpdata2 = _mm_loadu_si128(
rte_pktmbuf_mtod_offset(m0, __m128i *,
- sizeof(struct ether_hdr) +
- offsetof(struct ipv6_hdr, payload_len) +
+ sizeof(struct
rte_
ether_hdr) +
+ offsetof(struct
rte_
ipv6_hdr, payload_len) +
sizeof(__m128i) + sizeof(__m128i)));
key->xmm[0] = _mm_and_si128(tmpdata0, mask0);
sizeof(__m128i) + sizeof(__m128i)));
key->xmm[0] = _mm_and_si128(tmpdata0, mask0);