summaryrefslogtreecommitdiff
path: root/examples/l3fwd
diff options
context:
space:
mode:
authorKonstantin Ananyev <konstantin.ananyev@intel.com>2015-01-20 18:40:59 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-01-28 17:11:25 +0100
commitda826b7135a411c05ae574565a65bca26b48f8ac (patch)
treeab009f735af08e17d86d4d29ee32bf919b7dc3bf /examples/l3fwd
parent3858b90d824443e6a77a380f22d0ad13422e93a3 (diff)
downloaddpdk-da826b7135a411c05ae574565a65bca26b48f8ac.zip
dpdk-da826b7135a411c05ae574565a65bca26b48f8ac.tar.gz
dpdk-da826b7135a411c05ae574565a65bca26b48f8ac.tar.xz
eal: introduce ymm type for AVX 256-bit
New data type to manipulate 256 bit AVX values. Rename field in the rte_xmm to keep common naming across SSE/AVX fields. Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com>
Diffstat (limited to 'examples/l3fwd')
-rw-r--r--examples/l3fwd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c
index 918f2cb..6f7d7d4 100644
--- a/examples/l3fwd/main.c
+++ b/examples/l3fwd/main.c
@@ -1170,7 +1170,7 @@ processx4_step2(const struct lcore_conf *qconf, __m128i dip, uint32_t flag,
if (likely(flag != 0)) {
rte_lpm_lookupx4(qconf->ipv4_lookup_struct, dip, dprt, portid);
} else {
- dst.m = dip;
+ dst.x = dip;
dprt[0] = get_dst_port(qconf, pkt[0], dst.u32[0], portid);
dprt[1] = get_dst_port(qconf, pkt[1], dst.u32[1], portid);
dprt[2] = get_dst_port(qconf, pkt[2], dst.u32[2], portid);