ixgbe: make vector stores unaligned
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 27 Aug 2014 15:51:17 +0000 (16:51 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 28 Aug 2014 14:48:34 +0000 (16:48 +0200)
commitf403924724fd72216d2480cb5ff3bd3cb4a6fff1
tree5564d4da8f39a4b09c09693fcaf51120a38d895f
parent7822c43aba8ce07208a94124a46579fe43c0b103
ixgbe: make vector stores unaligned

When writing to the mbuf array for receiving packets, do not assume
16-byte alignment by using aligned stores. If the pointers are only
8-byte aligned, the program will crash due to incorrect alignment.
Changing "store" to "storeu" fixes this.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c