net/i40e/base: fix unaligned data issue
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 9 Jan 2018 20:30:20 +0000 (15:30 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit82c2ddbf1d1bf13109380e66699531ada0410f72
tree7f30bfc8fdbd40004d1cf4f86d28b7548f08404d
parentb692c7e0049b4834f57fe17d448eb095b9804512
net/i40e/base: fix unaligned data issue

This fix prevents errors or warnings while accessing unaligned 32-bit
data words on non-x86 platforms during getting link info from firmware.

Fixes: e8228f1a16b7 ("net/i40e/base: report supported link modes")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/base/i40e_common.c