net/ixgbe/base: clear sync register during init
authorQiming Yang <qiming.yang@intel.com>
Wed, 10 Jan 2018 16:04:36 +0000 (00:04 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit20410e43944045a5f5b37d318b73dc7d2e0b7150
tree180b741f24a85aae124fae1380fcd39404ac7c12
parente6102361b1d4d87138a248f5130722ed64f1bf4b
net/ixgbe/base: clear sync register during init

This patch clears software resource bits in synchronization
register and updates host interface resource bit error case for
X540. It also fixes compile warnings of using GCC 7.

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_82599.c
drivers/net/ixgbe/base/ixgbe_common.c
drivers/net/ixgbe/base/ixgbe_x540.c