net/i40e/base: fix byte order
authorJingjing Wu <jingjing.wu@intel.com>
Sat, 10 Dec 2016 11:24:51 +0000 (19:24 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:39:27 +0000 (19:39 +0100)
commit61407696fc63ae645a928df9f9ce4c9d17bc12c0
tree6c915608705fd8f22e4ae8b59a4d0fbc4ec60ed3
parent5a26067443621bf77e582be69b433540f7e657a8
net/i40e/base: fix byte order

Big Endian platform will accidentally send the wrong
data to the firmware command. This patch fixes the issue.

Fixes: 788fc17b2dec ("i40e/base: support proxy config for X722")
Fixes: 3c89193a36fd ("i40e/base: support WOL config for X722")

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/base/i40e_common.c