net/i40e/base: read LLDP config area with correct endianness
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 25 Sep 2018 02:34:30 +0000 (10:34 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:47 +0000 (18:53 +0200)
commitb72611a2743c4198e3b031cf120e0bd432256c83
tree6ffd478610f80e33a7e0b7d9d3ab8eb69c983902
parent54f4a22dc1731ef32760eb3a13f7d5a2e889650b
net/i40e/base: read LLDP config area with correct endianness

The NVM is in little endian so when we read from it we need to do
the correct thing for the endianness of the machine.

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_dcb.c