net/ixgbe/base: fix firmware command checksum error
authorBeilei Xing <beilei.xing@intel.com>
Thu, 23 Jun 2016 07:22:13 +0000 (15:22 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 27 Jun 2016 14:17:52 +0000 (16:17 +0200)
commit928d240123bb92235df31c6d279d0f3225d0010d
tree79a99d3df01c5dd908dab5f5ee28151184a78a34
parentce8beb5a756ce03d7ec99070f51fa0aa0d113d3e
net/ixgbe/base: fix firmware command checksum error

When software sends commands to firmware using the host
slave command interface, firmware fails to receive the
command due to a checksum failed error, as the checksum is
not being correctly set by the driver software.

This patch sets command checksum to the default value of
0xFF, as per the datasheet, therefore the checksum won't
be checked by firmware.

Fixes: 86b8fb293fdf ("ixgbe/base: add sw-firmware sync for resource sharing on X550em_a")
Fixes: 0790adeb5675 ("ixgbe/base: support X550em_a device")

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c