numam-dpdk/drivers
Xiao Wang 8709f63782 net/ixgbe/base: fix possible corruption of shadow RAM
Currently, not all shadow RAM accesses are being done under the
protection of a semaphore, which could result in corruption.

Refactor the code so that it is possible to hold the semaphore
around ixgbe_host_interface_command by introducing an unlocked form.
This patch also eliminates the function ixgbe_read_ee_hostif_data_X550
in favor of the function ixgbe_read_ee_hostif_X550.
The new arrangement is able to get both the management interface semaphore
and the EEPROM semaphore at the same time instead of separately.

Fixes: af75078fec ("first public release")

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
2016-09-30 12:27:18 +02:00
..
crypto pci: inherit common driver in PCI driver 2016-10-03 16:33:55 +02:00
net net/ixgbe/base: fix possible corruption of shadow RAM 2016-09-30 12:27:18 +02:00
Makefile mk: fix build dependency of drivers on pmdinfogen 2016-07-08 12:04:02 +02:00